-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
132 lines (118 loc) · 2.9 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[build-system]
build-backend = 'hatchling.build'
requires = [ 'hatchling' ]
[project]
authors = [
{ email = 'aekazitt+github@gmail.com', name = 'Sitt Guruvanich' },
]
classifiers = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3 :: Only',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
dependencies = [
'pydantic >=2.6.0',
]
description = 'Cache extension for ASGI frameworks'
homepage = 'https://github.com/aekasitt/cachette'
keywords = [
'starlette', 'fastapi', 'cache', 'redis', 'aioredis', 'aiobotocore',
'asynchronous', 'memcached', 'aiomcache', 'mongodb', 'motor'
]
license = 'MIT'
name = 'cachette'
readme = 'README.md'
repository = 'https://github.com/aekasitt/cachette'
requires-python = '>=3.9.19'
version = '0.1.9'
[project.optional-dependencies]
dataframe = [
'pandas >=1.4.0',
'pyarrow >=10.0.1',
]
examples = [
'aiomcache >=0.7.0',
'blacksheep >=2.0.6',
'redis >=4.2.1',
'types-redis >=4.1.21',
'uvicorn >=0.15.0',
'litestar >=2.3.2',
]
memcached = [
'aiomcache >=0.7.0',
]
mongodb = [
'motor >=3.4.0',
'pymongo ==4.8.0',
]
msgpack = [
'msgpack >=1.0.3',
]
orjson = [
'orjson >=3.6.7',
]
redis = [
'redis >=4.2.1',
'types-redis >=4.1.21',
]
test = [
'fastapi ==0.103.2; python_version == "3.9"',
'fastapi >=0.104.0; python_version >= "3.10"',
'httpx >=0.24.1',
'pytest >=8.3.3',
'pytest-asyncio >=0.24.0',
'starlette >=0',
]
thewholeshebang = [
'aiomcache >=0.7.0',
'blacksheep >=2.0.6',
'fastapi ==0.103.2; python_version == "3.9"',
'fastapi >=0.104.0; python_version >= "3.10"',
'httpx >=0.24.1',
'litestar >=2.3.2',
'motor >=3.4.0',
'msgpack >=1.0.3',
'mypy >=1.8.0',
'orjson >=3.6.7',
'pandas >=1.4.0',
'pyarrow >=10.0.1',
'pymongo ==4.8.0',
'pytest >=8.3.3',
'pytest-asyncio >=0.24.0',
'redis >=4.2.1',
'types-redis >=4.1.21',
'uvicorn >=0.15.0',
]
[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = '--strict-markers --tb=short -s -rxXs'
asyncio_default_fixture_loop_scope = 'function'
asyncio_mode = 'auto'
filterwarnings = ['ignore::DeprecationWarning', 'ignore::FutureWarning']
python_files = '*.py'
testpaths = [ 'tests' ]
[tool.ruff]
indent-width = 2
line-length = 100
target-version = 'py310'
[tool.ruff.lint.per-file-ignores]
'__init__.py' = ['F401'] # Ignore unused imports
[tool.uv]
dev-dependencies = [
'mypy >=1.8.0',
'ruff >=0.3.5',
]