Skip to main content

FastAPI Users - Database adapter for Tortoise ORM

Project description

FastAPI Users - Database adapter for Tortoise ORM

Tortoise orm database adapter for fastapi-users v10 and above. If you want an example of a project using this or just bootstrap your project with fastapi-users and tortoise, you can check out the cookiecutter I'm working on here.

pypi python MIT License black


Documentation: https://tobi-de.github.io/fastapi-users-tortoise

Source Code: https://github.com/tobi-de/fastapi-users-tortoise


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.

Installation

pip install fastapi-users-tortoise

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-tortoise-0.2.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

fastapi_users_tortoise-0.2.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file fastapi-users-tortoise-0.2.0.tar.gz.

File metadata

File hashes

Hashes for fastapi-users-tortoise-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0c725855a68fa060cd5aa58799b7ddda7c27c5ef2a468ee3f389b2fd190c9be8
MD5 0e63dd09c14283ad1fd2bf7b559b8cef
BLAKE2b-256 66b5b1dc6eadaac1b473a076353f8ee3ca9a60a611eb75204b7532937e93873b

See more details on using hashes here.

File details

Details for the file fastapi_users_tortoise-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_users_tortoise-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd1904e52bc557623c4511e8feef881d7efef6263312ed69808ba042c9c91778
MD5 3823143010bc1096e3739f206f2734a9
BLAKE2b-256 e28cfb16dcb99290f1090f878537e01b6f2e5431f342ba3acc9d6ebd6c26907c

See more details on using hashes here.

Supported by

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