Genius Lyrics API Python Client
A Lightweight client for typed interaction with Genius API.
Examples
from geniuses import GeniusClient
client = GeniusClient("<your_token>")
songs = client.search("Cariñito los hijos")
print(songs[0].primary_artist.name) # Los hijos del sol
print(songs[0].lyrics) # Lloro por quererte ...
songs_from_artist = list(songs[0].primary_artist.get_songs())
print(songs_from_artist) # [<Song(title=Cariñito, id=1949442)>, <Song(title=Si Me Quieres, id=2078361)>]
CLI
WIP
Development
This project uses tox for running tests and other things (style check, coverage reports).
It is recommended to install conda
along with tox-conda for using tox.
Afterwards, tox command will run all the steps for you.
This project strictly uses black as an opinionated code style.
Any written line should comply with that (don’t forget to run black . for PRs).
License
Released under the Apache License.
Metadata
Release files for geniuses 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| geniuses-0.0.1.tar.gz | 95.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| geniuses-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 105.5 kB
Release files / geniuses-0.0.1.tar.gz
| Download URL | geniuses-0.0.1.tar.gz |
|---|---|
| Size | 95.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92dbcba68fe881fc4801402ed8fac54e873dcbcee741ff4998d3ac41df656022
|
|
BLAKE2b-256 checksum How to use checksums |
5fd7bdd3a9f946e6b46a72d1e270828accef2a15ebb80dd2f4faf34568406230
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/41.6.0.post20191101 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
|
Release files / geniuses-0.0.1-py3-none-any.whl
| Download URL | geniuses-0.0.1-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4473570a7c990ae4aad85ba828b78e6a39c9226a3ec79dc1afbbe97582e17efd
|
|
BLAKE2b-256 checksum How to use checksums |
b193a78b108aac97ef246ff9bb67f38a9676f1cfedffd9f98e01d705a1133c5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/41.6.0.post20191101 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
|
Security for geniuses 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.