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

Uploaded Source

Built Distribution

syncedlyrics-0.9.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syncedlyrics-0.9.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1016-azure

File hashes

Hashes for syncedlyrics-0.9.0.tar.gz
Algorithm Hash digest
SHA256 8394a9591d672ad69e1fe5f5b67013a2ce811d3169284b277a884300144f3303
MD5 3e8939d3823533b4bf82d34729493711
BLAKE2b-256 ad79502e7f3e08b4981f1c88e0164217e9ca9e507e7bdfee9f5285615437586a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syncedlyrics-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1016-azure

File hashes

Hashes for syncedlyrics-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39cfc197ff3280e6923c160fb64a67a2fb9f7ffc23eebb8c6c09989c24073308
MD5 c4a4300d1ad5ea29fd8552ca2f898859
BLAKE2b-256 3d52381e21d9b4ecc9e3a16a65918920f4a17e4bb3c60d308559d507d89af5a4

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