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.0a6.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

suvvyapi-2.0a6-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: suvvyapi-2.0a6.tar.gz
  • Upload date:
  • Size: 10.6 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.0a6.tar.gz
Algorithm Hash digest
SHA256 0ca6203570c8494f2ee57b2f65d180779abff033b58e200091a339edf3d7c91a
MD5 e85fba3d91e7157e38b996a6afa0fe2f
BLAKE2b-256 04ab5ae8a9f07174e115ad87444c6e6f637561ed1582b3bfb5ac8703067f293d

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: suvvyapi-2.0a6-py3-none-any.whl
  • Upload date:
  • Size: 15.6 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.0a6-py3-none-any.whl
Algorithm Hash digest
SHA256 215c4e324ac6739fe82098ad323ef188859413624990a851b47b108a11d5b108
MD5 e026455376c70dcee044be9af71d076b
BLAKE2b-256 0763d3196dddf839516ee9b1b272574bc598098a3b1041e9262dfdf48c44d6ac

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