Skip to main content

A python library for parsing and converting .lrc files

Usage

import pylrc

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

subs = pylrc.parse(lrc_string)
subs.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

Installation

sudo pip install pylrc

Download files

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

Source Distribution

pylrc-0.0.2.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file pylrc-0.0.2.tar.gz.

File metadata

  • Download URL: pylrc-0.0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pylrc-0.0.2.tar.gz
Algorithm Hash digest
SHA256 93abd67f04622c6a9d0a8bf2e0fb11f6e214cd8a26dd46fbfccc7db29a131414
MD5 b8027dc428e4f23064ca51e0d84c1126
BLAKE2b-256 2ec91e8b804520f97b97f0a3a85664c0e914b35e4667d231267d4e2d2674ccbd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page