diff options
author | Goran Mekić <meka@tilda.center> | 2022-01-29 15:52:38 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2022-01-29 15:54:40 +0900 |
commit | 5397c5e80dab3825d0edaa31746adcea47aa361a (patch) | |
tree | 0370d5f1679e3acd6b140179c079f86cf5a56593 /www/py-fastapi-users/files | |
parent | security/libgpg-error: update to 1.44 (diff) |
www/py-fastapi-users: add port: Ready-to-use and customizable users management for FastAPI
Add quickly a registration and authentication system to your FastAPI project.
FastAPI Users is designed to be as customizable and adaptable as possible.
Features:
* Extensible base user model
* Ready-to-use register, login, reset password and verify e-mail routes
* Ready-to-use social OAuth2 login flow
* Dependency callables to inject current user in route
* Pluggable password validation
* Customizable database backend
* SQLAlchemy async backend included thanks to encode/databases
* MongoDB async backend included thanks to mongodb/motor
* Tortoise ORM backend included
* ormar backend included
* Multiple customizable authentication backends
* JWT authentication backend included
* Cookie authentication backend included
* Full OpenAPI schema support, even with several authentication backends
WWW: https://github.com/fastapi-users/fastapi-users
PR: 257369
Reported by: Goran Mekić <meka@tilda.center> (new maintainer)
Reviewed by: koobs
Diffstat (limited to 'www/py-fastapi-users/files')
-rw-r--r-- | www/py-fastapi-users/files/patch-setup.py | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/www/py-fastapi-users/files/patch-setup.py b/www/py-fastapi-users/files/patch-setup.py new file mode 100644 index 000000000000..c56e9fe3c2d1 --- /dev/null +++ b/www/py-fastapi-users/files/patch-setup.py @@ -0,0 +1,52 @@ +--- setup.py.orig 2022-01-24 23:01:58 UTC ++++ setup.py +@@ -0,0 +1,49 @@ ++#!/usr/bin/env python ++# setup.py generated by flit for tools that don't yet use PEP 517 ++ ++from distutils.core import setup ++ ++packages = [ ++ "fastapi_users", ++ "fastapi_users.authentication", ++ "fastapi_users.authentication.strategy", ++ "fastapi_users.authentication.strategy.db", ++ "fastapi_users.authentication.transport", ++ "fastapi_users.db", ++ "fastapi_users.router", ++] ++ ++package_data = {"": ["*"]} ++ ++install_requires = [ ++ "fastapi >=0.65.2,<0.72.0", ++ "passlib[bcrypt] ==1.7.4", ++ "email-validator >=1.1.0,<1.2", ++ "pyjwt ==2.3.0", ++ "python-multipart ==0.0.5", ++ "makefun >=1.11.2,<1.14", ++] ++ ++extras_require = { ++ "mongodb": ["fastapi-users-db-mongodb >=1.1.0"], ++ "oauth": ["httpx-oauth >=0.4,<0.5"], ++ "ormar": ["fastapi-users-db-ormar >=1.0.0"], ++ "redis": ["aioredis >=2.0.1,<2.1.0", "hiredis >=2.0.0,<2.1.0"], ++ "sqlalchemy": ["fastapi-users-db-sqlalchemy >=1.1.0,<2.0.0"], ++ "sqlalchemy2": ["fastapi-users-db-sqlalchemy >=2.0.0"], ++ "tortoise-orm": ["fastapi-users-db-tortoise >=1.1.0"], ++} ++ ++setup( ++ name="fastapi-users", ++ version="9.2.2", ++ description="Ready-to-use and customizable users management for FastAPI.", ++ author="François Voron", ++ author_email="fvoron@gmail.com", ++ url="https://github.com/fastapi-users/fastapi-users", ++ packages=packages, ++ package_data=package_data, ++ install_requires=install_requires, ++ extras_require=extras_require, ++ python_requires=">=3.7", ++) |