Skip to main content

Abjad is a Python API for building LilyPond files.

Project description

Abjad helps composers build up complex pieces of music notation in iterative and incremental ways. Use Abjad to create a symbolic representation of all the notes, rests, chords, tuplets, beams and slurs in any score. Because Abjad extends the Python programming language, you can use Abjad to make systematic changes to music as you work. Because Abjad wraps the LilyPond music notation package, you can use Abjad to control the typographic detail of symbols on the page.

Python 3.12 Python 3.13 https://img.shields.io/pypi/v/abjad.svg?style=flat-square https://img.shields.io/pypi/dm/abjad.svg?style=flat-square https://img.shields.io/badge/code%20style-black-000000.svg

Abjad’s documentation is available here: https://abjad.github.io

Abjad’s install instructions are tested on macOS and Linux.

Abjad requires Python 3.12 (or later):

~$ python --version
Python 3.13.3

Abjad requires LilyPond 2.25.26 (or later).

Make sure LilyPond is installed: http://lilypond.org/development.html

Make sure LilyPond is callable from the commandline:

$ lilypond --version
GNU LilyPond 2.25.26 (running Guile 3.0)

Copyright (c) 1996--2023 by
  Han-Wen Nienhuys <hanwen@xs4all.nl>
  Jan Nieuwenhuizen <janneke@gnu.org>
  and others.

This program is free software.  It is covered by the GNU General Public
License and you are welcome to change it and/or distribute copies of it
under certain conditions.  Invoke as `lilypond --warranty' for more
information.

Create a Python 3 virtual environment for Abjad: https://docs.python.org/3/tutorial/venv.html

Activate the virtual environment and then use pip to install Abjad:

~$ python -m pip install abjad

Start Python, import Abjad, start making music notation:

~$ python
>>> import abjad
>>> note = abjad.Note("c'4")
>>> abjad.show(note)

Join the Abjad community: https://abjad.github.io/appendices/community.html

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

abjad-3.29.tar.gz (459.9 kB view details)

Uploaded Source

Built Distribution

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

abjad-3.29-py3-none-any.whl (427.6 kB view details)

Uploaded Python 3

File details

Details for the file abjad-3.29.tar.gz.

File metadata

  • Download URL: abjad-3.29.tar.gz
  • Upload date:
  • Size: 459.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for abjad-3.29.tar.gz
Algorithm Hash digest
SHA256 0975b343b6d35f7e81dae31cf4506d52b241ee8422a5cf1fb15ad132f595f4dc
MD5 05e4ecf0324c84c7c552b9ce6b06a285
BLAKE2b-256 4b74b4c955868f88d72dbf16b145ccf57f8e93dde574059ae05de41aa814754c

See more details on using hashes here.

File details

Details for the file abjad-3.29-py3-none-any.whl.

File metadata

  • Download URL: abjad-3.29-py3-none-any.whl
  • Upload date:
  • Size: 427.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for abjad-3.29-py3-none-any.whl
Algorithm Hash digest
SHA256 25d83eb8ebe38f182eecac5adecaf10d52fa594281c1458c68021f48b1ced137
MD5 5c35803982e9945fec2730239e621eb6
BLAKE2b-256 e69ba1f4fed441da8b8f4cdc4c46f74a6155f86a9bcf1a73e4a6e0e1aef26831

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