Skip to main content

Diesis

A simple auto-tagging tool for precise music collectors.

This simple tool allows you to automatically tag your audio files by fetching songs information from iTunes APIs and music lyrics from several providers, such as MusixMarch and AZLyrics, directly from your CLI, a GUI version is currently in development. It supports common audio formats such as MP3, AIFF, ALAC (M4A), FLAC and OGG, Wav support has not been added yet due to a missing featured in a required library (mutagen).

Getting Started

Currently this tool is shipped as a CLI tool, GUI application is currently under development and will be released as soon as possible.

Requirements

If your are going to install this package using pip you don't have to worry about dependencies, however, if you are going to install it manually, all required dependencies are listed in the requirements.txt file, here is a quick list:

  • mutagen: The module used to handle and process the tags from the audio files.
  • beautifulsoup4: The HTML parser used to scrape lyrics providers (couldn't find good quality APIs, sorry).
  • pydub: The module used for file conversion, note that it requires ffmpeg installed in your system.

Installation

Installation has been made really simple thanks to the pip package manager, you can easily install this tool by typing in your terminal the following command:

pip install diesis

Once installed you can get a list of all the available options by running:

diesis --help

Contributing, notes and known issues

I made this tool because I broke my HDD containing all my iTunes library. I built my music library very precisely, so I wanted to get it back with all the tags and lyrics associated to the files. Having just the raw files, I had to do all this annoying work manually, then I created this tool, it made me save months of work without having to waste my life finding those information on the internet like I did before.

As I made it a little quickly, it may be not very stable, one known issue is in file conversion, converting files to Apple Alac (.m4a) will leads to an error, I'm currently trying to figure out the issue. Anyone who wants to to add features, fix bugs or just kindly help me to understand this issue in file conversion is free to do it and then open a pull request.

Currently my spare time is short so I couldn't manage to write tests so far, I'll so in a near future.

Last note: some information fetched by this application may be protected copyright, such as lyrics, so use this tool for personal use only, please.

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

Metadata

Release files for Diesis 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Diesis 1.0.5
File Size Uploaded
Diesis-1.0.5.tar.gz 21.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Diesis 1.0.5
File Interpreter ABI Platform
Diesis-1.0.5-py2-none-any.whl Python 2 none any Details

Total release size: 48.6 kB

Release files / Diesis-1.0.5.tar.gz

Download URL Diesis-1.0.5.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6c99c10bff7ecc109c0cc4c7cd460e705890702c1fe69c9db9f11e9b0811e5ec
BLAKE2b-256 checksum
How to use checksums
b3941da82098a444721e385fad2b04d40c4315cdb6b1ec1942e927707c1a73f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

Release files / Diesis-1.0.5-py2-none-any.whl

Download URL Diesis-1.0.5-py2-none-any.whl
Size 27.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b403e2ab54515e40171fad916139f8181dd390b4c1712ffc1a0fba084881e618
BLAKE2b-256 checksum
How to use checksums
d814c8f9a63511e5d8b18eaf7f5c0309fb811c43d3d3a34474a57dbc6a63b6f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page