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 details)
Built Distribution
File details
Details for the file lrctoolbox-1.2.0.tar.gz
.
File metadata
- Download URL: lrctoolbox-1.2.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e48b6cad6bfafafb6910de81f736db6c400a8a734ea376d1b07ac1f29a3199 |
|
MD5 | 95e954c44e80ffb4245abc3d10ad607b |
|
BLAKE2b-256 | f0e0d56f6c37adcb6e651f19f0fed1bde00992caf0e38f5d26d6fe488ad6e14a |
File details
Details for the file lrctoolbox-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: lrctoolbox-1.2.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3fd8e2b7b868bcc75e08bcc170e82da6eba837b9a3450b089dba399f5e11f8b |
|
MD5 | a23498ede936294bab0f46bfe4ba5739 |
|
BLAKE2b-256 | 84bb9278ed8343bb001dc5cae6c50b9b3d652e6f3815d55705a729d372163173 |