Skip to main content

Add your description here

Project description

muziqa

Analyze your music collection and generate interesting charts:

  • Top artists by track count
  • Tracks by decade
  • Tracks by year, with a 5-year rolling average of mean tracks per artist
  • Tracks by country (optional, see below)

muziqa chart muziqa chart

Install

$ pipx install muziqa

Works on Linux, Mac. Probably Windows too, but I didn't test it

Usage

Point it at a folder of music files:

$ muziqa /path/to/music

Reads tags from all supported files in the folder and subfolders, and saves two charts:

  • muziqa.png — top artists + tracks by decade
  • muziqa_years.png — tracks by year with rolling average

Supported formats: MP3, FLAC, WAV, M4A, OGG

Country chart

$ muziqa /path/to/music --country

Looks up each artist's country of origin from MusicBrainz and saves a third chart:

  • muziqa_country.png — tracks by country

muziqa chart

Note: The first --country run queries MusicBrainz for every unique artist at 1 request/second (required by their API). For a large collection this can take a bit of time. Results are cached in muziqa_country_cache.json so subsequent runs are instant.

All options

Option Description
DIR Directory of music files to analyze
--flat Search only the given folder, not subfolders
--country Fetch artist countries and plot by country
--output FILE Output image filename (default: muziqa.png)
--top N Number of top entries to show (default: 20)

Examples

$ muziqa ~/Music
$ muziqa ~/Music --flat
$ muziqa ~/Music --country
$ muziqa ~/Music --top 30 --output top30.png

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

muziqa-1.0.13.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

muziqa-1.0.13-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file muziqa-1.0.13.tar.gz.

File metadata

  • Download URL: muziqa-1.0.13.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for muziqa-1.0.13.tar.gz
Algorithm Hash digest
SHA256 b5d1590827a18615ccab183ced7f69a6ab14b7ebf33133e785be1594785e81b7
MD5 607d1f948ed594a51aaf961e2fe962be
BLAKE2b-256 aa531a37340c0d064927ac4c6e75c2ac1653bff6fedc7443a5be622cb6563ab6

See more details on using hashes here.

File details

Details for the file muziqa-1.0.13-py3-none-any.whl.

File metadata

  • Download URL: muziqa-1.0.13-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for muziqa-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a9c8991e4b8016a40261d030a3127ff80c028b956dbf08478d1235a082a1f906
MD5 9624ef3fae1fecfda84a4164ad166bf2
BLAKE2b-256 5afd909b4ad332ab7176d9bf2a904947490e85a4743aeb4ddf09fe1382229261

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page