Skip to main content

A library for parsing .lrc files

Project description

A python library for parsing and converting .lrc files


import pylrc

lrc_file = open('example.lrc')
lrc_string = ''.join(lrc_file.readlines())

subs = pylrc.parse(lrc_string)
for sub in subs:
    sub.shift(minutes=1, seconds=13, milliseconds=325) # offset by 01:13.325

srt = subs.toSRT() # convert lrc to srt string

lrc_string = subs.toLRC() # convert to lrc string


sudo pip install pylrc

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pylrc, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pylrc-0.1.2.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page