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.15.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.15-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dreadlocks-0.0.15.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.15.tar.gz
Algorithm Hash digest
SHA256 927bfe42d3abae03a01d04d558f8e50f75aa1a26f47bd82355a138a0c5ab3538
MD5 feb8086c3cacce584a803941103dfefe
BLAKE2b-256 e5351f6c5ac7fceb58efaa13fdcb573714209980b1bb583819b85c9349c5091f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dreadlocks-0.0.15-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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 4e7536f40da278bd40809c17a700aed231d835712a2a5b856a6a2a48be478421
MD5 36f7dee7bff7b3518c72c9745406bbaf
BLAKE2b-256 95c676aab752fdb01243f64715280ec168da87994603079302bd68bc65fd8879

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