/jukeboxen

Name your hosts after your favorite band's songs

Primary LanguagePythonOtherNOASSERTION

jukeboxen.py

Given a band name, downloads song data from discogs and outputs a list of their songs in DNS hostname (RFC ???) format. Now you can name your servers/containers/whatever after your favorite band's songs!

Using the Discogs API

The script requires a Discogs API user token as described here.

You should set the token as an environment variable "JB_TOKEN" before running the script: export JB_TOKEN=blahblahyourtokenhere

Usage

Invoke

./jukeboxen.py "Sir-Mix-a-Lot"

Example Output

INFO:jukeboxen:Artist name received: Sir Mix-a-Lot
INFO:jukeboxen:Found 180 song names...
INFO:jukeboxen:Found 106 potential hostnames...
Suggested hostnames from the catalog of Sir Mix-a-Lot:
2-horse
a-rappers-reputation
aintsta
at-the-next-show
attack-on-the-stars
aunt-thomasina
baby-got-back
[...]

Required Libraries

Known Issues

The following features could use some work. Feel free to file Github issues and/or submit pull requests if interested.

  • Transformation
  • Validation
  • Rate-limit avoidance