Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Create a mutex file for use in simple scripts

Project Description

This module is meant to provide a way to make sure that scripts don’t end up running more than once. It creates a file with the pid of the process that created it and if the script is rerun while the previous instance is still running it will just gracefully die. If it detects the lockfile but the pid is no longer running then it will start the script and change the lockfile.

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
scriptmutex-0.2dev.tar.gz (1.5 kB) Copy SHA256 Checksum SHA256 Source Oct 30, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting