Skip to main content

The official Python SDK for the Bio-Logreen Facial Authentication API.

Project description

Bio-Logreen Python SDK

The official Python SDK for the Bio-Logreen Facial Authentication API.

Installation

pip install biologreen

Usage

from biologreen import BioLogreenClient

client = BioLogreenClient(api_key="YOUR_SECRET_API_KEY")

try:
    # Sign up a new user
    new_user = client.auth.signup_with_face("path/to/image.jpg")
    print(f"New user created with ID: {new_user.user_id}")

    # Log in an existing user
    existing_user = client.auth.login_with_face("path/to/image.jpg")
    print(f"Login successful for user: {existing_user.user_id}")

except Exception as e:
    print(f"An error occurred: {e}")

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

biologreen-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

biologreen-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file biologreen-0.1.0.tar.gz.

File metadata

  • Download URL: biologreen-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.6

File hashes

Hashes for biologreen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 62a3b558e6aea400e316354da26ca2ed8b3463c0e9a43514b0ceaa48b488000e
MD5 f31e24885cd560173cb3ed2ac742a001
BLAKE2b-256 1de3fa04904b59ff63e1fca9fe4916b0439f344ca9d295cb74963ae7b6003f2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: biologreen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.6

File hashes

Hashes for biologreen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 733225b25f9e525885a095c370a18925e7cd3fc6736a2ca71a2e87f98ab62cf2
MD5 6bc9e716e37b68851532cfac2e6249bb
BLAKE2b-256 98caa36548fec4ee23e6aabbe7bf9b9a9c5210eee6fbccdb983fdac091c57026

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