Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

A file locking mechanism that has context-manager support so you can use it in a with statement. This should be relatively cross compatible as it doesn’t rely on msvcrt or fcntl for the locking.

Originally posted at http://www.evanfosmark.com/2009/01/cross-platform-file-locking-support-in-python/

Download files

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

Source Distribution

FileLock-git-0.1.0rc0.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file FileLock-git-0.1.0rc0.tar.gz.

File metadata

File hashes

Hashes for FileLock-git-0.1.0rc0.tar.gz
Algorithm Hash digest
SHA256 ac0c5c2ddb84d9ced71f3540c1ca802f2e2106777b13e74b0b1c4e07bf2b26eb
MD5 3edf40a2b5de18f2512006d896b1ed23
BLAKE2b-256 7989fe8fb276fed5c7445e55eeed506546e8490c204243504f2d44758dce4135

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0rc0 This release

1 file

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