Skip to main content

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 its 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

  1. Install Poetry https://python-poetry.org/docs/#installation

  2. Use a virtual environment https://python-poetry.org/docs/basic-usage/#using-your-virtual-environment

  3. poetry install --with dev --no-root installs dependencies for development

  4. poetry run pre-commit install installs the pre-commit hooks

  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_accounts_api-1.2.3.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

django_accounts_api-1.2.3-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

Details for the file django_accounts_api-1.2.3.tar.gz.

File metadata

  • Download URL: django_accounts_api-1.2.3.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.11.4 Linux/6.4.6-060406-generic

File hashes

Hashes for django_accounts_api-1.2.3.tar.gz
Algorithm Hash digest
SHA256 889c2449a481e0766267ab42a0d61d731158001b7db959c5939dda00e72966ad
MD5 e0882fb6085767398ddd3435c54ac357
BLAKE2b-256 65ae70c490646d0d28406dc5c61e28bff1fd9cb7e679e5eccfaf52eda74f7b67

See more details on using hashes here.

File details

Details for the file django_accounts_api-1.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_accounts_api-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 853a79a8666117dcac7c3ee8faf5b73001c0c477ffe4df84e33a63bc20cafa88
MD5 9289274ce552d9565f49ffd3feb2e6ab
BLAKE2b-256 f30d58b3d1c462797a4b8147cb5fc4877fe35ba91a59df2c82d90b5d6c94327f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page