Skip to main content

View music reviews and weekly radio charts in the terminal

Project description

bestnewmusic

TravisCI

View recent highly rated albums in the terminal.

bnm

bnm supports the following sources:

Installation

OSX

Some commands use Selenium and chromedriver to render Javascript-driven pages. On OSX, the easiest way to install these (if you don't have them already) is to use homebrew:

brew update
brew cask install google-chrome

then

pip install bestnewmusic

Ubuntu

Install the google-chrome-stable package from the Google Linux repo:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update 
sudo apt-get install google-chrome-stable

Install bnm with pip:

pip install bestnewmusic

Usage

usage: bnm [-h] [-r] [-l LENGTH] {am, p4k, ra, bk, fe, mh, wfmu}

positional arguments:
  {am,p4k,ra,bk,fe,mh,wfmu}
    - am   : AllMusic Editor's Choice
    - p4k  : Pitchfork 8.0+ Albums
    - ra   : Resident Advisor Recommends
    - bk   : Boomkat Weekly Best Sellers
    - mh   : Midheaven Weekly Best Sellers
    - fe   : Forced Exposure Weekly Best Sellers
    - wfmu : WFMU Weekly Charts

optional arguments:
  -h, --help            Show this help message and exit
  -r, --reverse         Display items in reverse order (with most recent last)
  -l, --length          Number of items to display

Example

Show the WFMU weekly play charts for the current week, organized by frequency:

bnm wfmu

Show the first five most recent 8.0+ albums on Pitchfork (incl. reissues):

bnm p4k -l 5

Show the weekly bestsellers on Forced Exposure, ordered from least to most popular:

bnm fe -r

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

bestnewmusic-0.4.1.tar.gz (10.9 kB view hashes)

Uploaded Source

Built Distribution

bestnewmusic-0.4.1-py2.py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 2 Python 3

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