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.

Downloads

Installation

pip install syncedlyrics

Usage

CLI

syncedlyrics "SEARCH_TERM"

Available Options

Flag Description
-o Path to save .lrc lyrics, default="{search_term}.lrc"
-p Space-separated list of providers to include in searching
-l Language code of the translation (ISO 639-1 format)
-v Use this flag to show the logs
--allow-plain Return a plain text (not synced) lyrics if no LRC format was found
--enhanced Return an Enhanced (word-level karaoke) format

Python

# This simple
lrc = syncedlyrics.search("[TRACK_NAME] [ARTIST_NAME]")

# Or with options:
syncedlyrics.search("...", allow_plain_format=True, save_path="{search_term}_1234.lrc", providers=["NetEase"])

# Get a translation along with the original lyrics (separated by `\n`):
syncedlyrics.search("...", lang="de")

# Get a word-by-word (karaoke) synced-lyrics if available
syncedlyrics.search("...", enhanced=True)

Providers

Feel free to suggest more providers or make PRs to fix the broken ones.

License

MIT

Citation

If you use this library in your research, you can cite as follows:

@misc{syncedlyrics,
  author = {Momeni, Mohammad},
  title = {syncedlyrics},
  year = {2022},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/moehmeni/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

syncedlyrics-0.10.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

syncedlyrics-0.10.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syncedlyrics-0.10.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure

File hashes

Hashes for syncedlyrics-0.10.0.tar.gz
Algorithm Hash digest
SHA256 e7c6473f1fe0044aff4544fd6d4f51512ede7a8fa0accad66a93caa9d4790f63
MD5 0f297ca41bb24aaad5c752cd3111d38f
BLAKE2b-256 a45fc7bd8b41f84481dcc5b9e7a17a3f51b5b3eefe69ab756580b0bbd8bedd60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syncedlyrics-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure

File hashes

Hashes for syncedlyrics-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f1e363f35227c8124cd9e17cf9d8ebf77264509c5d15329264f75a1d1bd1ee3
MD5 dd9d85dff27912d1804293ba0c011585
BLAKE2b-256 f09276a7b09a197627b04cd8cb751f6c683f3e029731f5b6857876b9da2b80e1

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