Skip to main content

Python Wrapper For MangiAPI

Project description

MangoAPI

A simple Python client for Mango 🥭. Mango is a simple API that you can use for AI, text generation (LLM), image generation, and more. If you have any queries or need support, reach out at https://t.me/XBOTSUPPORTS.

Installation

Install MangoAPI using pip:

pip install mangoapi

Usage

Here is a basic example of how to use MangoAPI:

from mango import Mango

client = Mango()

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello"}]
)

print(response.choices[0].message.content)

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contact

For support or inquiries, please reach out to us at Telegram Support.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mangoapi-1.0.27.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mangoapi-1.0.27-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file mangoapi-1.0.27.tar.gz.

File metadata

  • Download URL: mangoapi-1.0.27.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mangoapi-1.0.27.tar.gz
Algorithm Hash digest
SHA256 f7995a8f99d38e85e45a130164c0d51b3a77518d5814b61a61aa8f897e7e49f2
MD5 dd87796af25968532106d48bc1589430
BLAKE2b-256 2e2211b76fe1a97200a5f336688949d956987cb5a11aeb6b117097c4a2498268

See more details on using hashes here.

File details

Details for the file mangoapi-1.0.27-py3-none-any.whl.

File metadata

  • Download URL: mangoapi-1.0.27-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mangoapi-1.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 2fbf31ddb53276ac0d8c76571c3f9bfa3a3e253c7e6307a2e274b31e7b2ff1df
MD5 6d57e4da96fd8925e6d07c6aa941fc5b
BLAKE2b-256 cae6db7b55161e3b0f447d6a3fe3688a623bf5534f245376fac5395d9758a5df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page