GithubHelp home page GithubHelp logo

scottwedge / songtext Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ysim/songtext

0.0 0.0 0.0 134 KB

command-line song lyric fetcher

Home Page: https://pypi.python.org/pypi/songtext/

License: BSD 2-Clause "Simplified" License

Python 94.13% Makefile 1.84% Shell 4.04%

songtext's Introduction

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

songtext's People

Contributors

ysim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.