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.2a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bb47f00009142432e87ccbd12e09a511e394564a9029263cdef14e61ff1724c |
|
MD5 | f3ee7984821d1dcecd57e1eac1919bf2 |
|
BLAKE2b-256 | 6b15aa678f4b29deb1a529975ded9959f9cc57a9082c9dbd685906cbae245f25 |
Hashes for django_accounts_api-0.2.2a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae66a563c2862ad96a9829691c2e7c35d24dbf67ed90b60939ac61d26699e6f |
|
MD5 | da26973ca56ce8f6f8df5e20dbdef5d6 |
|
BLAKE2b-256 | d588a9e7206aff38338f2cec1906501360abb3e95b3694a9364c9ee9237c7d86 |