Skip to main content

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

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

pybinlock-0.7.0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

pybinlock-0.7.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

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

Hashes for pybinlock-0.7.0.tar.gz
Algorithm Hash digest
SHA256 16cb00a099c22b3ccc650e652e56c36d9605d72cbbd096ef7dd6864bcfc06e5e
MD5 b25a2cc614f2913993c2db8fe109d7d1
BLAKE2b-256 7384f4e6757e3c869a0b49b8480f755c3f7c9ac9a6c9340c0db2b5c9715bd30b

See more details on using hashes here.

Provenance

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

Publisher: pypi-publish.yml on mjiggidy/pybinlock

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

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

Hashes for pybinlock-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7171a6cd7d4566851dc13082d697ded60d8501676049bda70e8c362894d65222
MD5 cac1709ce0b89b32c938a380942d5d48
BLAKE2b-256 fbcec0af836cb1e5b6d6ed18e508a40a612996ee7103edc45fef9606ddcdf073

See more details on using hashes here.

Provenance

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

Publisher: pypi-publish.yml on mjiggidy/pybinlock

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