Skip to main content

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

Project description

dreadlocks

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

API Documentation

See docs.

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.2.tar.gz (27.2 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.2-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dreadlocks-0.0.2.tar.gz
  • Upload date:
  • Size: 27.2 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.2.tar.gz
Algorithm Hash digest
SHA256 cda1eb38b19ff904a24b5b27e34acd16a0590d97007d2d67c1876de80491716e
MD5 c06173d6135b445adf94b1ab08922c5e
BLAKE2b-256 f78950ab9baadf32ed972d985eddec5cdd94fbddabf600f138cbdf0da143cede

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dreadlocks-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 32.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b203a15515a855be02cc4940f8387dc9c7923d653f5fbc2b091b58369a9f3bc2
MD5 69c4c6bc39a20871c2496abb5edb799b
BLAKE2b-256 d9b70309ab8b44ee6053b3c48bbf54e57a6b2bcc61508ceb3325c369b4f24d8c

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