Skip to main content

A Python client for the ProtoBase authentication API

Project description

ProtoBase Client

A Python client for the ProtoBase authentication API that supports email and username sign-up/sign-in.

Installation

pip install protobase-client

Usage

from protobase_client import ProtoBaseClient

client = ProtoBaseClient()

# Sign up with email
signup_response = client.signup_email("username", "password", "email@example.com")
print(signup_response)

# Sign in with email
signin_response = client.signin_email("username", "password", "email@example.com")
print(signin_response)

# Sign up with username
signup_response = client.signup_username("username", "password")
print(signup_response)

# Sign in with username
signin_response = client.signin_username("username", "password")
print(signin_response)

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

protobase-client-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

protobase_client-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file protobase-client-0.1.0.tar.gz.

File metadata

  • Download URL: protobase-client-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.9

File hashes

Hashes for protobase-client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 10a1c5846ff071d4d3273084b8bba8dfedd561006dd41a40c9b47eb0c6df4fd7
MD5 1afa1380f3ba117dbb10fcc9f0e395d5
BLAKE2b-256 d6eec4d9fa39a84253a1798bc3a948500a799979a02909bef9a20076b159d634

See more details on using hashes here.

File details

Details for the file protobase_client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for protobase_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e8e19b0aa2e4ee727beaf9a05a744aac094e87bf45d37aabe4ae1cc4e163dc
MD5 363e6aabb82d1e56c8b4b0e00015383d
BLAKE2b-256 88be2296212702f35692ac867157e0cd0f09b60595e95dc40cee0dde5b10c34e

See more details on using hashes here.

Supported by

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