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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: suvvyapi-2.0a7.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.0a7.tar.gz
Algorithm Hash digest
SHA256 864305b50c481f1d2274b6f0b7c5b69329901546e30d542b703cbba25da7e4ae
MD5 721ec34ec14c6806f206ae20e3fa65a6
BLAKE2b-256 de2baf430b9fb9fa7e89b9ddc69fd1f959f0c012a8f2f3966ba013dfb1acc1a1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: suvvyapi-2.0a7-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.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 8aa67fdecde51ef1526e003ef1db6b9eabd903b4c6c58d3d2e74bad31c7af0de
MD5 22be4b47f42def149afb436e9f872fa7
BLAKE2b-256 0ba173827bfe5a71cd55c33122e8d1fafca4d8ae4d5b9930f28640631278bffa

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