toolkit for working with lrc files
Project description
LRC Toolbox
Toolkit to work with LRC Files in Python
Usage
from lrctoolbox import SyncedLyrics
# Load LRC file
lyrics = SyncedLyrics.load_from_file("example.lrc")
# check if lyrics are synced
assert lyrics.is_synced
# get lyrics as string
print(lyrics.lyrics)
# shift lyrics by 1 second
for line in lyrics.lines:
line.timestamp += 1000
Development
poetry is used for dependency management. Install it with pip install poetry
and then run poetry install
to install all dependencies.
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
lrctoolbox-1.2.0.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for lrctoolbox-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3fd8e2b7b868bcc75e08bcc170e82da6eba837b9a3450b089dba399f5e11f8b |
|
MD5 | a23498ede936294bab0f46bfe4ba5739 |
|
BLAKE2b-256 | 84bb9278ed8343bb001dc5cae6c50b9b3d652e6f3815d55705a729d372163173 |