Skip to main content

A simple, cross-format library for reading and writing media file metadata.

Project description

https://github.com/beetbox/mediafile/actions/workflows/build.yml/badge.svg?branch=master https://img.shields.io/pypi/v/mediafile.svg

MediaFile is a simple interface to the metadata tags for many audio file formats. It wraps Mutagen, a high-quality library for low-level tag manipulation, with a high-level, format-independent interface for a common set of tags.

Synopsis

MediaFile is available on PyPI. Install it by typing pip install mediafile. It works on Python 3.9 or later. Then:

from mediafile import MediaFile

f = MediaFile("Lucy.mp3")
f.title
"Lucy in the Sky with Diamonds"
f.artist = "The Beatles"
f.save()

Documentation

See the full documentation.

Authors

MediaFile is part of the beets project. It was originally written by Adrian Sampson and is now developed by the beets community. The license is MIT.

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

mediafile-1.0.0rc1.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mediafile-1.0.0rc1-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file mediafile-1.0.0rc1.tar.gz.

File metadata

  • Download URL: mediafile-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mediafile-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 5c0828a9a9a3c072d539a1dc2ab4911ee65dc23353268ca32d600616c3fe1ea7
MD5 29fb74563a67771152dd906c20b63f72
BLAKE2b-256 e9c2f35c278c13f6f55b9f985ab3050a74abd362c87985a85727d6310d03836b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mediafile-1.0.0rc1.tar.gz:

Publisher: make_release.yaml on beetbox/mediafile

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mediafile-1.0.0rc1-py3-none-any.whl.

File metadata

  • Download URL: mediafile-1.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mediafile-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8bbd0afbc190e47a79829c3bb98f4e0b09f8a070eb5d95952f555d4afbfbda1
MD5 cbe4da5398a3228aae8610e7111601b2
BLAKE2b-256 7b6607a6a270dad099af8ebbd833772b144abf920243f3640259c014e3a90912

See more details on using hashes here.

Provenance

The following attestation bundles were made for mediafile-1.0.0rc1-py3-none-any.whl:

Publisher: make_release.yaml on beetbox/mediafile

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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