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.
Metadata
Release files for lrctoolbox 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lrctoolbox-1.2.0.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lrctoolbox-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / lrctoolbox-1.2.0.tar.gz
| Download URL | lrctoolbox-1.2.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23e48b6cad6bfafafb6910de81f736db6c400a8a734ea376d1b07ac1f29a3199
|
|
BLAKE2b-256 checksum How to use checksums |
f0e0d56f6c37adcb6e651f19f0fed1bde00992caf0e38f5d26d6fe488ad6e14a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1015-azure
|
Release files / lrctoolbox-1.2.0-py3-none-any.whl
| Download URL | lrctoolbox-1.2.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3fd8e2b7b868bcc75e08bcc170e82da6eba837b9a3450b089dba399f5e11f8b
|
|
BLAKE2b-256 checksum How to use checksums |
84bb9278ed8343bb001dc5cae6c50b9b3d652e6f3815d55705a729d372163173
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1015-azure
|