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.
Metadata
Release files for PythonMusic 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pythonmusic-1.2.3.tar.gz | 1.3 MB | With provenance | Details for pythonmusic-1.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pythonmusic-1.2.3-py3-none-any.whl | Python 3 | none | any | Details for pythonmusic-1.2.3-py3-none-any.whl |
Total release size: 2.7 MB
Release files / pythonmusic-1.2.3.tar.gz
| Download URL | pythonmusic-1.2.3.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6e1e1f8ccf1ba08e6d5b9283ff3b5f490ee84a9efc95501acd542403bcd6714
|
|
BLAKE2b-256 checksum How to use checksums |
4e19b2697f984d49e8059106afc0800bc7be5b64b987e16605150c0938baff78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 22, 2026.
Transparency logRelease files / pythonmusic-1.2.3-py3-none-any.whl
| Download URL | pythonmusic-1.2.3-py3-none-any.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfb41b9db856b74acc32be35446ab29b77940b5b96118430b523f397465a4470
|
|
BLAKE2b-256 checksum How to use checksums |
e7a049b20db8160e39074ee499c2cd0644c4894616048490dca7ea26ccd5d82c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 22, 2026.
Transparency logSecurity for PythonMusic 1.2.3
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pythonmusic-1.2.3.tar.gz
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 Oct 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.