Skip to main content

mp3tag

本 repo 提供一个支持读取、修改 mp3 标签信息的工具,关于 mp3 标签信息的内容,使用Python读取Mp3的标签信息 做了初步的介绍。

Tools for read and modify mp3 tag information, you can search wiki to know more about "Identity of MP3".

特性

  • 支持读取某个文件夹下 mp3 文件的 idv3 信息
  • 输出统一为 utf-8 编码

Feature

  • Read mp3 idv3 information under specific folder
  • output attribute information in utf-8

Requirement

  • chardet

Usage

from mp3tag import musictag

music_path = '/Users/shiqiang/Downloads/old_mbp_files/OldMBP-Music/'

# mpt = mp3tag()
# mpt.get_version()
musictag.analyze_folder(music_path)

Result

$ python3 examples/tag_example.py
{'title': None, 'artist': 'Pure Music', 'album': 'นลตไร๛ว๚', 'year': b'', 'comment': b'', 'genre': 0}
{'title': 'And One', 'artist': 'Linkin Park', 'album': 'Underground 1.0', 'year': b'', 'comment': b'', 'genre': 0}

Release Notes

  • 0.0.4 : little fix, reimport chardet
  • 0.0.3 : Rename module name, modify example and readme

Reference

Metadata

Release files for mp3tag 0.0.4

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

Source distribution (sdist)

Source distribution for mp3tag 0.0.4
File Size Uploaded Provenance Actions
mp3tag-0.0.4.tar.gz 16.5 kB Without provenance Details for mp3tag-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mp3tag 0.0.4
File Interpreter ABI Platform Actions
mp3tag-0.0.4-py3-none-any.whl Python 3 none any Details for mp3tag-0.0.4-py3-none-any.whl

Total release size: 33.1 kB

Release files / mp3tag-0.0.4.tar.gz

Download URL mp3tag-0.0.4.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
05a9040f2ab445f8aa32933b767840ccc35c98fded32335dcf209a2f47afcadf
BLAKE2b-256 checksum
How to use checksums
40f4314f8d9337e53ac36ec22246ab7dd9c6743b0cfabd7be12d0649c3f41bb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / mp3tag-0.0.4-py3-none-any.whl

Download URL mp3tag-0.0.4-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fb8504abb5debaa8254b5dc9476060479c97cc64cf5ec9fc47859945009e087
BLAKE2b-256 checksum
How to use checksums
11bbf4e5ed77a183ff8d10c977410aaa666e0a2938c9658a95defdfdda292e0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Security for mp3tag 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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