diff options
author | cyfraeviolae <cyfraeviolae> | 2024-04-03 03:17:55 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2024-04-03 03:17:55 -0400 |
commit | 12cf076118570eebbff08c6b3090e0d4798447a1 (patch) | |
tree | 3ba25e17e3c3a5e82316558ba3864b955919ff72 /venv/lib/python3.11/site-packages/faker/providers/barcode/ja_JP | |
parent | c45662ff3923b34614ddcc8feb9195541166dcc5 (diff) |
no venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/barcode/ja_JP')
2 files changed, 0 insertions, 49 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/barcode/ja_JP/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/barcode/ja_JP/__init__.py deleted file mode 100644 index b4d571f..0000000 --- a/venv/lib/python3.11/site-packages/faker/providers/barcode/ja_JP/__init__.py +++ /dev/null @@ -1,49 +0,0 @@ -from .. import Provider as BarcodeProvider - - -class Provider(BarcodeProvider): - """Implement barcode provider for ``ja_JP`` locale. - - Japanese local EAN barcodes are called JAN-codes. - - Sources: - - - https://gs1.org/standards/id-keys/company-prefix - - https://www.dsri.jp/jan/about_jan.html - - .. |JaJpProvider.localized_ean| replace:: - :meth:`JaJpProvider.localized_ean() <faker.providers.barcode.ja_JP.Provider.localized_ean>` - - .. |JaJpProvider.localized_ean8| replace:: - :meth:`JaJpProvider.localized_ean8() <faker.providers.barcode.ja_JP.Provider.localized_ean8>` - - .. |JaJpProvider.localized_ean13| replace:: - :meth:`JaJpProvider.localized_ean13() <faker.providers.barcode.ja_JP.Provider.localized_ean13>` - """ - - local_prefixes = (4, 5), (4, 9) - - def jan(self, length: int = 13) -> str: - """Generate a JAN barcode of the specified ``length``. - - This method is an alias for |JaJpProvider.localized_ean|. - - :sample: - :sample: length=8 - :sample: length=13 - """ - return self.localized_ean(length) - - def jan8(self) -> str: - """Generate a 8 digit JAN barcode. - - This method is an alias for |JaJpProvider.localized_ean8|. - """ - return self.localized_ean8() - - def jan13(self) -> str: - """Generate a 13 digit JAN barcode. - - This method is an alias for |JaJpProvider.localized_ean13|. - """ - return self.localized_ean13() diff --git a/venv/lib/python3.11/site-packages/faker/providers/barcode/ja_JP/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/barcode/ja_JP/__pycache__/__init__.cpython-311.pyc Binary files differdeleted file mode 100644 index 67dfcb5..0000000 --- a/venv/lib/python3.11/site-packages/faker/providers/barcode/ja_JP/__pycache__/__init__.cpython-311.pyc +++ /dev/null |