fastapi-authz
Use Casbin in FastAPI, Casbin is a powerful and efficient open-source access control library.
File Explorer
Download Latest Version (.zip)- coverage.yml
- release.yml
- semantic.yml
- jwt_test.py
- test.py
- rbac_model.conf
- rbac_policy.csv
- __init__.py
- middleware.py
- __init__.py
- conftest.py
- test_jwt.py
- test_middleware.py
- .gitignore
- .releaserc.json
- CHANGELOG.md
- dev-requirements.in
- dev-requirements.txt
- LICENSE
- README.md
- requirements.in
- requirements.txt
- setup.cfg
- setup.py
# Installation Guide
git clone https://github.com/pycasbin/fastapi-authz
Downloads the entire project code from GitHub to your computer.
cd fastapi-authz
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install fastapi-authz
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
3. Python
Easypip install fastapi-authz
Installs the package published on PyPI directly β no need to clone the source.
pip install -r dev_requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
pip-compile --no-annotate --no-header --rebuild requirements.in
Type this command into your terminal and run it.
pip-sync
Type this command into your terminal and run it.
Pulled directly from this repo's README.
