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
Release history Release notifications | RSS feed
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.4.0.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file lilyponddist-0.4.0.tar.gz
.
File metadata
- Download URL: lilyponddist-0.4.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeb5dd1bde48164a3301d8d7198cc38675ff4cc2e2d2d0a3afdfc1447c6fb75e |
|
MD5 | 5251c885b99718bfbaefdb8115ad4e30 |
|
BLAKE2b-256 | 35ae033d91d4ed6788822f61f8a9af769cbb998f36af2eb577b86f6d9db9b0ac |
File details
Details for the file lilyponddist-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: lilyponddist-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21e2a3781b274f8659074036f71704d42a0ef9d8e011fd72d32013683b61c037 |
|
MD5 | 19c76bb086062e8dc0efde7800601d4c |
|
BLAKE2b-256 | 7ff2f131a40232d4fc2b0670d30f2e3bc9d8dd714174c11b2a46f607abbc8128 |