Skip to main content

A Python-based software environment for developing algorithmic art projects.

Project description

PythonMusic

PythonMusic is a Python-based software environment for learning and developing algorithmic art projects. It mirrors the JythonMusic API.

Full documentation, tutorials, and examples live at pythonmusic.org. This README covers only the essentials.

Installation

Requires Python 3.12+ and a C++ compiler (some dependencies build native code). On Linux, install portaudio first.

# Windows/macOS
pip install PythonMusic

# Linux (Debian/Ubuntu)
sudo apt-get install portaudio19-dev
pip install PythonMusic

If installation fails for lack of a compiler, install the Visual Studio Build Tools (Windows) or Xcode (macOS), then retry. See the site for full setup help.

The first time you import music, PythonMusic offers to download a default soundfont (FluidR3 GM) to a local cache for MIDI playback.

PEM editor

PythonMusic ships with PEM, a customized Python editor (a hard fork of IDLE). After installing, run:

pem <filename.py>

License

PythonMusic and PEM are free software under the GNU GPL v3 or later (see LICENSE). PythonMusic derives from JythonMusic, which is also GPLv3.

  • PEM's IDLE-derived components remain under the Python Software Foundation License v2 (LICENSE-PSF).
  • The bundled nevmuse metrics component is a separate work with its own terms (see src/PythonMusic/nevmuse/NOTICE.txt).

For full licensing details, see LICENSE and LICENSE-PSF.

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

pythonmusic-1.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

pythonmusic-1.0-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file pythonmusic-1.0.tar.gz.

File metadata

  • Download URL: pythonmusic-1.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pythonmusic-1.0.tar.gz
Algorithm Hash digest
SHA256 e7cdc5a72af42226ad24975ceb929ff54e12b131c00fb502cf63025f8f951751
MD5 6ed4ddfb49608b8dd701c5612bf563a5
BLAKE2b-256 0e06102f8b2e83f93b7e1f344221dc9d97c3d098547451849c6d16a0de53c580

See more details on using hashes here.

Provenance

The following attestation bundles were made for pythonmusic-1.0.tar.gz:

Publisher: release.yml on ydhadix/PythonMusic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pythonmusic-1.0-py3-none-any.whl.

File metadata

  • Download URL: pythonmusic-1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pythonmusic-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcbe01f289c673e5b21b83a9ccd6fa002c66ef1b019dbaf9b8cbc994f3a8f8df
MD5 f6a9e127ee73d3fad752631c3d45f1f3
BLAKE2b-256 e4ba6bcf127f58315d68f117a17d69c68b80dc06461831bf6d53efefb69df879

See more details on using hashes here.

Provenance

The following attestation bundles were made for pythonmusic-1.0-py3-none-any.whl:

Publisher: release.yml on ydhadix/PythonMusic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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