Skip to main content

Distribute lilypond as a pypi package

Project description

This package wraps the binary distribution of lilypond, allowing to install it in order to be used from python.

At the moment it is hardcoded to download and install lilypond 2.24.1. The platforms supported are linux x86_64 and windows x86_64. For macos it is recommended to install via homebrew, which supports both x64 and arm64.

At first run it will download the corresponding distribution.

Installation

pip install lilyponddist

Example

import lilyponddist
import subprocess

subprocess.call([lilyponddist.lilypondbin(), '/path/to/score.ly', '--pdf', '-o', '/path/to/output'])

TODO

  • Reimplement this using pooch

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

lilyponddist-0.5.2.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

lilyponddist-0.5.2-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page