Debian Codegraph @

pyproject.toml

raw
1 [project]
2 name = "Flask-Session"
3 description = "Server-side session support for Flask"
4 readme = "README.rst"
5 license = {text = "BSD-3-Clause"}
6 maintainers = [{name = "Pallets Community Ecosystem", email = "[email protected]"}]
7 authors = [{name = "Shipeng Feng", email = "[email protected]"}]
8 classifiers = [
9 "Development Status :: 4 - Beta",
10 "Environment :: Web Environment",
11 "Framework :: Flask",
12 "Intended Audience :: Developers",
13 "License :: OSI Approved :: BSD License",
14 "Operating System :: OS Independent",
15 "Programming Language :: Python",
16 "Topic :: Internet :: WWW/HTTP :: Session",
17 "Topic :: Internet :: WWW/HTTP :: WSGI",
18 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
19 "Topic :: Software Development :: Libraries :: Application Frameworks",
20 ]
21 requires-python = ">=3.8"
22 dependencies = [
23 "flask>=2.2",
24 "msgspec>=0.18.6",
25 "cachelib",
26 ]
27 dynamic = ["version"]
28
29 [project.optional-dependencies]
30 cachelib = ["cachelib>=0.10.2"]
31 memcached = ["pymemcache"]
32 mongodb = ["pymongo>=4.6.2"]
33 redis = ["redis>=5.0.3"]
34 sqlalchemy = ["flask-sqlalchemy>=3.0.5"]
35 all = ["Flask-Session[cachelib, memcached, mongodb, redis, sqlalchemy]"]
36
37 [project.urls]
38 Documentation = "https://flask-session.readthedocs.io"
39 Changes = "https://flask-session.readthedocs.io/changes.html"
40 "Source Code" = "https://github.com/pallets-eco/flask-session/"
41 "Issue Tracker" = "https://github.com/pallets-eco/flask-session/issues/"
42 Chat = "https://discord.gg/pallets"
43
44 [build-system]
45 requires = ["flit_core<4"]
46 build-backend = "flit_core.buildapi"
47
48 [tool.flit.module]
49 name = "flask_session"
50
51 [tool.flit.sdist]
52 include = [
53 "docs/",
54 "requirements/",
55 "CHANGES.rst",
56 "LICENSE.rst",
57 "test_session.py",
58 ]
59 exclude = ["docs/_build/"]
60
61 [tool.ruff]
62 line-length = 88
63
64 [tool.ruff.lint]
65 select = [
66 # pycodestyle
67 "E",
68 # Pyflakes
69 "F",
70 # pyupgrade
71 "UP",
72 # flake8-bugbear
73 "B",
74 # flake8-simplify
75 "SIM",
76 # isort
77 "I",
78 ]
79 ignore = ["E501"]
80
81 [tool.rye]
82 managed = true
83 dev-dependencies = [
84 "ruff>=0.3.3",
85 "pytest>=7.4.4",
86 "pytest-cov>=4.1.0",
87 "redis>=5.0.3",
88 "python-memcached>=1.62",
89 "flask-sqlalchemy>=3.0.5",
90 "pymongo>=4.6.2",
91 "cachelib>=0.10.2",
92 "msgspec>=0.18.6",
93 "sphinx>=7.1.2",
94 "furo>=2024.1.29",
95 "sphinx-favicon>=1.0.1",
96 "boto3>=1.34.68",
97 "mypy_boto3_dynamodb>=1.34.67",
98 "pymemcache>=4.0.0",
99 ]