Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mediafile

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mediafile

Handles low-level interfacing for files' tags. Wraps Mutagen to

  • 0.13.0
  • PyPI
  • Socket score

Maintainers
2

MediaFile: read and write audio files' tags in Python

.. image:: https://github.com/beetbox/mediafile/workflows/Build/badge.svg?branch=master :target: https://github.com/beetbox/mediafile/actions

.. image:: http://img.shields.io/pypi/v/mediafile.svg :target: https://pypi.python.org/pypi/mediafile

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.

.. _Mutagen: https://github.com/quodlibet/mutagen

Synopsis

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

.. code:: python

from mediafile import MediaFile f = MediaFile('Lucy.mp3') f.title u'Lucy in the Sky with Diamonds' f.artist = 'The Beatles' f.save()

.. _on PyPI: https://pypi.python.org/pypi/mediafile

Documentation

See the full documentation_.

.. _full documentation: http://mediafile.readthedocs.io/

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.

.. _Adrian Sampson: https://github.com/sampsyo .. _beets: https://github.com/beetbox/beets .. _MIT: http://www.opensource.org/licenses/mit-license.php

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc