Python module and CLI for the LRCLIB API
Project description
LRCUP
Python CLI and library for interacting with the LRCLIB.net API.
Installation
Install via PyPI:
pip install lrcup
CLI Usage
# If you have an unsynced/synced LRC file:
lrcup upload example.lrc
# If you have a track with embedded lyrics:
lrcup upload file.flac
Module Usage
The class method names are based off of the LRCLIB API endpoints.
Please refer to them for more information.
from lrcup import LRCLib
lrclib = LRCLib()
# Example of getting synced lyrics via search
results = lrclib.search(
track = "Never gonna give you up",
artist = "Rick Astley"
)
print(results[0]["syncedLyrics"])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lrcup-0.3.2.tar.gz
(4.9 kB
view hashes)
Built Distribution
lrcup-0.3.2-py3-none-any.whl
(6.5 kB
view hashes)