Skip to main content

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 .lck lock 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

Metadata

Release files for pybinlock 0.7.0

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

Source distribution (sdist)

Source distribution for pybinlock 0.7.0
File Size Uploaded
pybinlock-0.7.0.tar.gz 18.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pybinlock 0.7.0
File Interpreter ABI Platform
pybinlock-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 36.6 kB

Release files / pybinlock-0.7.0.tar.gz

Download URL pybinlock-0.7.0.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
16cb00a099c22b3ccc650e652e56c36d9605d72cbbd096ef7dd6864bcfc06e5e
BLAKE2b-256 checksum
How to use checksums
7384f4e6757e3c869a0b49b8480f755c3f7c9ac9a6c9340c0db2b5c9715bd30b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 15, 2025.

Transparency log

Release files / pybinlock-0.7.0-py3-none-any.whl

Download URL pybinlock-0.7.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7171a6cd7d4566851dc13082d697ded60d8501676049bda70e8c362894d65222
BLAKE2b-256 checksum
How to use checksums
fbcec0af836cb1e5b6d6ed18e508a40a612996ee7103edc45fef9606ddcdf073
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 15, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

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