No project description provided
Project description
Django Accounts API
Scenario to support is a compiled javascript capable frontend needing to provide authentication features over api
Caveat enptor, very early days, still being tested in it's first project
Requirements
- Python 3.7 - 3.11
- Django 3.2 - 4
Usage
pip install ...
or equivalent- add
'django_accounts_api',
to INSTALLED_APPS - add
path('/accounts_api/', include('django_accounts_api.urls'))
to your urls - implement your frontend to use the urls
Features
See docs...
Development
-
Install Poetry https://python-poetry.org/docs/#installation
-
Use a virtual environment https://python-poetry.org/docs/basic-usage/#using-your-virtual-environment
-
poetry install --with dev --no-root
installs dependencies for development -
poetry run pre-commit install
installs the pre-commit hooks -
pytest
runs tests
Tox
To run tox you will need to make sure that the range of python versions required are available for tox to use.
Recommendation: use pyenv
pyenv install 3.7 3.8 3.9 3.10 3.11
pyenv local 3.7 3.8 3.9 3.10 3.11
tox
Documentation
cd docs
make html
TODO: add to tox
Linting & formatting
TODO: add to tox
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 django_accounts_api-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09652b379144a89ec21da21defd29d07232690b76a76bf41021571bf864e73cd |
|
MD5 | 5b38c0b53e5ba130aad9dcd21012a9fd |
|
BLAKE2b-256 | 10131e100edeb5dfaa72f48e84933afc140070cfe9a8ed06a9b608801817755e |
Hashes for django_accounts_api-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33e89e6376880e1df2ee548e15c93fbaf31d144ef0704562533fda99631ff3d8 |
|
MD5 | 2b819f7498f4ced277da391ac763f848 |
|
BLAKE2b-256 | b9c3fc87434e9638b6dc6560311d9f74792d7ec1ef3ce99c65383ea2b02f4622 |