Skip to main content

A command line application that lets you search for different artists, albums, songs and their lyrics.

Project description

MusixLI

MusixLI brings MusixMatch to the terminal, allowing you to view the following without leaving your command line:

  • Songs
  • Artists
  • Albums
  • Lyrics

Installation

Pip Installation

The following command will install MusixLI:

$ pip3 install musixli

If you are not installing in a virtualenv, run with sudo:

$ sudo pip3 install musixli

Once installed, run the optional MusixLI auto-completer with interactive help:

$ musixli

Run commands:

$ msx <command> [options] [args]

Syntax

Usage:

$ msx <command> [options] [args]

Auto-Completer and Interactive Help

Optionally, you can enable fish-style completions and an auto-completion menu with interactive help:

$ musixli

If available, the auto-completer also automatically displays commands through a pager.

Within the auto-completer, the same syntax applies:

musixli:$>> msx <command> [options] [args]

Commands:

View Top Artists

Lists top 20 Artists at present from a specific Country.

Usage:

$ msx artists --country [country name]  #default is US

Examples:

$ msx artists
$ msx artists --country 'in'

View Top Songs

Lists top 20 Songs at present from a specific Country.

Usage:

$ msx songs --country [country name]  #default is US

Example:

$ msx songs
$ msx songs --country 'in'

Search by Artist Name or Song Name

Provides a detailed list based on the query.

Usage:

$ msx search --song [song name] --artist-name [artist name]

Examples:

$ msx search --song 'Lose Yourself'
$ msx search --artist-name 'Eminem' --song 'Lose Yourself'

Search Albums

Provides a list of albums associated with an artist.

Usage:

$ msx albums --artist-name [artist name]

Examples:

$ msx albums --artist-name 'Eminem'

Find Similar Artists

Provides a list of artists similar to the specified artist.

Usage:

$ msx related_artists --artist-name [artist name] --number [number of entries]  #default is 5

Examples:

$ msx related_artists --artist-name 'Eminem'
$ msx related_artists --artist-name 'Drake' --number 10

Get Lyrics for a Specific Song

Opens a snippet of the lyrics of a specified song in the window itself or open the whole lyrics in the browser.

Usage:

$ msx lyrics --artist-name [artist name] --song [song name] --browser [yes/no]  #default is no

Examples:

$ msx lyrics --artist-name 'Eminem' --song 'Lose Yourself'
$ msx lyrics --artist-name 'Eminem' --song 'Lose Yourself' --browser 'yes'

Supported Python Versions

Python 3 and above.

Libraries Used

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

musixli-2.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

musixli-2.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file musixli-2.1.0.tar.gz.

File metadata

  • Download URL: musixli-2.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.2

File hashes

Hashes for musixli-2.1.0.tar.gz
Algorithm Hash digest
SHA256 92addddde440f1a5b5480a672ceea9996c68da9ba26ecf503fb06e3790b42de2
MD5 f7b9e0ac6a0bd33fe1cefe7b61180f32
BLAKE2b-256 9971798473b2e7122f92e240dc79a8ef99a389b96a96d77fcfe598dca908c61c

See more details on using hashes here.

File details

Details for the file musixli-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: musixli-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.2

File hashes

Hashes for musixli-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80fc1cb6c9e8dc9bbeca97dbdf7b813c28d5e6b8532a58f1bf5176ce2b99ac5b
MD5 fc78171e030e5c2cf9e6aeaac3f999ed
BLAKE2b-256 368be9420f7b16f19db5b259a7d5ae670423064dd2ab01b6ec390124a7f4bd45

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