1+ [build-system ]
2+ requires = [" setuptools" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " mindee"
7+ authors = [
8+ {name = " Mindee" , email = " opensource@mindee.com" },
9+ ]
10+ dynamic = [" version" ]
11+ description = " Mindee API helper library for Python"
12+ readme = " README.md"
13+ license = {file = " LICENSE" }
14+ classifiers = [
15+ " Programming Language :: Python :: 3" ,
16+ " Programming Language :: Python :: 3.7" ,
17+ " Programming Language :: Python :: 3.8" ,
18+ " Programming Language :: Python :: 3.9" ,
19+ " Programming Language :: Python :: 3.10" ,
20+ " Programming Language :: Python :: 3.11" ,
21+ " Programming Language :: Python :: 3.12" ,
22+ " Operating System :: OS Independent" ,
23+ " Development Status :: 5 - Production/Stable" ,
24+ " Intended Audience :: Developers" ,
25+ " Topic :: Software Development :: Libraries" ,
26+ " License :: OSI Approved :: MIT License" ,
27+ ]
28+
29+ requires-python = " >=3.7"
30+
31+ dependencies = [
32+ " pypdfium2>=4.0,<5" ,
33+ " Pillow>=9.5.0" ,
34+ " pytz>=2023.3" ,
35+ " requests~=2.32.3" ,
36+ ]
37+
38+ [project .urls ]
39+ Homepage = " https://www.mindee.com"
40+ Documentation = " https://developers.mindee.com/docs/python-sdk"
41+ Repository = " https://github.com/publicMindee/mindee-api-python"
42+ Issues = " https://github.com/mindee/mindee-api-python/issues"
43+ Changelog = " https://github.com/mindee/mindee-api-python/blob/main/CHANGELOG.md"
44+
45+ [project .optional-dependencies ]
46+ dev = [
47+ " pylint==2.17.7" ,
48+ " setuptools==51.3.3" ,
49+ " pre-commit~=3.5.0" ,
50+ " types-pytz>=2023.3" ,
51+ " types-requests~=2.31" ,
52+ " toml~=0.10.2" ,
53+ " pytest~=7.4" ,
54+ " pytest-cov~=4.1" ,
55+ ]
56+ docs = [
57+ " sphinx~=5.3" ,
58+ " sphinx_rtd_theme~=1.1" ,
59+ " sphinx-autodoc-typehints~=1.20" ,
60+ ]
61+ build = [
62+ " build" ,
63+ " twine" ,
64+ ]
65+
66+ [project .scripts ]
67+ mindee = " mindee.cli:main"
68+
69+
70+ [tool .setuptools ]
71+ packages = [" mindee" , ]
72+
73+ [tool .setuptools .dynamic ]
74+ version = {attr = " mindee.versions.__version__" }
75+
76+ [tool .setuptools .package-data ]
77+ "mindee" = [" py.typed" ]
78+
79+
180[tool .black ]
281line-length = 88
382target-version = [
@@ -26,6 +105,7 @@ warn_unreachable = true
26105module = " pypdfium2.*"
27106ignore_missing_imports = true
28107
108+
29109[tool .pylic ]
30110safe_licenses = [
31111 " Apache Software License" ,
@@ -36,6 +116,7 @@ safe_licenses = [
36116 " Historical Permission Notice and Disclaimer (HPND)"
37117]
38118
119+
39120[tool .pytest .ini_options ]
40121addopts = " --pyargs --cov mindee --cov-report term:skip-covered --cov-report term-missing -m 'not regression and not integration'"
41122python_files = " test*.py"
0 commit comments