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.11.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.11-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: muziqa-1.0.11.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.11.tar.gz
Algorithm Hash digest
SHA256 ec7a8c4cfc39ccd5588912fec5543bbfedb5eb12f67a7b3963d212c812239dbe
MD5 3b7ca80c73a0e747c7591dbd706aab4b
BLAKE2b-256 a438ef248ecb8ea65f31d644bf4ebb6d194babb9ae6e5a4dcea782b2ef48c3bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: muziqa-1.0.11-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b3c851e4a6a43dacbae4f1079e34014e78e96d4d8ad9ddaee81cb1c0912e8738
MD5 20938651888609a8b6231f2a6219c2a6
BLAKE2b-256 242d1a02252f4788d6212734de17a52df30a5060690d385223a95357952df6a5

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