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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d357e28156b80d3ce279ec39bdf91a662f1ddbab0e88a76a9214adca3fff1a99 |
|
MD5 | 607617e9d4cfc37f79b60e6ec7149189 |
|
BLAKE2b-256 | 7e357b9c19e03eb0eadd40e98d77df8dae2abe89775be07afa91559c12dcc529 |
Hashes for django_accounts_api-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3250fd5a327f2b7a52be380a3ae6bd93e9133afd762e03455c99358eba5cae6 |
|
MD5 | c3f1f1b05f73977efcc3fef88bcc8136 |
|
BLAKE2b-256 | 51d43aec3623f0c3654b4fc6d2eb9d90e67b61b03eaca35325eadfa2b85a32c8 |