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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dreadlocks-0.0.14.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.14.tar.gz
Algorithm Hash digest
SHA256 a6a405988e7862f1c62a3afd44263e9896e83178e4fc19f4ee830d765fa7ebf7
MD5 cba19a664dd340dbdc9b2c4070a2451c
BLAKE2b-256 4aa6c662fcaa35220398e1c4517d2fc657bf9e23c8ea291a22fc7829a9f651ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dreadlocks-0.0.14-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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 1db3068a0ddce69d7eadd1b4931124494531fbf910d59a694a72e4806e23b7a5
MD5 8e6ef43a35d52218854b04f99db02d02
BLAKE2b-256 7576895aff8de26f0dba5c058411ba71fee1c6b0efeed35589e355ef41689bc6

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