Skip to main content

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


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)

Uploaded Source

Built Distribution

lrcup-0.3.2-py3-none-any.whl (6.5 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