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.22.tar.gz (7.4 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.22-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mangoapi-1.0.22.tar.gz
  • Upload date:
  • Size: 7.4 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.22.tar.gz
Algorithm Hash digest
SHA256 de8fb5223a4c2a02751052d43455eabb50f78654f68eb357ef42879e09551037
MD5 2fd5e6172ec909449f26f31e04f2875d
BLAKE2b-256 d6e50a26d8c8d11f4ef5cdf5537f2f42b7866395cbf0e89616f72960acd9ed93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mangoapi-1.0.22-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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.22-py3-none-any.whl
Algorithm Hash digest
SHA256 1c70203384c70882f5346b408159000181acfce565d993289db81f2671878618
MD5 eb3a12a47258427d4d34f44d598ec573
BLAKE2b-256 004bc948ffaf30a2e01ea0c68761b6518cff67ec9192c6f95acb1b90762f6436

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