{ "info": { "author": "Nate Ferrero", "author_email": "nateferrero@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "quicklock\n=========\n\nA simple Python resource lock to ensure only one process at a time is\noperating with a particular resource.\n\nSingleton Usage\n---------------\n\nSingleton creates a file containing process information to ensure that\nthe process that created the lock is still alive. The default location\nis in the ``.lock`` directory in the current working directory. If this\ndirectory does not exist, ``singleton`` will create it automatically.\n\nSimple usage:\n^^^^^^^^^^^^^\n\n.. code:: python\n\n from quicklock import singleton\n\n singleton('my-process') # This will ensure that only one of these is running at once\n # The lock is released when the process that created the lock\n # exits (successfully or quits unexpectedly)\n\n # Intensive processing here\n\nSpecifying the lock directory:\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code:: python\n\n from quicklock import singleton\n\n singleton('my-process', dirname='/var/lock') # Now all lock files will be written to\n # /var/lock instead\n\n # Intensive processing here\n\nContributing\n------------\n\nPlease feel free to create issues and submit pull requests. I want to\nkeep this library as a simple collection of useful locking-related\nutilities.\n\nLicense\n-------\n\nThe license is MIT, see the attached ``LICENSE`` file for more\ninformation.\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/NateFerrero/quicklock/tarball/0.1.7", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/NateFerrero/quicklock", "keywords": "lock,locking,singleton,process,resource,exclusive lock", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "quicklock", "package_url": "https://pypi.org/project/quicklock/", "platform": "any", "project_url": "https://pypi.org/project/quicklock/", "project_urls": { "Download": "https://github.com/NateFerrero/quicklock/tarball/0.1.7", "Homepage": "https://github.com/NateFerrero/quicklock" }, "release_url": "https://pypi.org/project/quicklock/0.1.7/", "requires_dist": null, "requires_python": null, "summary": "A simple Python resource lock to ensure only one process at a time is operating with a particular resource.", "version": "0.1.7" }, "last_serial": 1399655, "releases": { "0.1.5": [ { "comment_text": "", "digests": { "md5": "ad2a080e088a57ea5f46060fb1dfd549", "sha256": "f84cb426e64486fb325fc4745109f7c2660c32c97002a174914608f7cf4992f2" }, "downloads": -1, "filename": "quicklock-0.1.5.tar.gz", "has_sig": false, "md5_digest": "ad2a080e088a57ea5f46060fb1dfd549", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2732, "upload_time": "2015-01-28T06:23:43", "url": "https://files.pythonhosted.org/packages/18/ed/166264632e50a09807043cb647cd6d764747fa0bae1a39c69bfff315319a/quicklock-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "6d51de2f0277360b95d04e6d5fa20e9c", "sha256": "f9a10ee5cc708aa754a12509269b27f8a34e19a664a9f6ad6cd63a68386f9098" }, "downloads": -1, "filename": "quicklock-0.1.6.tar.gz", "has_sig": false, "md5_digest": "6d51de2f0277360b95d04e6d5fa20e9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2077, "upload_time": "2015-01-28T06:27:39", "url": "https://files.pythonhosted.org/packages/01/2f/bc03303efecf939f109e16291a4ce49d66b7bc48b63970c4f39fab188aff/quicklock-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "7d39532ce909474a2cbd4cbe854a6502", "sha256": "f404efc3115be8f92ab0b5f34b4efda5d5d14c03a567ebe910957826ac4a0897" }, "downloads": -1, "filename": "quicklock-0.1.7.tar.gz", "has_sig": false, "md5_digest": "7d39532ce909474a2cbd4cbe854a6502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2015, "upload_time": "2015-01-28T06:39:08", "url": "https://files.pythonhosted.org/packages/79/a6/3094ac123a12cc2dd4873701497de62911b3c2bb0d85c4b3ae74ae687530/quicklock-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7d39532ce909474a2cbd4cbe854a6502", "sha256": "f404efc3115be8f92ab0b5f34b4efda5d5d14c03a567ebe910957826ac4a0897" }, "downloads": -1, "filename": "quicklock-0.1.7.tar.gz", "has_sig": false, "md5_digest": "7d39532ce909474a2cbd4cbe854a6502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2015, "upload_time": "2015-01-28T06:39:08", "url": "https://files.pythonhosted.org/packages/79/a6/3094ac123a12cc2dd4873701497de62911b3c2bb0d85c4b3ae74ae687530/quicklock-0.1.7.tar.gz" } ] }