abcforge
CLI for converting music notation from Guitar Pro, MusicXML into .abc (supports interleaving).
Why? Existing tools like abctoolkit have subtle bugs (patched here) for abc interleaving. The abc2xml script by W.G. Vree has been made importable and easily usable in batch mode. Finally we add a wrapper around MuseScore that batches conversions.
We hope this is useful for reproducability in MIR research for pipelines such as CLAMP3.
Install
pip install abcforge
# or run without installing:
uvx abcforge --help
Commands
abcforge gp2xml <input_dir> <output_dir> # .gp/.gpx/.gp5 → .musicxml (requires MuseScore)
abcforge xml2abc <input_dir> <output_dir> # .musicxml → .abc
abcforge abc2abci <input_dir> <output_dir> # .abc → interleaved .abc
abcforge view <file> # open .abc or .musicxml in browser
All batch commands accept --workers N (default: cpu count), --resume (skip already-converted files), and --log <path> (errors to file instead of stderr).
Viewer
abcforge view opens files at abcviewer.sven.zone. Supports both ABC notation and MusicXML — the viewer auto-detects the format and renders MusicXML via OpenSheetMusicDisplay.
abcforge view song.abc
abcforge view song.musicxml
abcforge view song.abc --url # print URL only, don't open browser
Notes
- MusicXML → ABC conversion uses xml2abc by W.G. Vree (LGPL).
- The vendored
abctoolkitis a patched fork of abctoolkit 0.0.6 with fixes for voice attribute parsing and bar splitting. Do not replace it with the PyPI version. - MuseScore must be installed for
gp2xml.
Metadata
Release files for abcforge 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| abcforge-0.1.1.tar.gz | 56.2 kB | Without provenance | Details for abcforge-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| abcforge-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for abcforge-0.1.1-py3-none-any.whl |
Total release size: 126.2 kB
Release files / abcforge-0.1.1.tar.gz
| Download URL | abcforge-0.1.1.tar.gz |
|---|---|
| Size | 56.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
655cdd67013efe071ca5b203453ea746affd7e320b76c2171743000b57293bce
|
|
BLAKE2b-256 checksum How to use checksums |
3e8127593aef738ffbec17757e54109e0d063a88ac2775ef975ef6b1e3481004
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.8
|
Release files / abcforge-0.1.1-py3-none-any.whl
| Download URL | abcforge-0.1.1-py3-none-any.whl |
|---|---|
| Size | 70.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
030f8041844bfa0d5658f63e765c175e7ef7b14578ea5ebcdab1a900fee74e41
|
|
BLAKE2b-256 checksum How to use checksums |
cfcf302240bb7b88d5b0d301963079d291f41ee060b45d514e6bbd83135d50dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.8
|
Security for abcforge 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.