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

Uploaded Source

Built Distribution

suvvyapi-2.0a9-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: suvvyapi-2.0a9.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Darwin/23.4.0

File hashes

Hashes for suvvyapi-2.0a9.tar.gz
Algorithm Hash digest
SHA256 10ae6ec27f192659a1654c911dda4e329a984c4d27d6b87388bdc2d66dc1af1c
MD5 97656c14d63f71f508eb5f88f94947f1
BLAKE2b-256 587f94bf3977390572b562dca9a042ba471509f151fa0ef06f1037af67e3a22a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: suvvyapi-2.0a9-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Darwin/23.4.0

File hashes

Hashes for suvvyapi-2.0a9-py3-none-any.whl
Algorithm Hash digest
SHA256 07b3f7ef49dabf25fb4a2b34b664a7e7b04e4681b4a7425eb60b92183b24b6c4
MD5 6a192e025b10888276f790a4411496e1
BLAKE2b-256 67cf7c1be2feeab066fd351ea224711e11391f9e2d62779e9b8eda31b2d71086

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