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.26.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.26-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mangoapi-1.0.26.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.26.tar.gz
Algorithm Hash digest
SHA256 15d44248edef6eb631e39b3aee7bdc01d0f634204064ec9375ec9868b41eb267
MD5 e1c15defa1e0f7e7330395e0cbb9913f
BLAKE2b-256 2ad815e2b0af1dd3c546bc676a58f147ed9991d000e101e6c43cd649f3abb463

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mangoapi-1.0.26-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.26-py3-none-any.whl
Algorithm Hash digest
SHA256 14926b17fdf3f740c18bd252628523b8edf961afb91541ebac8773582aeaf995
MD5 9623743c53661e42484ceb98d9eb399f
BLAKE2b-256 bce5957247d3f360ffe015a023ad77b46bba5da0864ace3422146b8e2afb2310

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