diff options
author | morpheus65535 <[email protected]> | 2024-03-03 12:15:23 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-03 12:15:23 -0500 |
commit | 03afeb347075381bcb7fd6036295c9fa4a90d2dc (patch) | |
tree | 7c5d72c973d2c8e4ade57391a1c9ad5e94903a46 /libs/babelfish-0.6.0.dist-info | |
parent | 9ae684240b5bdd40a870d8122f0e380f8d03a187 (diff) | |
download | bazarr-03afeb347075381bcb7fd6036295c9fa4a90d2dc.tar.gz bazarr-03afeb347075381bcb7fd6036295c9fa4a90d2dc.zip |
Updated multiple Python modules (now in libs and custom_libs directories) and React libraries
Diffstat (limited to 'libs/babelfish-0.6.0.dist-info')
-rw-r--r-- | libs/babelfish-0.6.0.dist-info/INSTALLER | 1 | ||||
-rw-r--r-- | libs/babelfish-0.6.0.dist-info/LICENSE | 25 | ||||
-rw-r--r-- | libs/babelfish-0.6.0.dist-info/METADATA | 105 | ||||
-rw-r--r-- | libs/babelfish-0.6.0.dist-info/RECORD | 24 | ||||
-rw-r--r-- | libs/babelfish-0.6.0.dist-info/REQUESTED | 0 | ||||
-rw-r--r-- | libs/babelfish-0.6.0.dist-info/WHEEL | 4 |
6 files changed, 159 insertions, 0 deletions
diff --git a/libs/babelfish-0.6.0.dist-info/INSTALLER b/libs/babelfish-0.6.0.dist-info/INSTALLER new file mode 100644 index 000000000..a1b589e38 --- /dev/null +++ b/libs/babelfish-0.6.0.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/libs/babelfish-0.6.0.dist-info/LICENSE b/libs/babelfish-0.6.0.dist-info/LICENSE new file mode 100644 index 000000000..dcb883269 --- /dev/null +++ b/libs/babelfish-0.6.0.dist-info/LICENSE @@ -0,0 +1,25 @@ +Copyright (c) 2015, by the respective authors (see AUTHORS file). +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the BabelFish authors nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/libs/babelfish-0.6.0.dist-info/METADATA b/libs/babelfish-0.6.0.dist-info/METADATA new file mode 100644 index 000000000..5ed0d4c5c --- /dev/null +++ b/libs/babelfish-0.6.0.dist-info/METADATA @@ -0,0 +1,105 @@ +Metadata-Version: 2.1 +Name: babelfish +Version: 0.6.0 +Summary: A module to work with countries and languages +Home-page: https://github.com/Diaoul/babelfish +License: BSD-3-Clause +Keywords: language,country,locale +Author: Antoine Bertin +Author-email: [email protected] +Requires-Python: >=3.6,<4.0 +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: BSD License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Topic :: Software Development :: Internationalization +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Project-URL: Repository, https://github.com/Diaoul/babelfish +Description-Content-Type: text/markdown + +# BabelFish +BabelFish is a Python library to work with countries and languages. + +[![tests](https://github.com/Diaoul/babelfish/actions/workflows/test.yml/badge.svg)](https://github.com/Diaoul/babelfish/actions/workflows/test.yml) + +## Usage +BabelFish provides scripts, countries and languages from their respective ISO +standards and a handy way to manipulate them with converters. + +### Script +Script representation from 4-letter code (ISO-15924): +```python +>>> import babelfish +>>> script = babelfish.Script('Hira') +>>> script +<Script [Hira]> +``` + +### Country +Country representation from 2-letter code (ISO-3166): +```python +>>> country = babelfish.Country('GB') +>>> country +<Country [GB]> +``` + +Built-in country converters (name): +```python +>>> country = babelfish.Country('GB') +>>> country +<Country [GB]> +``` + +### Language +Language representation from 3-letter code (ISO-639-3): +```python +>>> language = babelfish.Language("eng") +>>> language +<Language [en]> +``` + +Country-specific language: +```python +>>> language = babelfish.Language('por', 'BR') +>>> language +<Language [pt-BR]> +``` + +Language with specific script: +```python +>>> language = babelfish.Language.fromalpha2('sr') +>>> language.script = babelfish.Script('Cyrl') +>>> language +<Language [sr-Cyrl]> +``` + +Built-in language converters (alpha2, alpha3b, alpha3t, name, scope, type and opensubtitles): +```python +>>> language = babelfish.Language('por', 'BR') +>>> language.alpha2 +'pt' +>>> language.scope +'individual' +>>> language.type +'living' +>>> language.opensubtitles +'pob' +>>> babelfish.Language.fromalpha3b('fre') +<Language [fr]> +``` + +## License +BabelFish is licensed under the [3-clause BSD license](http://opensource.org/licenses/BSD-3-Clause>) + +Copyright (c) 2013, the BabelFish authors and contributors. + diff --git a/libs/babelfish-0.6.0.dist-info/RECORD b/libs/babelfish-0.6.0.dist-info/RECORD new file mode 100644 index 000000000..d880fa869 --- /dev/null +++ b/libs/babelfish-0.6.0.dist-info/RECORD @@ -0,0 +1,24 @@ +babelfish-0.6.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +babelfish-0.6.0.dist-info/LICENSE,sha256=Oks1Oz6Ct0po2CM5dQD3S8oXrnJOJ1jMNj28Y5yXpao,1529 +babelfish-0.6.0.dist-info/METADATA,sha256=8jYo3WO5AI6-SQfqvix3zYsPwqPVo__07TBgLlKT12A,3003 +babelfish-0.6.0.dist-info/RECORD,, +babelfish-0.6.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +babelfish-0.6.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88 +babelfish/__init__.py,sha256=acwjM_qKby8EzOkPVT-R1Usakhba0s7mO-Q4QXFPZgs,761 +babelfish/converters/__init__.py,sha256=T4lfWFLaCXEHGhS86k4v9PWGhn4Hbf0I2LvFs-M3tCs,9366 +babelfish/converters/alpha2.py,sha256=4eeZPb4tDZ7pF2D9AUvk4UAUupYAOnjJFHGScn_UWeM,556 +babelfish/converters/alpha3b.py,sha256=1PAhxBeWurFGct1LqA-nx5nW9WezbsfM-Zxkm5Iy2ns,559 +babelfish/converters/alpha3t.py,sha256=kC-UfDRHQSKLAdgMJ2vFTE9PabSJewHyTBsSXXnNfqM,559 +babelfish/converters/countryname.py,sha256=X87TvVWu3gtZIS7sol5PBFJWQsK-qdR3KNea5-E-n-w,1077 +babelfish/converters/name.py,sha256=GO23olijoeer60dWfvIdCl3LK_FaMIwktlt10XMiGq8,551 +babelfish/converters/opensubtitles.py,sha256=Y6b7eusAuOeqC8YoFIRZNGfzWfr8V9fxvbjIsDu7Vak,1774 +babelfish/converters/scope.py,sha256=IHGigVNrytzebKkgEZIdHxjCPid8LIUnQXTbnHQ2uGE,847 +babelfish/converters/type.py,sha256=RoiSQalynx8aoGYInHBZJL1YkHiMeVvrOK3WYLP0w0A,898 +babelfish/country.py,sha256=jZplgI8JwhMb2b4RO0HK30LMpmq3Fl1uoygA0D0_s_8,3242 +babelfish/data/iso-3166-1.txt,sha256=CxUAGynPLTb8dpzrpvhp2e9unItP-2WmBuHnPKYXajI,4113 +babelfish/data/iso-639-3.tab,sha256=CI7Kbv498zK2uAcZLVFAMVQitBOlOTjVq7f_7OXekAI,184527 +babelfish/data/iso15924-utf8-20131012.txt,sha256=fthbRClXJbbXIIDS7hXyhQUOXopfHQSWlrFf0rQNEc4,9872 +babelfish/data/opensubtitles_languages.txt,sha256=qLfynAWhzWqTHU8D4A6aWSXcN10UDl7Ekw1lVJgllJw,9582 +babelfish/exceptions.py,sha256=G1oSC4BkZZakJPIgnkNZrLsTFam_eT9jYiER4naTdYs,2332 +babelfish/language.py,sha256=z7rCd8ERzFs07_w7ZTIepo-0-dJ2KEz9AV1bSgXGozQ,6874 +babelfish/script.py,sha256=wX9JZRYqgnx9vaB7KW2KAmAZMlenUFSy2M-J__M4xpM,2054 diff --git a/libs/babelfish-0.6.0.dist-info/REQUESTED b/libs/babelfish-0.6.0.dist-info/REQUESTED new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/libs/babelfish-0.6.0.dist-info/REQUESTED diff --git a/libs/babelfish-0.6.0.dist-info/WHEEL b/libs/babelfish-0.6.0.dist-info/WHEEL new file mode 100644 index 000000000..d73ccaae8 --- /dev/null +++ b/libs/babelfish-0.6.0.dist-info/WHEEL @@ -0,0 +1,4 @@ +Wheel-Version: 1.0 +Generator: poetry-core 1.9.0 +Root-Is-Purelib: true +Tag: py3-none-any |