Skip to main content

This library provides a safe wrapper around flock(2). It avoids problems when using locks in multi-threaded applications, while still exposing exclusive and shared locks.

It also contains a caching utility, fslock.cache.cache_get_or_set(), which can be use to safely cache files that are expensive to produce on disk.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fslock-1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

fslock-1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file fslock-1.1.tar.gz.

File metadata

  • Download URL: fslock-1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.3

File hashes

Hashes for fslock-1.1.tar.gz
Algorithm Hash digest
SHA256 67cffa1ae02b2f057efb4d74ddb32ab6735881d3c7da95e010afeb2643d2cae9
MD5 4715f086b7c9f6e72c67c17cfc9ca37e
BLAKE2b-256 ef1b14a2dca6780db335d86bc2fb66079a136a2e61629c46d72d952ada780237

See more details on using hashes here.

File details

Details for the file fslock-1.1-py3-none-any.whl.

File metadata

  • Download URL: fslock-1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.3

File hashes

Hashes for fslock-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ce217e8cada785aec57e410060eec9f08c9ef72e534ffd32a97b7670d3ce2fe
MD5 ecb9ed7a342c30d39f5ffe24babeb1cd
BLAKE2b-256 e1a16049be625914874062e8000b5d8c4ac9c9d6c7dd0410b466b27603bcda3c

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.1

2 files

2.1

2 files

2.0.2

2 files

2.0.1

2 files

2.0

2 files

1.2.2

2 files

1.2.1

2 files

1.2

2 files

This release

1.1 This release

2 files

1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page