Skip to main content

Python package for musicgpt

Project description

musicgpt

A Python wrapper for the musicgpt public api endpoints.

Installation

pip install musicgpt

Usage

from musicgpt import MusicGPTClient

client = MusicGPTClient("api_key_here")
conv= client.music_ai(prompt = "create song about generating music using ai")
result = client.wait_for_completion(task_id = conv.task_id, conversion_type = conv.conversion_type)
print(result)

Development

  • Install dev dependencies:
    pip install -r dev-requirements.txt
    
  • Run tests:
    pytest
    

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

musicgpt-0.0.0.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.

musicgpt-0.0.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file musicgpt-0.0.0.tar.gz.

File metadata

  • Download URL: musicgpt-0.0.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for musicgpt-0.0.0.tar.gz
Algorithm Hash digest
SHA256 5bf2fdefcfd6a66b8e363ab0d82207575a79577f7550e76275663e768293f49c
MD5 104176ae4c835d3cb0cc50ca35e6f274
BLAKE2b-256 7be73be538e91a39f3221e6dd5a4f76871f30e1c9dcc4d8c5e2c56e89620070c

See more details on using hashes here.

File details

Details for the file musicgpt-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: musicgpt-0.0.0-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.10.14

File hashes

Hashes for musicgpt-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87d291f5709385f3ec239c6db6499e74fe2ed85804360042c557a53d402cb19b
MD5 adeb4a07f465b681c64d438e8c6d4087
BLAKE2b-256 222ab9ec3df6ac813626eb303a26933b1fbb2e581f230b9509262743909517d8

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