pychordpro

A simple package to create, edit, compile files in the ChordPro file format.


Keywords
chordpro, music
License
MIT
Install
pip install pychordpro==0.1

Documentation

pychordpro

pychordpro is a simple Python package that allows to easly interact with the ChordPro file format.

Installation

To install the package you can simply type:

pip install pychordpro

Example Usage

from pychordpro import Song

song = Song(filename='mysong.cho', notes='latin')
song.open()

print(song.read())

song.transpose(1)
song.config('config.json')

song.compile()

Methods

All the functions and methods are basically Python transcriptions of the command line options for ChordPro, so you will have to install the ChordPro file transformation program as well.

However you can easily see the source code here.

ChordPro installation guides for: