From 943a37961535476a9ddd1565543437cc2f5e44ff Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 8 Mar 2023 04:06:46 +0000 Subject: automatic import of python-babelfish --- .gitignore | 1 + python-babelfish.spec | 297 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 299 insertions(+) create mode 100644 python-babelfish.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..dbf67fe 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/babelfish-0.6.0.tar.gz diff --git a/python-babelfish.spec b/python-babelfish.spec new file mode 100644 index 0000000..c47c130 --- /dev/null +++ b/python-babelfish.spec @@ -0,0 +1,297 @@ +%global _empty_manifest_terminate_build 0 +Name: python-babelfish +Version: 0.6.0 +Release: 1 +Summary: A module to work with countries and languages +License: BSD-3-Clause +URL: https://github.com/Diaoul/babelfish +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/02/0d/e72bf59672ebceae99cd339106df2b0d59964e00a04f7286ae9279d9da6c/babelfish-0.6.0.tar.gz +BuildArch: noarch + + +%description +# 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 +