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.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36b7c0c7999bb5d122eb74620356de6a8d18c60d849078fe23d032375bdee64a |
|
MD5 | ff14c2767c43e81c041b0a48cc6ef9a9 |
|
BLAKE2b-256 | e37eccabe60453551dc23d45eacf33610300beb2e08fd5561635c42e782e3555 |
Hashes for django_accounts_api-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38e2c43ee99874f4869e2ed21d776ea98ca07bd98a0b5f370565c5686742ec0d |
|
MD5 | a7b0cb64ecd64777f7b2cec4a36740dd |
|
BLAKE2b-256 | 8917085c759d2dfe6df0a6cedfb4795d501d47b67245f9ddbb6656030e339e87 |