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(Message(text="Say hello to Python!"))
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.
Metadata
Release files for suvvyapi 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| suvvyapi-1.0.2.tar.gz | 25.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| suvvyapi-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.8 kB
Release files / suvvyapi-1.0.2.tar.gz
| Download URL | suvvyapi-1.0.2.tar.gz |
|---|---|
| Size | 25.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b10bdfb58b7b648a42dc7c0c73ef29649bbfd741b196ebb344850a447f5e142
|
|
BLAKE2b-256 checksum How to use checksums |
3b2bd4448225c3973e556df0b2bda86f0a46088bb290c2183f27f2b65af81dc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.1 Darwin/23.1.0
|
Release files / suvvyapi-1.0.2-py3-none-any.whl
| Download URL | suvvyapi-1.0.2-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3083ba879c05748bb0dadc8d449d33761aa7476749212047bcd58ea9f8172003
|
|
BLAKE2b-256 checksum How to use checksums |
5573ef7ed7a01f9370443c7f63095506515f251afd446aa07fae07ef905a5199
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.1 Darwin/23.1.0
|
Security for suvvyapi 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.