Skip to main content

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.

Metadata

Release files for fastapi-users-tortoise 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-users-tortoise 0.2.0
File Size Uploaded
fastapi-users-tortoise-0.2.0.tar.gz 13.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-users-tortoise 0.2.0
File Interpreter ABI Platform
fastapi_users_tortoise-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / fastapi-users-tortoise-0.2.0.tar.gz

Download URL fastapi-users-tortoise-0.2.0.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0c725855a68fa060cd5aa58799b7ddda7c27c5ef2a468ee3f389b2fd190c9be8
BLAKE2b-256 checksum
How to use checksums
66b5b1dc6eadaac1b473a076353f8ee3ca9a60a611eb75204b7532937e93873b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.27.1

Release files / fastapi_users_tortoise-0.2.0-py3-none-any.whl

Download URL fastapi_users_tortoise-0.2.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd1904e52bc557623c4511e8feef881d7efef6263312ed69808ba042c9c91778
BLAKE2b-256 checksum
How to use checksums
e28cfb16dcb99290f1090f878537e01b6f2e5431f342ba3acc9d6ebd6c26907c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.27.1

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page