FastAPI Users database adapter for Beanie
Project description
FastAPI Users - Database adapter for Beanie
Ready-to-use and customizable users management for FastAPI
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 Beanie 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-beanie-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec3a27fab900b20934cd5e60444d78b1512ab5855f8e27c5fd626f42ac7a987a |
|
MD5 | 94ad80d70fe50bb31ac3f0bd55e566a0 |
|
BLAKE2b-256 | 48cffe67c52e61467c7313597c271a76025e91f1b6342d3c1592dee9582ef34d |
Hashes for fastapi_users_db_beanie-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 053d00370a070f26b3a4d3d86aadf1a18d98701bc4f2a8a61c47b81f6b9a98a1 |
|
MD5 | 7bb9a8967aab772ad33bf02ccc65c08f |
|
BLAKE2b-256 | ac4ced17425e34e6da958739dc74eb071ad98a2e2ef234758b6779e6c8c84987 |