Files
fastapi-cache/pyproject.toml

49 lines
1.3 KiB
TOML
Raw Normal View History

2020-08-26 18:04:57 +08:00
[tool.poetry]
name = "fastapi-cache2"
2023-01-11 21:20:41 +08:00
version = "0.2.0"
2020-08-26 18:04:57 +08:00
description = "Cache for FastAPI"
authors = ["long2ice <long2ice@gmail.com>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/long2ice/fastapi-cache"
repository = "https://github.com/long2ice/fastapi-cache.git"
documentation = "https://github.com/long2ice/fastapi-cache"
keywords = ["fastapi", "cache", "caching"]
packages = [
{ include = "fastapi_cache" }
]
include = ["LICENSE", "README.md"]
[tool.poetry.dependencies]
2020-10-08 15:10:34 +08:00
python = "^3.7"
fastapi = "*"
uvicorn = "*"
2022-08-07 21:11:47 +08:00
redis = { version = "^4.2.0rc1", optional = true }
aiomcache = { version = "*", optional = true }
2021-09-17 10:19:56 +08:00
pendulum = "*"
2022-08-07 21:11:47 +08:00
aiobotocore = { version = "^1.4.1", optional = true }
2022-10-25 08:52:59 +07:00
typing-extensions = { version = ">=4.1.0", markers = "python_version < \"3.10\"" }
2023-01-11 21:20:41 +08:00
aiohttp = { version = ">=3.8.3", markers = "python_version >= \"3.11\"" }
2020-08-26 18:04:57 +08:00
[tool.poetry.dev-dependencies]
flake8 = "*"
isort = "*"
2021-08-29 22:33:50 +08:00
black = "*"
2020-08-26 18:04:57 +08:00
pytest = "*"
2022-09-11 12:33:10 +08:00
requests = "*"
2022-10-14 21:59:51 +02:00
coverage = "^6.5.0"
2020-08-26 18:04:57 +08:00
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry.extras]
2022-08-07 21:11:47 +08:00
redis = ["redis"]
2020-08-26 18:04:57 +08:00
memcache = ["aiomcache"]
2021-09-29 16:14:28 +02:00
dynamodb = ["aiobotocore"]
2022-08-07 21:11:47 +08:00
all = ["redis", "aiomcache", "aiobotocore"]
2021-10-19 11:56:51 +08:00
[tool.black]
line-length = 100
target-version = ['py36', 'py37', 'py38', 'py39']