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.1a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96ca1f7fdf0b28460f913d7e5a24c5cfcbcec1d46518a64a7b1c15c4638b4f22 |
|
MD5 | 6bc8bef7c85ed947a637aad5e91b7cef |
|
BLAKE2b-256 | 94eeee47a313b1ce3cda9d9034eaeaaaa716ce5cd6fd74e0d0456e6f1f71c43b |
Hashes for django_accounts_api-0.2.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d50ce9ee064b9716eb338cd8e46c2bd8ad8d7a3ad870ccaf5755d21b8e32ce8 |
|
MD5 | b2eb1d1f0da789d8425441232a0fcf81 |
|
BLAKE2b-256 | f4dfb257f81acf1c0e2018084fc87448d3d0d22e2878819183d8a607a4f4b022 |