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-1.0.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ef583fa068cc5961b08b39d843c910aa2ed55707d8edc39079c4a3db7dffe99 |
|
MD5 | c9b8039764935add9254901bff710bd4 |
|
BLAKE2b-256 | 536eefe82bec949fb76dfdb87602653d03fc6b46bc5cb501ba8ebdf9ef22a8b1 |
Hashes for django_accounts_api-1.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72e5d4b7e325b31893653feeb62bc42696e8a29d407e96fb6cdfce7487583560 |
|
MD5 | fdf8b721a0429ba5721e62907c0e503f |
|
BLAKE2b-256 | 1f8b7c0e95a3b6c1d1e79fcbd97480c0602824096e6bddd46ef1687a816fc7aa |