|
| 1 | +[project] |
| 2 | +name = "unstract-client" |
| 3 | +dynamic = ["version"] |
| 4 | +description = "Python client for the Unstract LLM-powered structured data extraction platform" |
| 5 | +authors = [ |
| 6 | + { name = "Zipstack Inc", email = "[email protected]"}, |
| 7 | +] |
| 8 | +dependencies = [ |
| 9 | + "requests>=2.32.3", |
| 10 | +] |
| 11 | +requires-python = ">=3.11" |
| 12 | +readme = "README.md" |
| 13 | +urls = { Homepage = "https://unstract.com", Source = "https://github.com/Zipstack/unstract-python-client" } |
| 14 | +license = {text = "MIT"} |
| 15 | +keywords = ["unstract cli apps sdk"] |
| 16 | +classifiers = [ |
| 17 | + "Development Status :: 4 - Beta", |
| 18 | + "Intended Audience :: Developers", |
| 19 | + "License :: OSI Approved :: GNU Affero General Public License v3", |
| 20 | + "Operating System :: POSIX :: Linux", |
| 21 | + "Operating System :: MacOS :: MacOS X", |
| 22 | + "Operating System :: Microsoft :: Windows", |
| 23 | + "Programming Language :: Python", |
| 24 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 25 | +] |
| 26 | + |
| 27 | +[tool.pdm.dev-dependencies] |
| 28 | +test = [ |
| 29 | + "pytest>=8.2.2", |
| 30 | + "pytest-mock>=3.14.0", |
| 31 | + "pytest-dotenv>=0.5.2", |
| 32 | + "pytest-cov>=5.0.0", |
| 33 | + "pytest-md-report>=0.6.2", |
| 34 | +] |
| 35 | +lint = [ |
| 36 | + "autopep8~=2.0.2", |
| 37 | + "black~=23.3.0", |
| 38 | + "docutils~=0.20.1", |
| 39 | + "flake8~=6.0.0", |
| 40 | + "flake8-pyproject~=1.2.2", |
| 41 | + "isort~=5.12.0", |
| 42 | + "pre-commit~=3.3.1", |
| 43 | + "yamllint>=1.35.1", |
| 44 | + "mypy~=1.10.0" |
| 45 | +] |
| 46 | + |
| 47 | +[tool.pdm.version] |
| 48 | +source = "file" |
| 49 | +path = "src/unstract/api_deployments/__init__.py" |
| 50 | + |
| 51 | +[tool.isort] |
| 52 | +line_length = 120 |
| 53 | +multi_line_output = 3 |
| 54 | +include_trailing_comma = true |
| 55 | +force_grid_wrap = 0 |
| 56 | +use_parentheses = true |
| 57 | +ensure_newline_before_comments = true |
| 58 | +profile = "black" |
| 59 | + |
| 60 | +[tool.flake8] |
| 61 | +max-line-length = 120 |
| 62 | + |
| 63 | +[tool.pdm.build] |
| 64 | +includes = ["src"] |
| 65 | +package-dir = "src" |
| 66 | + |
| 67 | +[tool.pytest.ini_options] |
| 68 | +env_files = ["tests/.env"] |
| 69 | +addopts = "-s" |
| 70 | +log_level = "INFO" |
| 71 | +log_cli = true |
| 72 | + |
| 73 | +[tool.pdm.scripts] |
| 74 | +test.cmd = "pytest -s -v" |
| 75 | +test.env_file = "tests/.env" |
| 76 | +test.help = "Runs pytests for Unstract client" |
| 77 | + |
| 78 | +[build-system] |
| 79 | +requires = ["pdm-backend"] |
| 80 | +build-backend = "pdm.backend" |
0 commit comments