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 |
a4 (default) or letter |
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.2.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.2.tar.gz.
File metadata
- Download URL: chordpro_pdf-0.1.2.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 |
2238e0679804c80682fce820ae5b1f8aa10b26d99f1bdf2134bc6ec8f5c9040a
|
|
| MD5 |
df94447201a97c42516013b0d5a5ce52
|
|
| BLAKE2b-256 |
c449a55773e23aa3d48b68a3392c8edfcafc99c801dcd38353fc77e9a066888b
|
File details
Details for the file chordpro_pdf-0.1.2-py3-none-any.whl.
File metadata
- Download URL: chordpro_pdf-0.1.2-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 |
8f5946fd4b1f0946181515c376e75efd1bfc70e64893fc81198347067dec7da2
|
|
| MD5 |
0819c087e6c4da5c0df15ac382633497
|
|
| BLAKE2b-256 |
d3f564e29452f79db2ef4c58e07251bc1be70b4f4a968d949a6b517760840d7a
|