Skip to main content

Agape Authentication library.

Project description

Agape Auth

The auth package provides a User model and an API for authenticating and registering users. It includes an account recovery API for resetting passwords and the User model can be extended dynamically.

Quick start

  1. Add the desired applications into the INSTALLED_APPS setting like this:

    INSTALLED_APPS = [ ... 'agape.authentication', ]

  2. Include the URLconf in your project urls.py like this:

    url(r'^/api/, include('agape.authentication.urls')),

  3. Run python manage.py migrate agapeAuth to create the models.

  4. Start the development server and visit http://127.0.0.1:8000/

Developer Instructions

Testing

There are 3 different runtests_*.py files. Each one runs tests using a different configuration file. There is also a runtests.sh file which will run all all of the runtests_*.py files.

./runtests.sh

venv/bin/python runtests_default.py

...

Packaging & Distribution

Instead of calling python setup.py sdist directly use the build.sh script. This script sets the version number in setup.py, builds the package, and releases to the loca repository if the $REPO variable is set.

./build.sh

Installation

pip install agape-auth

License

Copyright (C) 2017-2020 Jeffrey Hallock, Maverik Software

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

See the [LICENSE.md](LICENSE.md) file for details.

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

agape-auth-3.0.8.tar.gz (17.3 kB view details)

Uploaded Source

File details

Details for the file agape-auth-3.0.8.tar.gz.

File metadata

  • Download URL: agape-auth-3.0.8.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for agape-auth-3.0.8.tar.gz
Algorithm Hash digest
SHA256 71a77cb4b08e4b01fd55c24b797b45e63aa706c2aabb175a18f1cc688105422d
MD5 0f3ced441870530da81e7348905ae362
BLAKE2b-256 40add0088d35d61d1497d67fe41ba7dec5571e675895bca9764f992a488c179d

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