PyLRC
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)
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
Installation
sudo pip install pylrc
Metadata
Release files for pylrc 0.1.2
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 |
|---|---|---|---|---|
| pylrc-0.1.2.tar.gz | 3.9 kB | Without provenance | Details for pylrc-0.1.2.tar.gz |
Release files / pylrc-0.1.2.tar.gz
| Download URL | pylrc-0.1.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9d6a07b7d211f71299b3faea5a1ca64c2fc45e3d704227c07ccdb0cc09386d1
|
|
BLAKE2b-256 checksum How to use checksums |
0911eff2a73a32b204ab040811f5a966f9342960f8c889af2bb20e544640b630
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|
Security for pylrc 0.1.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.