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

Uploaded Source

Built Distribution

suvvyapi-2.0a5-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: suvvyapi-2.0a5.tar.gz
  • Upload date:
  • Size: 9.2 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.0a5.tar.gz
Algorithm Hash digest
SHA256 4c451fa6e1b5e5d0918fe4e7576524e26d543171d3d845db3e4795fe0d02b46d
MD5 9bb1f2f301dd0d2fe5eda320db877525
BLAKE2b-256 bd346c35c92439c15d2a0a76f655114c7bbdebba71ca85ac597cde061105a409

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: suvvyapi-2.0a5-py3-none-any.whl
  • Upload date:
  • Size: 12.1 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.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 92f9f64a365fa22f605667412a5cfb4dbf81bf0cdb59883cf4b01e7789b78752
MD5 c1041c3d6d6a6e57b07e8b66ced6d17a
BLAKE2b-256 4c7991bc95163726941811d6a402e39fd1859f591acdd99744872a4e1df4372c

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