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]
binlogis an unofficial library created for educational purposes. While the.logfile 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56f936dde058c7a0242641468447943224a047b7eabef36e9f749e23a9fd6d4a
|
|
| MD5 |
1b3f393907da12fa3451e4e0b5cba26f
|
|
| BLAKE2b-256 |
463dd6d6c077af0ac78baadf881cd5f811f9e9131f4025a3f0a68d94b26b041f
|
Provenance
The following attestation bundles were made for pybinhistory-0.7.0.tar.gz:
Publisher:
pypi-publish.yml on mjiggidy/pybinhistory
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybinhistory-0.7.0.tar.gz -
Subject digest:
56f936dde058c7a0242641468447943224a047b7eabef36e9f749e23a9fd6d4a - Sigstore transparency entry: 183088099
- Sigstore integration time:
-
Permalink:
mjiggidy/pybinhistory@d7e016b2b18128b8ed12eed700403857fbec6c3d -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/mjiggidy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d7e016b2b18128b8ed12eed700403857fbec6c3d -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fd5ea24a232812d136685f4882a99b82caa391f607b9053690aed581ceaa277
|
|
| MD5 |
e3890e14c46ab55f7c645c9d6b9162a3
|
|
| BLAKE2b-256 |
7643ffc6fa27b7a3c1df5deb1dcefded0a25d47ed3d03a6780b56fe29bf94d3b
|
Provenance
The following attestation bundles were made for pybinhistory-0.7.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on mjiggidy/pybinhistory
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybinhistory-0.7.0-py3-none-any.whl -
Subject digest:
7fd5ea24a232812d136685f4882a99b82caa391f607b9053690aed581ceaa277 - Sigstore transparency entry: 183088101
- Sigstore integration time:
-
Permalink:
mjiggidy/pybinhistory@d7e016b2b18128b8ed12eed700403857fbec6c3d -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/mjiggidy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d7e016b2b18128b8ed12eed700403857fbec6c3d -
Trigger Event:
release
-
Statement type: