Skip to main content

No project description provided

Project description

aoirint_id3py

This library is under construction and before alpha stage. API will be changed without notice. There are many bugs and unimplemented features.

Python Library to parse audio ID3 tag specified by ID3.org.

This library is intended to be a non-GPL dependent ID3 tag parser.

Environment

  • Windows 10, Ubuntu 20.04
  • Python 3.9, 3.10, 3.11

Install

pip3 install aoirint-id3

Usage

See example.

Implementation

  • ID3v1
  • ID3v1.1
  • (Partial) ID3v2.2
  • (Partial) ID3v2.3

Implemented ID3v2.2 Frames

  • TT2: Song title
  • TP1: Artist name
  • TAL: Album name
  • TYE: Year
  • TRK: Track number and Total track number
  • COM: Comment

Implemented ID3v2.3 Frames

  • TIT2: Song title
  • TPE1: Artist name
  • TALB: Album name
  • TYER: Year
  • TRCK: Track number and Total track number
  • COMM: Comment
  • APIC: Album art

TODO

  • Support more ID3v2.2 frames
    • Album art
  • Support more ID3v2.3 frames
  • User-friendly ID3v2 Frame API

Poetry reference

Lock Python version with pyenv

env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.9.x
pyenv local 3.9.x

poetry env remove python
poetry env use python

Install dependencies

poetry install

Add a package

poetry add 'mypackage'
poetry add --group test 'mypackage'
poetry add --group build 'mypackage'

Dump requirements.txt

poetry export --without-hashes -o requirements.txt
poetry export --without-hashes --with test -o requirements-test.txt
poetry export --without-hashes --with build -o requirements-build.txt

Run pytest

poetry run pytest tests/

Reference

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

aoirint_id3-0.1.4.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

aoirint_id3-0.1.4-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file aoirint_id3-0.1.4.tar.gz.

File metadata

  • Download URL: aoirint_id3-0.1.4.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1042-azure

File hashes

Hashes for aoirint_id3-0.1.4.tar.gz
Algorithm Hash digest
SHA256 389bcda66159f8f32f7dbaf6b0478db24034864cbf6378bfd8d9843023e0844c
MD5 34f694f433b65bb08bbb510b6556e26c
BLAKE2b-256 1753035cbbebe0311191a50d8ae291e84fe1150d565fa64c9eab523b7ff7daa2

See more details on using hashes here.

File details

Details for the file aoirint_id3-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: aoirint_id3-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1042-azure

File hashes

Hashes for aoirint_id3-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d8fd68cf193b762327fe1060d1c930d13d751e3455406bb27b9ac216b7200049
MD5 45cb28d8f5f538b963fd7e6fd4ea642d
BLAKE2b-256 ef032fc7d51b8d21c050ee1f1bcaf9b13bb3e00a694defdc318115b290d10982

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