Skip to main content

A cross-platform cross-parallelization file-locking software library for Python.

Project description

🔒 dreadlocks PyPI - Version Codecov

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

📚 Documentation

See GitHub pages:

👩‍💻 Development

The only external requirements are Python and poetry.

poetry takes care of setting up a minimal environment with tox and pre-commit installed. For that run:

poetry install --only dev

All other environments are managed by tox (and uses poetry internally).

👕 Lint

poetry run tox -e lint-check

:information_source: Some linting errors can be automatically fixed with poetry run tox -e lint.

☑️ Type check

poetry run tox -e type-check

🧪 Tests

:information_source: Add the -cover suffix to generate coverage information.

📦 Unit tests

poetry run tox -e unit

📑 Doctests

poetry run tox -e doctest

☔ Coverage

If tests have been run with the -cover suffix, coverage reports can be generated with poetry run tox -e coverage.

The HTML coverage report can be served to port 8000 with poetry run tox -e coverage-serve.

📜 Dependencies licenses

Dependencies licenses can be checked with poetry run tox -e licenses.

⚖️ Licensing

This software library is triple-licensed under the BSD 2-clause, LGPLv3 or later, and GPLv3 or later.

You must choose to be bound by at least one of these licenses when you use this work.

SPDX-License-Identifier: BSD-2-Clause OR LGPL-3.0-or-later OR GPL-3.0-or-later

👀 See also

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

dreadlocks-0.0.11.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

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

dreadlocks-0.0.11-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file dreadlocks-0.0.11.tar.gz.

File metadata

  • Download URL: dreadlocks-0.0.11.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for dreadlocks-0.0.11.tar.gz
Algorithm Hash digest
SHA256 22ec8bf5885a53b2f91b5c2ca0acda866c6c0c6dd41c826361388fcd698a082a
MD5 efeb56e63c40b03b8cc4b4db69f6ddc2
BLAKE2b-256 a9fa8bfedc747968adabadf35a2e0f1845fd643bcb8544f22310fc986af863ba

See more details on using hashes here.

File details

Details for the file dreadlocks-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: dreadlocks-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for dreadlocks-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 5d7cb7c8f46bad5896a6b8dc156190b6f1afdb41bcb78a962a8d4f5687771c24
MD5 5da1bb259cb7fcfbbbf3ca928a886647
BLAKE2b-256 13752e753f548f6af591a32ee49bfdee24af3e99215215eb46425515597b815b

See more details on using hashes here.

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