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

Uploaded Source

Built Distribution

musdl-2.0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for musdl-2.0.1.tar.gz
Algorithm Hash digest
SHA256 0f4c6c0def004cee5763f27606483b72b1044fe9044943dc11d59b0476559cc4
MD5 aa00920106eeb3ce61d99802b2dc978c
BLAKE2b-256 8efd031299f72ae6c2ce8500a183a2759380292ec0283fb3546a674271aefb2b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for musdl-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 50e15640175a2485b29fa411da42c217eade6b2fd9d6ddf8f008913990370a9f
MD5 c1cb0300b1b771cc6154d00bd3c46cf8
BLAKE2b-256 e1f80783a384b70503821003585b68798de573d82d60ccceec31562179ee967d

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