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.
- 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
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.3.8.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file ultrastarparser-0.3.8.tar.gz
.
File metadata
- Download URL: ultrastarparser-0.3.8.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b62d9ea9f6428317f456b6f192664d35bdb6b15a75fc20db11d3b65d43f3464 |
|
MD5 | 8027406289a46140fcb7254899e0996b |
|
BLAKE2b-256 | 2cf64f5c0a9c159d272e20fa920b3bf06a578158d5891612ae0983ce5dca8782 |
File details
Details for the file ultrastarparser-0.3.8-py3-none-any.whl
.
File metadata
- Download URL: ultrastarparser-0.3.8-py3-none-any.whl
- Upload date:
- Size: 6.9 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 | eacbbfbe93ec93c905b1790b7e075e64c630774611cb1aca7cea6d137750e2ec |
|
MD5 | 47047750e727c0ecfc28555e70ae0821 |
|
BLAKE2b-256 | cac4e363c632f560bdffd2e34dbbb46759f5ff6f208e0cf5b97da3b19e29bba5 |