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.3.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11cbd7a0340435b5eaa0e24f357c6d71d6a957af44eeddbdf9006b2170457d59 |
|
MD5 | d9d06393a5b345de5d8dda139cadf060 |
|
BLAKE2b-256 | 98711364d344b20abcc14fa3b993e3888ac55554c82cb098c4acff362957a55f |
Hashes for django_accounts_api-0.3.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b33812539040c7310fd37b7ba1d7445d28592b55879430c019d64d90055dd98d |
|
MD5 | 927d2dfc4e9557a9ba25e41535ed4d2d |
|
BLAKE2b-256 | 9ce1455cf3ddc8796bbf23603ec07b817b31c2cbd08ed9f53ccb648f8418bd29 |