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-pdf
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.1.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.1.tar.gz.
File metadata
- Download URL: chordpro_pdf-0.1.1.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 |
900390a2eaa832aec086f7907c647032c357f66ab94f9c3ca99b6658d976ded8
|
|
| MD5 |
dbb968b05c194960761c5d0d53cc4789
|
|
| BLAKE2b-256 |
e399212bdee01d116c533f48251f75195593537c9821b8cb1a32787db115a5c1
|
File details
Details for the file chordpro_pdf-0.1.1-py3-none-any.whl.
File metadata
- Download URL: chordpro_pdf-0.1.1-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 |
a5356d5aad480e0b45c8b7359265718bf7fdbfc195f1243d4d25ec5e12cca2d7
|
|
| MD5 |
b99c794a4923b45338d0542efda6f70d
|
|
| BLAKE2b-256 |
d307fa1357a705157fadfbb928bcb61a378eed0788b4ac08f27fc9cc0c229887
|