Parser for Ultrastar text files.
Project description
UltrastarParser
Contains methods to read or edit ultrastar files or directories.
Installation
Use the package manager of your choice: pypi.
Usage
- Make a backup. Though I try very hard to fix bugs and use the library myself, I cannot guarantee your files won't go up in flames, particularly if you are using a non-standard file structure or encoding. If something does go wrong, please file an issue.
- Use
from ultrastarParser import UltrastarFile, Library
to import - The library contains classes either for managing a single song or a library of songs.
- After editing a song, use
<UltrastarFile>.flush()
to flush changes back to the file system. Any changes made after opening/parsing will be overwritten by this. - Certain formattings will be lost. For example, attributes (like #ARTIST) will always be converted to uppercase. The current goal is to be able to parse files that adhere to the Official Ultrastar Format Specification. For everything else, a best effort is made.
- For the forseeable future, editing the songtext and notes is unsupported
Planned features
- Ability to backup files, for example before overwriting
- Logging
- Better error handling
- Metadata extraction (e.g. song duration from audio file)
- Comparison between ultrastar files
- Exporting a library as json, csv with different tags included
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ultrastarparser-0.4.0.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file ultrastarparser-0.4.0.tar.gz
.
File metadata
- Download URL: ultrastarparser-0.4.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd0030e224b34aa2331fa16c3e79a3c50f1bc448cc149f2b76f1a43f3d9524b0 |
|
MD5 | 4cc7527203dea97d4898bda94a759d43 |
|
BLAKE2b-256 | e0789ea834c525dedbb3ce82bb12a2106303d3eb1cbe0fde7d429e22d008d582 |
File details
Details for the file ultrastarparser-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: ultrastarparser-0.4.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac6b7792e701dfdff7f2b464910a941db94ab127594b51d2a843a3d6e17448ed |
|
MD5 | eba36580d408090695b1ccfccb3a3e9b |
|
BLAKE2b-256 | 0b373ab5e032db1adb4534553dac0351478d934a66d7051916aac7fc74cba1cc |