A python package for programmatically reading, writing, and managing Avid Media Composer bin locks (`.lck` files).
Project description
pybinlock
binlock is a python package for programmatically reading and writing Avid bin lock (.lck) files in
multi-user Avid Media Composer projects.
[!WARNING] While the
.lcklock file format is a very simple one, it is officially undocumented. Use this library at your own risk -- I assume no responsibility for any damage to your project, loss of data, or underwhelming box office performance.
Interesting Uses
- Permanently locking bins
- Temporarily locking bins while programmatically reading/writing to them
- Custom lock names for displaying short messages, such as why the bin is locked
- Removing "stale" locks
Installation
Install the pybinlock package from PyPI using pip:
pip install pybinlock
Or clone from this repo:
git clone https://github.com/mjiggidy/pybinlock.git
cd pybinlock
pip install .
Now you can import binlock!
from binlock import BinLock
with BinLock("Do Not Touch").hold_bin("Reel 1.avb") as my_lock:
print(f"Bin is now locked as {my_lock.name}")
...
print("Bin is now unlocked!")
Usage
See readthedocs.io for general usage and API documentation!
See Also
pybinhistory- Programmatically read and write Avid bin history log (.log) 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 pybinlock-0.7.0.tar.gz.
File metadata
- Download URL: pybinlock-0.7.0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16cb00a099c22b3ccc650e652e56c36d9605d72cbbd096ef7dd6864bcfc06e5e
|
|
| MD5 |
b25a2cc614f2913993c2db8fe109d7d1
|
|
| BLAKE2b-256 |
7384f4e6757e3c869a0b49b8480f755c3f7c9ac9a6c9340c0db2b5c9715bd30b
|
Provenance
The following attestation bundles were made for pybinlock-0.7.0.tar.gz:
Publisher:
pypi-publish.yml on mjiggidy/pybinlock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybinlock-0.7.0.tar.gz -
Subject digest:
16cb00a099c22b3ccc650e652e56c36d9605d72cbbd096ef7dd6864bcfc06e5e - Sigstore transparency entry: 182826931
- Sigstore integration time:
-
Permalink:
mjiggidy/pybinlock@9fbeb2d2df6e1efbe5cde695985996c631206182 -
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@9fbeb2d2df6e1efbe5cde695985996c631206182 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pybinlock-0.7.0-py3-none-any.whl.
File metadata
- Download URL: pybinlock-0.7.0-py3-none-any.whl
- Upload date:
- Size: 18.3 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 |
7171a6cd7d4566851dc13082d697ded60d8501676049bda70e8c362894d65222
|
|
| MD5 |
cac1709ce0b89b32c938a380942d5d48
|
|
| BLAKE2b-256 |
fbcec0af836cb1e5b6d6ed18e508a40a612996ee7103edc45fef9606ddcdf073
|
Provenance
The following attestation bundles were made for pybinlock-0.7.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on mjiggidy/pybinlock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybinlock-0.7.0-py3-none-any.whl -
Subject digest:
7171a6cd7d4566851dc13082d697ded60d8501676049bda70e8c362894d65222 - Sigstore transparency entry: 182826934
- Sigstore integration time:
-
Permalink:
mjiggidy/pybinlock@9fbeb2d2df6e1efbe5cde695985996c631206182 -
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@9fbeb2d2df6e1efbe5cde695985996c631206182 -
Trigger Event:
release
-
Statement type: