LRC Toolbox
Toolkit to work with LRC files in Python. Read, modify and write synchronized lyrics, including their metadata tags.
Installation
Requires Python 3.11 or newer. No runtime dependencies.
pip install lrctoolbox
# or
uv add lrctoolbox
Usage
from lrctoolbox import SyncedLyrics
# load an LRC file
lyrics = SyncedLyrics.load_from_file("example.lrc")
# check that every line has a timestamp, in ascending order
assert lyrics.is_synced
# get lyrics as a list of lines
print(lyrics.lyrics)
# shift all lyrics by 1 second
for line in lyrics:
line.timestamp += 1000
# change metadata and save
lyrics.artist = "New Artist"
lyrics.save_to_file("example_new.lrc", overwrite=True)
More examples and the API reference are in the documentation.
Development
uv sync
uv run pre-commit install
See CONTRIBUTING.rst for tests, docs builds and the release process.
Metadata
Release files for lrctoolbox 1.3.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 | Provenance | Actions |
|---|---|---|---|---|
| lrctoolbox-1.3.0.tar.gz | 20.9 kB | With provenance | Details for lrctoolbox-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lrctoolbox-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for lrctoolbox-1.3.0-py3-none-any.whl |
Total release size: 41.8 kB
Release files / lrctoolbox-1.3.0.tar.gz
| Download URL | lrctoolbox-1.3.0.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7727f0d4cbd6002be8197fba0cf22245cfb042dfd1ae0c8340360d6eec527c7
|
|
BLAKE2b-256 checksum How to use checksums |
f83cda99e4a3b773e7bd3f41aa10329215fe5d33bade6ed60707fa642c6eb936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.
Transparency logRelease files / lrctoolbox-1.3.0-py3-none-any.whl
| Download URL | lrctoolbox-1.3.0-py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d407888d936b95f1439e9a51c30be03be9114ee0853bf812e3c26064318cad1e
|
|
BLAKE2b-256 checksum How to use checksums |
aa2a88cb37a0ce7f3c08b8db2723750564a74710799e9a9381037aeff0addba4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.
Transparency logSecurity for lrctoolbox 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lrctoolbox-1.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.