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.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: musdl-2.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 f96ec7ff248d034a0a4c781f922e055386deab68baef219056d281fbd22ef536
MD5 25125c2c92195bf1e54a3803c8b22253
BLAKE2b-256 fa0749592bf3c6871aac09d55faa952427f9ac6565b46a23198860d664c2a689

See more details on using hashes here.

File details

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

File metadata

  • Download URL: musdl-2.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9a8f213ed58cd35baf7fd4e67898f6897d84900479bf229420632b19db19a16
MD5 0b3e7c50f30d5e13d9374b3b394c223f
BLAKE2b-256 41471c2ac1c35db98fc445cbc10dc049333a26d95585b91bd717603ad0e5956f

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