Skip to main content

An unofficial set of tools for Cool Cats™.

Project description

GRRIF Tools

A set of tools for Cool Cats™. Allows you to archive GRRIF's play history to a SQLite database (or text files), compute/display some stats (top 10/25/100 artists and tracks), stream the radio live in your console, and scrobble it to last.fm.

usage: grrif_tools [-h] {archive,stats,scrobble} ...

A set of tools for Cool Cats™. Allows you to archive GRRIF's play history and scrobble it to last.fm (upcoming).

positional arguments:
  {archive,stats,scrobble}
    archive             Archive GRRIF's play history.
    stats               Get some stats out of the database.
    play                Streams GRRIF to the console and displays the currently playing track.
    scrobble            Scrobble to Last.fm.

options:
  -h, --help            show this help message and exit

NOTE: This package is unofficial and meant mostly as a playground to experiment with some new things (argparse, python packaging, etc...). Please do not DDoS GRRIF's website !
NOTE2: Last.fm scrobbling is working and active while either streaming ("play") or using "scrobble start". This library will not handle authentification and requires some manual setup for last.fm's API access. Please create your own app on last.fm (https://www.last.fm/api/account/create) to get your API_KEY and API_SECRET, and see https://www.last.fm/api/authspec on how to get your SESSION_KEY (hint: it involves getting a token first and some md5 hashing).

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

grrif_tools-0.8.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

grrif_tools-0.8.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file grrif_tools-0.8.2.tar.gz.

File metadata

  • Download URL: grrif_tools-0.8.2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for grrif_tools-0.8.2.tar.gz
Algorithm Hash digest
SHA256 fa731efde5dc5ce1d85b732ddeb501809e86ddfe0d2b7ba8dc7b4352150e9aa3
MD5 79d73f873f167e3894fc47e66cabdd37
BLAKE2b-256 6b4cb2a444b02b71ce7429b73a67a9cd686ea2e9e0492e97d90e5e912534553b

See more details on using hashes here.

File details

Details for the file grrif_tools-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: grrif_tools-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for grrif_tools-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a6979f10d9082646627fb0d24af4788f4a84b164faf9e3108e0dc88fc512714
MD5 6a4b58ccbe383f02d1112b2d935d14f1
BLAKE2b-256 97550d895b280b23336d356347fdb72dd46ecbeda717a50c261c7e057139ab23

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