{ "info": { "author": "Jeffrey Newman", "author_email": "jeff@newman.me", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python :: 3" ], "description": "Use this module to prevent your Mac OS X system from sleeping while executing\na long-running python script.\n\nQuick Start\n-----------\n\nJust `import caffeine`. That's it! You Mac OS X system will not sleep as \nlong as the interpreter remains alive. No need to run any other commands.\nBut if you want slightly finer controls, a few functions are available.\n\n`caffeine.on(display=False)`\n\nUse the `on` function to create a power assertion. Set display=True to also\nkeep your display from sleeping. The default of display=False will allow\nyour display to sleep but will keep your system awake so processing can\ncontinue. If a power assertion is active, calling `on()` with display set\nto the other value will change the assertion. Calling `on()` with the same \nvalue is a harmless no-op.\n\n`caffeine.off()`\n\nUse the `off` function to release any power assertion before your interpreter\nexits.\n\n`caffeine.verify()`\n\nCalls `pmset -g assertions` to verify what power assertions are active.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/jpn--/caffeine", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jpn--/caffeine", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "caffeine", "package_url": "https://pypi.org/project/caffeine/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/caffeine/", "project_urls": { "Download": "https://github.com/jpn--/caffeine", "Homepage": "https://github.com/jpn--/caffeine" }, "release_url": "https://pypi.org/project/caffeine/0.5/", "requires_dist": null, "requires_python": null, "summary": "A tool to keep Mac OS X from sleeping", "version": "0.5" }, "last_serial": 1945974, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "997645a5216b7fb16485e6fd9b8ae258", "sha256": "368e1d9796ad8b3ba098edb27119ce232d300b8612fc0e2c3b59991567c7763c" }, "downloads": -1, "filename": "caffeine-0.1.tar.gz", "has_sig": false, "md5_digest": "997645a5216b7fb16485e6fd9b8ae258", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1718, "upload_time": "2015-02-02T23:29:56", "url": "https://files.pythonhosted.org/packages/52/4f/75672516b7b2e2c91ccb09f3d4697d68770f58f43f2e433cde69ee345461/caffeine-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "45072d73c41b0a487d06a26c2132f0f5", "sha256": "cd82831ca1834158a782f3f395655275a5eed5f3f8311eba4def9e5cf6421737" }, "downloads": -1, "filename": "caffeine-0.2.tar.gz", "has_sig": false, "md5_digest": "45072d73c41b0a487d06a26c2132f0f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2145, "upload_time": "2015-02-03T17:40:20", "url": "https://files.pythonhosted.org/packages/6a/be/64ff6030ea8f8e9f5025b1bf7a0b9df7d0874990882f5bbc7a96f83761a1/caffeine-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "319ac85798cc1b29f42df244ba1ce021", "sha256": "a9dcaae02e695e053425f8b6a09541fc7cfc45b9308663af8d689eb3df0a2feb" }, "downloads": -1, "filename": "caffeine-0.3.tar.gz", "has_sig": false, "md5_digest": "319ac85798cc1b29f42df244ba1ce021", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2151, "upload_time": "2015-03-02T14:23:37", "url": "https://files.pythonhosted.org/packages/ce/9d/0641bda551f889710819feeb1b42eab44e615d0f2abf8ac827b9b61db038/caffeine-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "5a7c620de76723103c6f717f918ca880", "sha256": "214377e52cb4ccc9d1e558d49f1e3ece86e58b104f4e9cf0e04bc8340e626fec" }, "downloads": -1, "filename": "caffeine-0.4.tar.gz", "has_sig": false, "md5_digest": "5a7c620de76723103c6f717f918ca880", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2390, "upload_time": "2016-02-08T17:05:21", "url": "https://files.pythonhosted.org/packages/40/27/f7e60e4d96f8f394711ada4101124c227ca7074b92fbd392cecc6cbfb4cf/caffeine-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "86e0e0864ea2a94f8f52cae119477b53", "sha256": "40092894e2e79652ec2ed7a41508ff3b06b60e041ad42c86ff54d64220332d3a" }, "downloads": -1, "filename": "caffeine-0.5.tar.gz", "has_sig": false, "md5_digest": "86e0e0864ea2a94f8f52cae119477b53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2403, "upload_time": "2016-02-08T17:08:34", "url": "https://files.pythonhosted.org/packages/66/ba/acd2d55744d86142c533c6c73412c5aa0387467f8f75aa3d62a86c866fe8/caffeine-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "86e0e0864ea2a94f8f52cae119477b53", "sha256": "40092894e2e79652ec2ed7a41508ff3b06b60e041ad42c86ff54d64220332d3a" }, "downloads": -1, "filename": "caffeine-0.5.tar.gz", "has_sig": false, "md5_digest": "86e0e0864ea2a94f8f52cae119477b53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2403, "upload_time": "2016-02-08T17:08:34", "url": "https://files.pythonhosted.org/packages/66/ba/acd2d55744d86142c533c6c73412c5aa0387467f8f75aa3d62a86c866fe8/caffeine-0.5.tar.gz" } ] }