Skip to main content

"A python app to download sheet music from flowkey and save it as pdf."

Project description

flowkey_dl

A python app to download sheet music from flowkey and save it as pdf.

installation

This is a python3 app, that can be installed with pip:

python3 -m pip install flowkey_dl

To get the latest dev version from git, clone the repository and install from the folder.

git clone https://github.com/MatthiasLienhard/flowkey_dl.git
cd flowkey_dl
python3 -m pip install .

The gui of the app depends on tkinter which should be included with all standard Python distributions. If you get import errors, try installing it manually, e.g. in linux with

sudo apt-get install python3-tk

usage:

GUI:

In a terminal, run

flowkey-dl

Go to flowkey.com, select a song or lesson and right click on the sheet track at the bottom of the page. Select "Copy image adress" and paste this url (e.g. https://flowkeycdn.com/sheets/XXXX/150/0.png) into the url filed of the app. Click on "load" and the sheet is downloaded and aranged. If you enter title and author, it gets added to the sheet. Optionally adjust layout, scale and font size and select measures (e.g. 1,3,5-10 would select only measures 1, 3 and 5 to 10). Click save to save the sheet as pdf.

If the font size does not change, you probably do not have the fonts installed. Try installing either FreeMono or arial as ttf.

CLI:

To start the command line interface run

flowkey-dl-cli <URL> [<PDF-Output-Path>] [-t <title>] [-a <artist>]

This will download the sheet music for the provided flowkey url and export it in pdf format.

The base url refers to the url from flowkey as described above (e.g. https://flowkeycdn.com/sheets/XXXX/<...>) and is required.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flowkey_dl-0.1.4.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

flowkey_dl-0.1.4-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page