Skip to main content

Get an LRC format (synchronized) lyrics for your music

Project description

syncedlyrics

Get an LRC format (synchronized) lyrics for your music.

Installation

pip install syncedlyrics

Usage

CLI

python -m syncedlyrics "SEARCH_TERM"

Available Options

Flag Description
-o Path to save '.lrc' lyrics", default="{search_term}.lrc
-v Use this flag to show the logs
--allow-plain Return a plain text (not synced) lyrics if not LRC was found

Python

import syncedlyrics
lrc = syncedlyrics.search("[TRACK_NAME] [ARTIST_NAME]")

Or with options:

syncedlyrics.search("...", allow_plain_format=True, save_path="{search_term}_1234.lrc")

Providers

  • NetEase (music.163.com)

Feel free to suggest more providers please.

License

MIT

Notes

I also found a repo for MusixMatch API, but it has annoying API rate limits at the moment

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

syncedlyrics-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

syncedlyrics-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file syncedlyrics-0.1.0.tar.gz.

File metadata

  • Download URL: syncedlyrics-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10

File hashes

Hashes for syncedlyrics-0.1.0.tar.gz
Algorithm Hash digest
SHA256 506b29cb54b18817edd656a8d48182c226b108be771c2981c0feb5c6da46781b
MD5 1deb2014dbde8dd5ca9820affee9f319
BLAKE2b-256 a6aaabdb2c9a3ccf9198835bf47463317407980080789197eccf55691de9b2ee

See more details on using hashes here.

File details

Details for the file syncedlyrics-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: syncedlyrics-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10

File hashes

Hashes for syncedlyrics-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d965164964365838f63cf5528c26bf458e39ad6a26486cac002fb52442d9fd55
MD5 b36491684f7239d4a9fa16caed9e25d0
BLAKE2b-256 caa1f40d447e56b1fc88ec645f38d4c4df2b8ca601acdc076724596cb5a4638e

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