Skip to main content

Build Status

songtext

A command-line song lyric fetcher.

Inspired by @gleitz’s howdoi. Name from the German word for “lyrics”.

Installation

With pip:

$ pip install songtext

With distutils:

$ python setup.py install

Usage

Search by both artist name (-a, --artist) and song title (-t, --title):

$ songtext -a pvris -t fire

PVRIS: Fire
-----------
Don't blame your death on the shit in your head
That you claimed ate you like a virus for days on end
I watched you decay, watched you waste away
Who'd you think you'd fool, baby, diggin' your own grave?

Option values that consist of more than one word need to be quoted:

$ songtext -a 'nina simone' -t sinnerman

Nina Simone: Sinnerman
----------------------
Oh sinnerman, where you gonna run to?
Sinnerman, where you gonna run to?
Where you gonna run to?
All along dem day

Punctuation is important too:

$ songtext -a "shawn mendes" -t "theres nothing holdin me back"

Your query did not match any tracks.


$ songtext -a "shawn mendes" -t "there's nothing holdin' me back"

Shawn Mendes: There's Nothing Holdin' Me Back
---------------------------------------------
I wanna follow her where she goes
I think about her and she knows it
I wanna let it take control
'Cause every time that she gets closer

Note that paging is turned on by default. Use the --no-pager flag to turn it off.

argument/API

lyricwiki

positional (generic search)

No

-a, --artist

Yes

-t, --title

Yes

-w, --words

No

-l, --show-list

No

--limit

No

--no-pager

Yes

-i, --index

No

Author

Metadata

Release files for songtext 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for songtext 0.1.9
File Size Uploaded
songtext-0.1.9.tar.gz 5.0 kB Details

Release files / songtext-0.1.9.tar.gz

Download URL songtext-0.1.9.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
261165439ab64a7ad2c65fc8643f1440e076cd292650acd20f86fdfe31392275
BLAKE2b-256 checksum
How to use checksums
c3429877775eaedced100e415a2eb103a8bdd956ade3b77a64ea24ab595feb1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.1.9 This release

1 release file

0.1.8

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page