Skip to main content

A Python API wrapper for Suvvy AI API

Project description

SuvvyAPI

Supported Python versions PyPI version PyPI downloads Code style: black Formatted with: isort Checked with mypy

About SuvvyAPI 📘

SuvvyAPI is an asynchronous Python API wrapper built on top of httpx and pydantic for the Suvvy AI API, offering an easy and Pythonic way to interact with the Suvvy AI services.

Installation 🛠️

To install SuvvyAPI, simply use pip:

pip install -U suvvyapi

Usage 🚀

Synchronous Usage

You can use SuvvyAPI synchronously as follows:

from suvvyapi import Suvvy, Message

suvvy = Suvvy("YOUR_TOKEN")
history = suvvy.as_history("random_id")
response = history.predict_add_message("Hi!")

Note: Replace "YOUR_TOKEN" with your actual token from Suvvy AI.

More in documentation

Troubleshooting 💡

For issues and troubleshooting, please refer to the issues section on the GitHub repository.

Contribution 👥

Contributions are welcome. Please fork the repository, make your changes, and submit a pull request.

License 📄

SuvvyAPI is released under the MIT License.

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

suvvyapi-2.0a3.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

suvvyapi-2.0a3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file suvvyapi-2.0a3.tar.gz.

File metadata

  • Download URL: suvvyapi-2.0a3.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.1.0

File hashes

Hashes for suvvyapi-2.0a3.tar.gz
Algorithm Hash digest
SHA256 42b112d2892c17cf1772c298bc4f67f8740d901a51131a521699551b17a81b81
MD5 26d208b00224a55e8d54d490d4144cc8
BLAKE2b-256 85d76c298c93bcef4e4ff6749d8a6b4de71608e5cbcd7ddfb6e2d589dd015458

See more details on using hashes here.

Provenance

File details

Details for the file suvvyapi-2.0a3-py3-none-any.whl.

File metadata

  • Download URL: suvvyapi-2.0a3-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.1.0

File hashes

Hashes for suvvyapi-2.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 603a456743d8f568b4dffc62f5090b97bd968c33dcf325639e3d12d2931b3ac3
MD5 997f496344b72b9ff1645de5aab5e070
BLAKE2b-256 ba7a57eb7bc8b53aaae8bf3643a38a3c5bffbc4efc4ce848120da35c2d52fc60

See more details on using hashes here.

Provenance

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