Skip to main content

Auth package for authentication with microservices

Project description

Auth package is crated for authenticating user for microservices. It is in beta version and I don't recomd to use it for production until the stable release.

In order to use auth package first install the package by

pip install auth-package==1.1

then import it

from auth_package import user, permission

api_key = 'test_api_e56643c8-2311-4e25-991f-03d365243f51'

email = 'test@gmail.com' first_name = 'test1' last_name = 'test2' password = 'password'

for creating user

create_user = user.create_user(email, first_name, last_name, password, api_key) user_list = user.user_list(api_key)

for authenticating user

authenticate = user.authenticate_user(email, password, api_key) print(authenticate)

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

auth_package-1.4.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file auth_package-1.4.tar.gz.

File metadata

  • Download URL: auth_package-1.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for auth_package-1.4.tar.gz
Algorithm Hash digest
SHA256 310587ad284877732246be9516f749257b525455c54ac013efcfbbc42bace1e0
MD5 241e46df6f6b49e7fbe68f9d8bac10f7
BLAKE2b-256 948de129eb50a0f41136a82a10f9a6a7e74b12de1a89e2e33841477ae21c7254

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