Skip to main content

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

  1. 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


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)

Uploaded Source

Built Distribution

ultrastarparser-0.4.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

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

Hashes for ultrastarparser-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fd0030e224b34aa2331fa16c3e79a3c50f1bc448cc149f2b76f1a43f3d9524b0
MD5 4cc7527203dea97d4898bda94a759d43
BLAKE2b-256 e0789ea834c525dedbb3ce82bb12a2106303d3eb1cbe0fde7d429e22d008d582

See more details on using hashes here.

File details

Details for the file ultrastarparser-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ultrastarparser-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac6b7792e701dfdff7f2b464910a941db94ab127594b51d2a843a3d6e17448ed
MD5 eba36580d408090695b1ccfccb3a3e9b
BLAKE2b-256 0b373ab5e032db1adb4534553dac0351478d934a66d7051916aac7fc74cba1cc

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