Skip to main content

toolkit for working with lrc files

Project description

LRC Toolbox

Stable Version Downloads Test Documentation Status Code style: black Checked with mypy

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)

Uploaded Source

Built Distribution

lrctoolbox-1.2.0-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

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