dreadlocks
  • Usage
  • API
dreadlocks
  • Welcome to dreadlocks’ documentation!
  • View page source

Welcome to dreadlocks’ documentation!

dreadlocks is a cross-platform file-locking software library for Python that supports thread-level locks, process-level locks, and both simultaneously.

Check out the Usage section for further information, including how to install the project.

Note

This is work in progress.

Contents

  • Usage
    • Installation
    • Using dreadlocks
  • API
    • dreadlocks Package
      • Functions
        • path_lock
          • path_lock()
        • process_level_path_lock
          • process_level_path_lock()
        • thread_level_path_lock
          • thread_level_path_lock()
      • Classes
        • AcquiringLockWouldBlockError
          • AcquiringLockWouldBlockError
        • AcquiringProcessLevelLockWouldBlockError
          • AcquiringProcessLevelLockWouldBlockError
        • AcquiringThreadLevelLockWouldBlockError
          • AcquiringThreadLevelLockWouldBlockError
        • RecursiveDeadlockError
          • RecursiveDeadlockError
      • Class Inheritance Diagram
Next

© Copyright 2025, Pid Zwei.

Built with Sphinx using a theme provided by Read the Docs.
Other Versions v0.0.15
Sources
GitHub
Tags
latest
v0.0.11
v0.0.15
v0.0.2
Branches
main
HEAD
dependabot/github_actions/JamesIves/github-pages-deploy-action-4.7.2
dependabot/github_actions/codecov/codecov-action-5
dependabot/pip/bump-my-version-0.30.0
dependabot/pip/coverage-7.6.10
dependabot/pip/gprof2dot-2024.6.6
dependabot/pip/pre-commit-4.1.0
dependabot/pip/pyright-1.1.392.post0
dependabot/pip/pytest-a57b25a98c
dependabot/pip/ruff-0.9.3
dependabot/pip/sphinx-b844ae3a5f
dependabot/pip/tox-4.24.1
dx-publish-coverage-1
dx-upgrade-actions-setup-python-v5-1
fix-cross-parallelization-deadlock-1