1+ [build-system ]
2+ requires = [" setuptools>=61.0" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " semcache"
7+ version = " 0.1.0"
8+ authors = [
9+ {name = " Sensoris" , email = " contact@semcache.io" },
10+ ]
11+ description = " A Python library for the Semcache API "
12+ readme = " README.md"
13+ license = {text = " MIT" }
14+ requires-python = " >=3.7"
15+ classifiers = [
16+ " Development Status :: 3 - Alpha" ,
17+ " Intended Audience :: Developers" ,
18+ " License :: OSI Approved :: MIT License" ,
19+ " Operating System :: OS Independent" ,
20+ " Programming Language :: Python :: 3" ,
21+ " Programming Language :: Python :: 3.7" ,
22+ " Programming Language :: Python :: 3.8" ,
23+ " Programming Language :: Python :: 3.9" ,
24+ " Programming Language :: Python :: 3.10" ,
25+ " Programming Language :: Python :: 3.11" ,
26+ " Programming Language :: Python :: 3.12" ,
27+ " Topic :: Software Development :: Libraries :: Python Modules" ,
28+ " Topic :: Internet :: WWW/HTTP" ,
29+ " Topic :: System :: Caching" ,
30+ ]
31+ keywords = [" cache" , " semantic" , " caching" , " semcache" , " api" , " client" ]
32+ dependencies = [
33+ " requests>=2.28.0" ,
34+ ]
35+
36+ [project .optional-dependencies ]
37+ dev = [
38+ " pytest>=7.0.0" ,
39+ " pytest-cov>=4.0.0" ,
40+ " black>=23.0.0" ,
41+ " mypy>=1.0.0" ,
42+ " types-requests>=2.28.0" ,
43+ " build>=0.10.0" ,
44+ " twine>=4.0.0" ,
45+ ]
46+
47+ [project .urls ]
48+ "Homepage" = " https://github.com/sensoris/semcache-python"
49+ "Bug Tracker" = " https://github.com/sensoris/semcache-python/issues"
50+ "Documentation" = " https://github.com/sensoris/semcache-python#readme"
51+ "Source Code" = " https://github.com/sensoris/semcache-python"
52+
53+ [tool .setuptools .packages .find ]
54+ where = [" src" ]
55+
56+ [tool .setuptools .package-data ]
57+ semcache = [" py.typed" ]
58+
59+ [tool .mypy ]
60+ python_version = " 3.7"
61+ warn_return_any = true
62+ warn_unused_configs = true
63+ disallow_untyped_defs = true
64+ disallow_incomplete_defs = true
65+ check_untyped_defs = true
66+ disallow_untyped_decorators = true
67+ no_implicit_optional = true
68+ warn_redundant_casts = true
69+ warn_unused_ignores = true
70+ warn_no_return = true
71+ warn_unreachable = true
72+ strict_equality = true
73+
74+ [tool .black ]
75+ line-length = 88
76+ target-version = [' py37' ]
77+ include = ' \.pyi?$'
78+ extend-exclude = '''
79+ /(
80+ # directories
81+ \.eggs
82+ | \.git
83+ | \.hg
84+ | \.mypy_cache
85+ | \.tox
86+ | \.venv
87+ | build
88+ | dist
89+ )/
90+ '''
91+
92+ [tool .pytest .ini_options ]
93+ testpaths = [" tests" ]
94+ python_files = [" test_*.py" , " *_test.py" ]
95+ python_functions = [" test_*" ]
96+ python_classes = [" Test*" ]
97+ addopts = " -v --cov=semcache --cov-report=term-missing"
0 commit comments