Skip to main content

musdl: Pure Python score downloader for

Project description

musdl

logo

NOTE:

The author of musdl does NOT condone piracy in any way, and is not responsible for anything that happens as a result of piracy arising from the use of musdl.

musdl (Musescore Downloader) is a Python script that I wrote to make it easier to download scores from Musescore. It is meant to be used as a command-line tool, but can also be imported and used as a module:

from musdl import Score

my_score = Score(...)  # the Musescore url goes here
data = my_score.download("mp3")  # download as mp3, returns as bytes

Why?

See the original Javascript version for more infomation.

takedown request something something

Take a look at this issue in the (same) Javascript downloader repo.

Requirements

  • requests - Downloader.
  • beautifulsoup4 - Powerful HTML parser.

Hacking

All my python projects now use flit to build and publish. So you need to python3 -m pip install flit first.

git clone https://github.com/onyxware/musdl
cd musdl
flit build

Install

(python3 -m) pip install musdl

License

MIT.

Changelog

2.0.0

Added -O option to use the score's title as the output filename (y'know, like curl -O). Refactored code to be object-oriented, in the form of the Score class. This should make adding new features easier. (Plus, you can use musdl more programmatically!)

1.1.2

Version bump, use Flit to build instead of setup.py. Updated README too.

1.1.0

Added MusicXML download option, thanks to JPFrancoia for the update!

1.0.0

Initial version.

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

musdl-2.0.2.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

musdl-2.0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file musdl-2.0.2.tar.gz.

File metadata

  • Download URL: musdl-2.0.2.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.24.0

File hashes

Hashes for musdl-2.0.2.tar.gz
Algorithm Hash digest
SHA256 b320f01bd41c422a5e843d5b959e96d1779b5dde0fb4e95d9d0f8dedd3ec8769
MD5 ab7ec8ecc1a1e0cb9b8685a7d70dc1d3
BLAKE2b-256 8e643b8b22753b626e7157f9c2b3ff8eff983284ea78e8f5fafca1e2bc0fafde

See more details on using hashes here.

File details

Details for the file musdl-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: musdl-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.24.0

File hashes

Hashes for musdl-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 04089efa01a649c889391ad40010e2ef7a67f10b3c39be5d060a7a7cfbdac3b1
MD5 0c894bd5786645aa3ab0fa19255ce919
BLAKE2b-256 9ee484d2f3cef4bb3fb83b4451ebd3f9be49debe7f9d994b74053985d8a5ef9d

See more details on using hashes here.

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