Convert ChordPro files to PDF music sheets with ukulele chord diagrams
Project description
ChordPro
A Python tool that converts ChordPro files to PDF music sheets with ukulele chord diagrams.
Features
- Parses standard ChordPro format (
.cho,.chordpro) - Renders PDF with lyrics, inline chord names, and 4-string ukulele chord diagrams
- Supports verses, choruses, tabs, and chorus recall
- Custom chord definitions with fret and finger positions (GCEA tuning)
- Metadata directives: title, subtitle, artist, key, tempo, time, capo
- Letter and A4 page sizes
Installation
pip install chordpro
Requires Python 3.8+.
Usage
chordpro input.cho -o output.pdf
Options
| Flag | Description |
|---|---|
-o, --output |
Output PDF path (defaults to input.pdf) |
--page-size |
letter (default) or a4 |
ChordPro Format
{title: Amazing Grace}
{key: G}
{define: G base-fret 1 frets 0 2 3 2 fingers 0 1 3 2}
{define: C base-fret 1 frets 0 0 0 3 fingers 0 0 0 3}
{start_of_chorus: Chorus}
A[G]mazing [C]grace, how [G]sweet the sound
{end_of_chorus}
Chords are placed inline using [ChordName] notation. See sample.cho for a complete example.
License
MIT
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
chordpro_pdf-0.1.0.tar.gz
(11.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chordpro_pdf-0.1.0.tar.gz.
File metadata
- Download URL: chordpro_pdf-0.1.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e129a4dd2d712b49e6810ff416c9260ea7ba115f5791ebaa26f8a935fc833292
|
|
| MD5 |
b0b0ce1df49d258c10b248dc1a3bb72b
|
|
| BLAKE2b-256 |
f3d4923c54d220c86ae23719e1a14a58260b0b4d8c075b88b4d5b9ff98f803f6
|
File details
Details for the file chordpro_pdf-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chordpro_pdf-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4a0c3d189fa9d196df06e38f9b7421ee09355340821c1ca66f984c82fc7c257
|
|
| MD5 |
91511be1d850b536b5948d97baa9fd40
|
|
| BLAKE2b-256 |
051a2c4a708e1a04ee13bdef3b981a9b7d2528efa7597b7b7a4406fb59b722af
|