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.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

lrcup-0.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file lrcup-0.2.tar.gz.

File metadata

  • Download URL: lrcup-0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.26.0

File hashes

Hashes for lrcup-0.2.tar.gz
Algorithm Hash digest
SHA256 d272e158ec9f854222425979f95a2142160f097b91fe89910c8dd56b3076d182
MD5 0102c9814a735d96299c247f695d0d38
BLAKE2b-256 ff619123ceba303ac363e91fb6212cfe39cf9f2cecbc951b5f131c6894222423

See more details on using hashes here.

File details

Details for the file lrcup-0.2-py3-none-any.whl.

File metadata

  • Download URL: lrcup-0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.26.0

File hashes

Hashes for lrcup-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6268263cd9bc8c6a9733e326e689a41130d2c873eabe6b7c5c557817ce4a12a5
MD5 91a332a89c4a367a21d6f904c8015372
BLAKE2b-256 17c6fb30cc0d601a8b05c4539e09d61c694077f47812b55830adb80a796f3c89

See more details on using hashes here.

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