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
nevmusemetrics component is a separate work with its own terms (seesrc/PythonMusic/nevmuse/NOTICE.txt).
For full licensing details, see LICENSE and LICENSE-PSF.
Release files for PythonMusic 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pythonmusic-1.2.2.tar.gz | 1.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pythonmusic-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.7 MB
Release files / pythonmusic-1.2.2.tar.gz
| Download URL | pythonmusic-1.2.2.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f68fc599650f135da9d3b550c166cd500f2f64cc8ad9ab4d116db84d5fdb7396
|
|
BLAKE2b-256 checksum How to use checksums |
f3503c98da5f378ff04e2cabfaa07548dc8cc7082e74ce12b2885ab359af4a32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.
Transparency logRelease files / pythonmusic-1.2.2-py3-none-any.whl
| Download URL | pythonmusic-1.2.2-py3-none-any.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5bde0f5d2dd19ab47912c4a2dec0103f4827ba2a9ed9b39b82a3fc5a03e2f8f
|
|
BLAKE2b-256 checksum How to use checksums |
70b60943d957ac14037dcbb4554f0c441ed09fd2fde62948213b9b0f004fd035
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.
Transparency log