Skip to main content

FastAPI Users database adapter for Tortoise ORM.

Project description

FastAPI Users - Database adapter for Tortoise ORM

FastAPI Users

Ready-to-use and customizable users management for FastAPI

build codecov PyPI version Downloads


Documentation: https://fastapi-users.github.io/fastapi-users/

Source Code: https://github.com/fastapi-users/fastapi-users


Add quickly a registration and authentication system to your FastAPI project. FastAPI Users is designed to be as customizable and adaptable as possible.

Sub-package for Tortoise ORM support in FastAPI Users.

Development

Setup environment

You should create a virtual environment and activate it:

python -m venv venv/
source venv/bin/activate

And then install the development dependencies:

pip install -r requirements.dev.txt

Run unit tests

You can run all the tests with:

make test

Alternatively, you can run pytest yourself:

pytest

There are quite a few unit tests, so you might run into ulimit issues where there are too many open file descriptors. You may be able to set a new, higher limit temporarily with:

ulimit -n 2048

Format the code

Execute the following command to apply isort and black formatting:

make format

License

This project is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi-users-db-tortoise-2.0.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_users_db_tortoise-2.0.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file fastapi-users-db-tortoise-2.0.0.tar.gz.

File metadata

File hashes

Hashes for fastapi-users-db-tortoise-2.0.0.tar.gz
Algorithm Hash digest
SHA256 9d132f79ba87bdb6cef5256ba295ff6a1ac31f9d10816bae13df1ffea7891ba6
MD5 0f31683987af4e3da1297bbd83be3c6f
BLAKE2b-256 98b76d00f6b6f3e9699e03e43bd638acde49537faf5aa5e761afcbb24bb2ced8

See more details on using hashes here.

File details

Details for the file fastapi_users_db_tortoise-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_users_db_tortoise-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a44d2e08b3da0b26fb4d4ce4dffe1d2d3bd4d1cdfd85df8f8e14ce0967bda8f
MD5 1626fac7eab4f6ce7b02aae42e343ff5
BLAKE2b-256 2e0ee8a028183f1ca2f6a473741c5313bc7218a79c47533cf0ec8a8ef6882410

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page