{ "info": { "author": "Georges Dubus", "author_email": "georges.dubus@compiletoi.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: ISC License (ISCL)", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "marchanddesable\n===============\n\nTurn off your server when you sleep.\n\nWhat it does\n------------\n\nGive it some IPs, and it will call halt five minutes after the given computers have stopped pinging. Except if we are\nin the middle of the day or if we are disconnected from the internet (because we don't want the computer to stop just\nbecause the network went off).\n\nInstall\n-------\n\nThe easiest way is to just grab the file `marchanddesable.py`.\n\nIf you want to install it, `Marchanddesable` is on pypi_, so this should do the trick :\n\n pip install marchanddesable\n\n.. _pypi: http://pypi.python.org/pypi/marchanddesable\n\nArch users, you can install `marchanddesable` from AUR.\n\nUsage\n-----\nTo halt the current machines 5 minutes after both 192.168.0.1 and 192.168.0.2 stop pinging,\nput this in your crontab. It will also log to the given file and rotate every night::\n\n * * * * * /usr/bin/marchand 192.168.0.1 192.168.0.2 -f /var/log/marchanddesable.log\n\nIf you don't like cron, and think running daemon or programs in screen are better, you can use ::\n\n marchand -l 192.168.0.1 192.168.0.2\n\nTODO\n----\n\nThese features may or may not be implemented at some point :\n\n- Play a sound to warn when the machines stopped pinging\n- A way to tell it not to halt the computer tonight without having to disable it\n- A way to change the rules without having to modify the script\n\nIf you want any of those, or anything else, give me a shout.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/madjar/marchanddesable", "keywords": null, "license": "ISC", "maintainer": null, "maintainer_email": null, "name": "marchanddesable", "package_url": "https://pypi.org/project/marchanddesable/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/marchanddesable/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/madjar/marchanddesable" }, "release_url": "https://pypi.org/project/marchanddesable/0.2/", "requires_dist": null, "requires_python": null, "summary": "Turn off your server when you sleep", "version": "0.2" }, "last_serial": 638846, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "4f0d45d79fcf094dd842449bc0feb998", "sha256": "3136cc46e2f658e197bedb3fea9e5840cc7b3d8db64a65026ef8adbb5fee43ba" }, "downloads": -1, "filename": "marchanddesable-0.1.tar.gz", "has_sig": false, "md5_digest": "4f0d45d79fcf094dd842449bc0feb998", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2634, "upload_time": "2012-05-02T18:52:52", "url": "https://files.pythonhosted.org/packages/f4/61/6ef690969a4e2645ffefc406ce7c3d7bc43d61bece77bdc4aec075b0ae3e/marchanddesable-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "32984992b3ea58d33907aa1a25c647e1", "sha256": "72fa7f3ecf8f4c41f7151ec8d1eedd27302e8621dce2f373defc5166536d573b" }, "downloads": -1, "filename": "marchanddesable-0.2.tar.gz", "has_sig": false, "md5_digest": "32984992b3ea58d33907aa1a25c647e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4134, "upload_time": "2012-05-18T17:50:28", "url": "https://files.pythonhosted.org/packages/59/53/0495ab0bd856a454bc8bdb291675062da3daee41c8db0498dac45845e546/marchanddesable-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "32984992b3ea58d33907aa1a25c647e1", "sha256": "72fa7f3ecf8f4c41f7151ec8d1eedd27302e8621dce2f373defc5166536d573b" }, "downloads": -1, "filename": "marchanddesable-0.2.tar.gz", "has_sig": false, "md5_digest": "32984992b3ea58d33907aa1a25c647e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4134, "upload_time": "2012-05-18T17:50:28", "url": "https://files.pythonhosted.org/packages/59/53/0495ab0bd856a454bc8bdb291675062da3daee41c8db0498dac45845e546/marchanddesable-0.2.tar.gz" } ] }