Skip to main content

PySubler

Travis CI Status Coverage

Simple Python interface to the SublerCLI utility to make scripting metadata tagging with SublerCLI. even easier. Full documentation can be found on Read The Docs.

Install

Installing is as easy as

$ pip install subler

Atoms

To construct metadata you simply create a collection of Metadata Atoms like so,

>>> artist = Atom('Artist', 'Linkin Park')
>>> album = Atom('Album', 'Hybrid Theory')
>>> metadata = [artist, album]

Tagging

Then, you simply pass that through to a Subler instance and use the Subler tag method, like so,

>>> subler = Subler(path_to_source_file, dest=path_to_dest_file,
                    metadata=metadata)
>>> subler.tag()

Interactive Tagging

As of PySubler version 0.4.0 you can optionally use the pysubler command line utility to interactively write metadata to your files. More information is provided in the Docs, but the gist of interactive tagging is to run the pysubler cli like so

$ pysubler /path/to/your/file.m4v

You will then be prompted with a template that you can fill in with all sorts of provided metadata that will then be written to your file.

Release History

0.4.2 (2015-07-21)

  • Fixed an issue with improperly escaping metadata for use with subprocess.check_output

  • Added improved DEBUG logging for generated commands and their results

  • Improved the default Subler.dest attibute to create a unique destination filename

  • Added a collection of automated tests for Travis CI

  • Added Travis CI support

0.4.0 (2014-09-20)

  • Added subler.tools module

  • Added subler.cli module which provides the interactive pysubler commandline tool

  • Added subler.subler.Subler.existing_metadata_collection property

  • Fixed bug with default Subler dest attribute

0.3.1 (2014-09-14)

  • Bug fix to keep RTD happy

0.3.0 (2014-09-14)

  • Addition of subler.utils module for utility functions

  • More intuitive SublerCLI executable path discovery

  • Added better shell escaping for SublerCLI arguments

  • Fixed SublerCLI version property

  • Fixed tracks property for outputting the track listings of the source file

  • Subler existing_metadata property is now returned as a list of Atoms

0.2.0 (2014-06-21)

  • Initial release

Metadata

Release files for subler 0.4.2

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

Source distribution (sdist)

Source distribution for subler 0.4.2
File Size Uploaded Provenance Actions
subler-0.4.2.tar.gz 9.1 kB Without provenance Details for subler-0.4.2.tar.gz

Release files / subler-0.4.2.tar.gz

Download URL subler-0.4.2.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
36859c1eb020b978c56688cc037f9dfbe1e26a56f4c4510224ef40ca236a4d99
BLAKE2b-256 checksum
How to use checksums
5403acffc7e17f805ac24df3f3675089e3f5f037b6f1b11a5d8d7d5c362a2790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for subler 0.4.2

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