Metadata-Version: 2.4
Name: biologreen
Version: 0.1.0
Summary: The official Python SDK for the Bio-Logreen Facial Authentication API.
Home-page: https://github.com/AtuhurraSolomon/biologreen-python-sdk
Author: AtuhurraSolomon
Author-email: atuhurrasolomon47@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.20.0
Requires-Dist: pydantic>=2.0.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Bio-Logreen Python SDK

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

## Installation

```bash
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}")
