Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

expand ID3 genre metadata

Project Description


Expand ID3 genre metadata using Wikipedia

Update or replace ID3 genre metadata of MP3 files using data extracted from Wikipedia. Can recursively expand metadata of music directories with or without the need for user confirmation. Allows for topic disambiguation by the user to improve precision, as well as the option to only fill in missing genres.


pip install genre-expand


pip install git+


git clone
cd genre-expand
python install


usage: [-h] -d SEARCH_DIR [-r] [-l LEVEL] [-f] [-s] [-m] [-q]

expand ID3 genre metadata

optional arguments:
  -h, --help            show this help message and exit
  -d SEARCH_DIR, --search-dir SEARCH_DIR
                        directory to search
  -r, --recursive       recursively search directories
  -l LEVEL, --level LEVEL
                        depth of directories to recurse
  -f, --force           do not prompt user ever
  -s, --force-save      save files without prompt
  -m, --missing-only    only expand missing genres
  -q, --quiet           suppress status and error messages
  -v, --version         display current version



  • Choosing the ‘force’ option will remove the need for prompts, but will also avoid making changes where a choice is ambiguous. If you want to disambiguate topics but skip other confirmations, use the ‘force save’ option.
  • The ‘missing only’ option is available for only expanding tags with missing genre metadata, preventing overwrites of existing genres.



  • Added six to requirements.txt as well
  • Added missing future imports


  • Renamed main file to


  • Fixed location of script entry point
  • Added six module to dependency requirements


  • Initial commit

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(8.0 kB) Copy SHA256 Hash SHA256
Wheel py2 Sep 26, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers