Search for lyric
Project description
search-lyrics
Install
pip install search-lyrics
Usage
from cmd-line
- help
$ search-lyrics --help
usage: Search for song containing lyrics [-h] [--artist artist] [--text text] [--genius-access-token genius_access_token] [--verbose]
[--version]
options:
-h, --help show this help message and exit
--artist artist Artist to search text into
--text text text to search
--genius-access-token genius_access_token
access token to use for genius api (by default, search for GENIUS_ACCESS_TOKEN in ENV variables)
--verbose Enable verbose output
--version Show version and exit
- search Neoni song containing "heaven can't help me now"
$ search-lyrics --artist "Neoni" --text "heaven can't help me now" --genius-access-token "PUT HERE YOUR GENIUS ACCESS TOKEN"
SANCTUARY
from python
from search_lyrics import search_lyrics
songs = search_lyrics("Neoni", "heaven can't help me now", "PUT HERE YOUR GENIUS ACCESS TOKEN")
for song in songs:
print(song.title)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
search-lyrics-0.0.2.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file search-lyrics-0.0.2.tar.gz.
File metadata
- Download URL: search-lyrics-0.0.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.3.4 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28a94d397a53e45d7ce23a330f5617e4b76cdf2aed2dd8ada292f1da4846ba30
|
|
| MD5 |
e01456958a94c395c767c357bfe3e15c
|
|
| BLAKE2b-256 |
154b1deeccc023b85216d210c61629ed2a76364a5e6c3dd3b490c502a2fb89f9
|
File details
Details for the file search_lyrics-0.0.2-py3-none-any.whl.
File metadata
- Download URL: search_lyrics-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.3.4 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25922170f8f80c80ef2c525a7c93283face028cf79180a73de148b37470aaea5
|
|
| MD5 |
e2fedae59d35de55ccd416b2089c923e
|
|
| BLAKE2b-256 |
c32d8ebb586980ed37ed0555643ac1bd4625f224ba007daa836bec819e9a0834
|