Skip to main content

A python library for programmatically reading, writing, and managing Avid bin history log (`.log`) files.

Project description

pybinhistory

Because pybinlog was taken™

binhistory is a python library for programmatically reading and writing Avid bin history log (.log) files in multi-user Avid Media Composer projects.

[!WARNING] binlog is an unofficial library created for educational purposes. While the .log file format is a very simple one, it is officially undocumented. Use this library at your own risk -- the developer assumes no responsibility for any damage to your project, loss of data, or weird snippy drama about who threw the audio out of sync in the latest version of the reel.

Interesting Uses

  • Be a good citizen! Add a bin log entry when modifying a bin programmatically via automation/pipeline-y operations.
  • Snoop around! Easily gather metrics about modifications made by particular machines or users.
  • Makes you look cool! Everyone will be very impressed with you. "Wow!" they'll say.

Installation

Install the pybinhistory package from PyPI using pip:

pip install pybinhistory

Or clone from this repo:

git clone https://github.com/mjiggidy/pybinhistory.git
cd pybinhistory
pip install .

Now you can import binhistory!

from binhistory import BinLog, BinLogEntry

# Write a log entry
BinLog.touch_bin("Reel 1.avb")

# See that last entry
log = BinLog.from_bin("Reel 1.avb").latest_entry()
print(f"Latest log entry was from {log.computer} at {log.timestamp}")

Usage

See readthedocs.io for general usage and API documentation!

See Also

  • pybinlock - Programmatically read and write Avid bin lock (.lck) files

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

pybinhistory-0.7.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

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

pybinhistory-0.7.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file pybinhistory-0.7.0.tar.gz.

File metadata

  • Download URL: pybinhistory-0.7.0.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pybinhistory-0.7.0.tar.gz
Algorithm Hash digest
SHA256 56f936dde058c7a0242641468447943224a047b7eabef36e9f749e23a9fd6d4a
MD5 1b3f393907da12fa3451e4e0b5cba26f
BLAKE2b-256 463dd6d6c077af0ac78baadf881cd5f811f9e9131f4025a3f0a68d94b26b041f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybinhistory-0.7.0.tar.gz:

Publisher: pypi-publish.yml on mjiggidy/pybinhistory

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

File details

Details for the file pybinhistory-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: pybinhistory-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pybinhistory-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7fd5ea24a232812d136685f4882a99b82caa391f607b9053690aed581ceaa277
MD5 e3890e14c46ab55f7c645c9d6b9162a3
BLAKE2b-256 7643ffc6fa27b7a3c1df5deb1dcefded0a25d47ed3d03a6780b56fe29bf94d3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybinhistory-0.7.0-py3-none-any.whl:

Publisher: pypi-publish.yml on mjiggidy/pybinhistory

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