| 1 |
[project] |
| 2 |
name = "Flask-Security" |
| 3 |
description = "Quickly add security features to your Flask application." |
| 4 |
readme.content-type = "text/x-rst" |
| 5 |
readme.file = "README.rst" |
| 6 |
keywords = ["flask security"] |
| 7 |
license = { file = "LICENSE.txt" } |
| 8 |
maintainers = [{ name = "Chris Wagner", email = "[email protected]"}] |
| 9 |
authors = [{ name = "Matt Wright"}, { name = "Chris Wagner", email = "[email protected]"}] |
| 10 |
requires-python = ">=3.10" |
| 11 |
urls.Documentation = "https://flask-security.readthedocs.io" |
| 12 |
urls.Homepage = "https://github.com/pallets-eco/flask-security" |
| 13 |
urls.Source = "https://github.com/pallets-eco/flask-security" |
| 14 |
urls.Tracker = "https://github.com/pallets-eco/flask-security/issues" |
| 15 |
urls.Releases = "https://pypi.org/project/Flask-Security/" |
| 16 |
classifiers=[ |
| 17 |
"Environment :: Web Environment", |
| 18 |
"Framework :: Flask", |
| 19 |
"Intended Audience :: Developers", |
| 20 |
"License :: OSI Approved :: MIT License", |
| 21 |
"Operating System :: OS Independent", |
| 22 |
"Programming Language :: Python", |
| 23 |
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", |
| 24 |
"Topic :: Software Development :: Libraries :: Python Modules", |
| 25 |
"Programming Language :: Python :: Implementation :: CPython", |
| 26 |
"Programming Language :: Python :: Implementation :: PyPy", |
| 27 |
"Development Status :: 5 - Production/Stable", |
| 28 |
] |
| 29 |
dynamic = [ |
| 30 |
"version", |
| 31 |
] |
| 32 |
dependencies = [ |
| 33 |
# flask dependencies include werkzeug, jinja2, itsdangerous, click, blinker |
| 34 |
"Flask>=3.1.1", |
| 35 |
"Flask-Login>=0.6.3", |
| 36 |
"Flask-Principal>=0.4.0", |
| 37 |
"Flask-WTF>=1.1.2", |
| 38 |
"email-validator>=2.3.0", |
| 39 |
"markupsafe>=2.1.0", |
| 40 |
"libpass>=1.9.3", |
| 41 |
"wtforms>=3.0.0", # for form-level errors |
| 42 |
] |
| 43 |
|
| 44 |
[project.optional-dependencies] |
| 45 |
babel = ["babel>=2.17.0", "flask_babel>=4.0.0"] |
| 46 |
fsqla = ["flask_sqlalchemy>=3.1.1", "sqlalchemy>=2.0.41"] |
| 47 |
common = ["argon2_cffi>=25.1.0", "bcrypt>=4.2.1", "flask_mail>=0.10.0", "bleach>=6.0.0"] |
| 48 |
mfa = ["cryptography>=45.0.7", "qrcode>=7.4.2", "phonenumberslite>=8.13.11", "webauthn>=2.6.0"] |
| 49 |
low = [ |
| 50 |
# Lowest supported versions |
| 51 |
"Flask==3.1.1", |
| 52 |
"Flask-SQLAlchemy==3.1.1", |
| 53 |
"Flask-SQLAlchemy-Lite==0.1.0", |
| 54 |
"Flask-Babel==4.0.0", |
| 55 |
"Flask-Mail==0.10.0", |
| 56 |
"Flask-Login==0.6.3", |
| 57 |
"Flask-WTF==1.1.2", |
| 58 |
"peewee==3.17.9", |
| 59 |
"argon2_cffi==21.3.0", |
| 60 |
"authlib==1.2.0", |
| 61 |
"babel==2.16.0", |
| 62 |
"bcrypt==4.0.1", |
| 63 |
"bleach==6.0.0", |
| 64 |
"freezegun", |
| 65 |
"jinja2==3.1.2", |
| 66 |
"itsdangerous==2.2.0", |
| 67 |
"markupsafe==2.1.2", |
| 68 |
"mongoengine==0.29.1", |
| 69 |
"mongomock==4.3.0", |
| 70 |
"pony==0.7.16;python_version<'3.11'", |
| 71 |
"phonenumberslite==8.13.11", |
| 72 |
"qrcode==7.4.2", |
| 73 |
# authlib requires requests |
| 74 |
"requests", |
| 75 |
"sqlalchemy==2.0.41", |
| 76 |
"sqlalchemy-utils==0.42.0", |
| 77 |
"webauthn==2.0.0", |
| 78 |
"werkzeug==3.1.3", |
| 79 |
"zxcvbn==4.4.28" |
| 80 |
] |
| 81 |
[build-system] |
| 82 |
requires = ["flit_core >=3.8,<5"] |
| 83 |
build-backend = "flit_core.buildapi" |
| 84 |
|
| 85 |
[tool.flit.module] |
| 86 |
name = "flask_security" |
| 87 |
|
| 88 |
[tool.flit.sdist] |
| 89 |
include = [ |
| 90 |
"AUTHORS", |
| 91 |
"CHANGES.rst", |
| 92 |
"CONTRIBUTING.rst", |
| 93 |
"LICENSE.txt", |
| 94 |
".djlintrc", |
| 95 |
".git-blame-ignore-revs", |
| 96 |
".gitignore", |
| 97 |
".pre-commit-config.yaml", |
| 98 |
".readthedocs.yml", |
| 99 |
"pyproject-too.toml", |
| 100 |
"babel.ini", |
| 101 |
"codecov.yml", |
| 102 |
"mypy.ini", |
| 103 |
"pytest.ini", |
| 104 |
"tox.ini", |
| 105 |
"docs/", |
| 106 |
"examples/", |
| 107 |
"requirements", |
| 108 |
"tests/", |
| 109 |
] |
| 110 |
exclude = ["docs/_build/"] |
| 111 |
|
| 112 |
[tool.djlint] |
| 113 |
ignore="H005,H006" # lang, img height/width |
| 114 |
|
| 115 |
[tool.pyright] |
| 116 |
include=["flask_security", "tests/view_scaffold.py"] |
| 117 |
analyzeUnannotatedFunctions = "none" |
| 118 |
reportMissingImports = false |