Upload pyproject.toml with huggingface_hub
Browse files- pyproject.toml +109 -0
pyproject.toml
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[build-system]
|
| 2 |
+
requires = ["setuptools>=61.0", "wheel"]
|
| 3 |
+
build-backend = "setuptools.build_meta"
|
| 4 |
+
|
| 5 |
+
[project]
|
| 6 |
+
name = "EthioBBPE"
|
| 7 |
+
version = "1.0.0"
|
| 8 |
+
description = "Professional Amharic Biblical Text Tokenizer with Byte Pair Encoding"
|
| 9 |
+
readme = "README.md"
|
| 10 |
+
license = {text = "Apache-2.0"}
|
| 11 |
+
authors = [
|
| 12 |
+
{name = "Nexuss0781", email = "nexuss0781@gmail.com"}
|
| 13 |
+
]
|
| 14 |
+
maintainers = [
|
| 15 |
+
{name = "Nexuss0781", email = "nexuss0781@gmail.com"}
|
| 16 |
+
]
|
| 17 |
+
keywords = [
|
| 18 |
+
"amharic",
|
| 19 |
+
"geez",
|
| 20 |
+
"tokenizer",
|
| 21 |
+
"nlp",
|
| 22 |
+
"ethiopic",
|
| 23 |
+
"biblical",
|
| 24 |
+
"bpe",
|
| 25 |
+
"huggingface",
|
| 26 |
+
"african-languages"
|
| 27 |
+
]
|
| 28 |
+
classifiers = [
|
| 29 |
+
"Development Status :: 5 - Production/Stable",
|
| 30 |
+
"Intended Audience :: Developers",
|
| 31 |
+
"Intended Audience :: Science/Research",
|
| 32 |
+
"License :: OSI Approved :: Apache Software License",
|
| 33 |
+
"Operating System :: OS Independent",
|
| 34 |
+
"Programming Language :: Python :: 3",
|
| 35 |
+
"Programming Language :: Python :: 3.8",
|
| 36 |
+
"Programming Language :: Python :: 3.9",
|
| 37 |
+
"Programming Language :: Python :: 3.10",
|
| 38 |
+
"Programming Language :: Python :: 3.11",
|
| 39 |
+
"Programming Language :: Python :: 3.12",
|
| 40 |
+
"Topic :: Text Processing :: Linguistic",
|
| 41 |
+
"Topic :: Scientific/Engineering :: Artificial Intelligence"
|
| 42 |
+
]
|
| 43 |
+
requires-python = ">=3.8"
|
| 44 |
+
dependencies = [
|
| 45 |
+
"tokenizers>=0.15.0",
|
| 46 |
+
"huggingface-hub>=0.20.0"
|
| 47 |
+
]
|
| 48 |
+
|
| 49 |
+
[project.optional-dependencies]
|
| 50 |
+
dev = [
|
| 51 |
+
"pytest>=7.0.0",
|
| 52 |
+
"pytest-cov>=4.0.0",
|
| 53 |
+
"black>=23.0.0",
|
| 54 |
+
"isort>=5.12.0",
|
| 55 |
+
"flake8>=6.0.0",
|
| 56 |
+
"mypy>=1.0.0"
|
| 57 |
+
]
|
| 58 |
+
docs = [
|
| 59 |
+
"sphinx>=7.0.0",
|
| 60 |
+
"sphinx-rtd-theme>=1.3.0",
|
| 61 |
+
"sphinx-autodoc-typehints>=1.24.0"
|
| 62 |
+
]
|
| 63 |
+
|
| 64 |
+
[project.urls]
|
| 65 |
+
Homepage = "https://github.com/nexuss0781/Ethio_BBPE"
|
| 66 |
+
Repository = "https://github.com/nexuss0781/Ethio_BBPE.git"
|
| 67 |
+
Documentation = "https://github.com/nexuss0781/Ethio_BBPE#readme"
|
| 68 |
+
Issues = "https://github.com/nexuss0781/Ethio_BBPE/issues"
|
| 69 |
+
HuggingFace = "https://huggingface.co/Nexuss0781/Ethio-BBPE"
|
| 70 |
+
|
| 71 |
+
[tool.setuptools.packages.find]
|
| 72 |
+
where = ["src"]
|
| 73 |
+
|
| 74 |
+
[tool.setuptools.package-data]
|
| 75 |
+
"*" = ["*.json", "*.json.gz", "*.txt"]
|
| 76 |
+
|
| 77 |
+
[tool.black]
|
| 78 |
+
line-length = 88
|
| 79 |
+
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
|
| 80 |
+
include = '\.pyi?$'
|
| 81 |
+
exclude = '''
|
| 82 |
+
/(
|
| 83 |
+
\.git
|
| 84 |
+
| \.hg
|
| 85 |
+
| \.mypy_cache
|
| 86 |
+
| \.tox
|
| 87 |
+
| \.venv
|
| 88 |
+
| _build
|
| 89 |
+
| buck-out
|
| 90 |
+
| build
|
| 91 |
+
| dist
|
| 92 |
+
)/
|
| 93 |
+
'''
|
| 94 |
+
|
| 95 |
+
[tool.isort]
|
| 96 |
+
profile = "black"
|
| 97 |
+
multi_line_output = 3
|
| 98 |
+
line_length = 88
|
| 99 |
+
|
| 100 |
+
[tool.mypy]
|
| 101 |
+
python_version = "3.8"
|
| 102 |
+
warn_return_any = true
|
| 103 |
+
warn_unused_configs = true
|
| 104 |
+
disallow_untyped_defs = false
|
| 105 |
+
|
| 106 |
+
[tool.pytest.ini_options]
|
| 107 |
+
testpaths = ["tests"]
|
| 108 |
+
python_files = ["test_*.py"]
|
| 109 |
+
addopts = "-v --cov=ethiobbpe --cov-report=term-missing"
|