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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| fastapi-users-tortoise-0.2.0.tar.gz | 13.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|