FastAPI Users database adapter for ormar.
Project description
FastAPI Users - Database adapter for ormar
Ready-to-use and customizable users management for FastAPI
Documentation: https://frankie567.github.io/fastapi-users/
Source Code: https://github.com/frankie567/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 ormar 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fastapi-users-db-ormar-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e5bcf83ca7512d026a2fb55290a7858f8e9a31c33154c9ef73b593876a9e3f6 |
|
MD5 | 2360b7726104884e7ac84ce9e25f7aaa |
|
BLAKE2b-256 | c1dd9bac386383b5c20f6d8391d4c7ab1a0457a3ae7d2621ba4e81fd6de4ee9a |
Hashes for fastapi_users_db_ormar-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a70a03242f65f882ba11961c241931d1fd7d13e831689f2ad3fe4322b8c06b9b |
|
MD5 | 34cda225d5b778a1589369e9dfee92bc |
|
BLAKE2b-256 | 316ff2253f949754b7c9621341de895c2aeb2e999919e2ab264d95bb1b36e1e1 |