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.1a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91b9f134abbfd2761617028b8c3489e593bdcdd825170e970e7d2a816783cb96 |
|
MD5 | 95ffd51c0c55a079b387ee47531205bc |
|
BLAKE2b-256 | 16e48af8c429ce6bcd8086deedc8cd2297449d7e4b13c007a140060a75d4bafd |
Hashes for django_accounts_api-0.3.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71bb81d8a9ed3d7fcce7adecbc2e31278ca8f4d1be54c4dd75fb382a74dae846 |
|
MD5 | 69250d242158b614d9a1213e049b8abb |
|
BLAKE2b-256 | f957c9723cdb2cfe0416649dce0202b78c38d836831419629eb309d08031a0fc |