{ "info": { "author": "Prahlad Yeri", "author_email": "prahladyeri@yahoo.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "![pypi](https://img.shields.io/pypi/v/waitfornet.svg)\n![python](https://img.shields.io/pypi/pyversions/waitfornet.svg)\n![implementation](https://img.shields.io/pypi/implementation/waitfornet.svg)\n\n![docs](https://readthedocs.org/projects/waitfornet/badge/?version=latest)\n![license](https://img.shields.io/github/license/prahladyeri/waitfornet.svg)\n![last-commit](https://img.shields.io/github/last-commit/prahladyeri/waitfornet.svg)\n\n[![donate](https://img.shields.io/badge/-Donate-blue.svg?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JM8FUXNFUK6EU)\n[![follow](https://img.shields.io/twitter/follow/prahladyeri.svg?style=social)](https://twitter.com/prahladyeri)\n# waitfornet\nA stupid simple python module to check whether you are online or not\n\n# Synopsis\n\n`waitfornet` is a stupid simple script, all it does is check whether you are online or not, and optionally wait until you go online.\n\nOn production servers, you don't need such a script because you are always online. But on home PCs or laptops, we plebeians aren't always online! We sometimes have to fiddle with our WiFi connections, we may have a wireless router but we forget to switch them on sometimes. What if I have a scheduled cron job to run at that moment such as this:\n\n $> task1 && task2 && task3\n\t\nThe above won't work properly if the tasks are dependent on an internet connection. With `waitfornet`, you can do something like this:\n\n $> waitfornet -w && task1 && task2 && task3\n\nThe first command will wait until you go online and once you do, it will exit and then your other crons can run!\n\n# Installation\n\n\tpip install waitfornet\n\n# Usage\n\t -h, --help show this help message and exit\n\t -w, --wait Wait until online, keep trying", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/prahladyeri/waitfornet", "keywords": "internet", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "waitfornet", "package_url": "https://pypi.org/project/waitfornet/", "platform": "", "project_url": "https://pypi.org/project/waitfornet/", "project_urls": { "Homepage": "https://github.com/prahladyeri/waitfornet" }, "release_url": "https://pypi.org/project/waitfornet/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "Module to check whether you are online or not", "version": "1.0.2" }, "last_serial": 5401585, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "55f3618863761541ef7be725ecddc3aa", "sha256": "b72b3206b7e1b6374afeb970a231bfc867183c842865421412f8ffed79199ae6" }, "downloads": -1, "filename": "waitfornet-1.0.1.tar.gz", "has_sig": true, "md5_digest": "55f3618863761541ef7be725ecddc3aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2579, "upload_time": "2019-06-14T17:56:45", "url": "https://files.pythonhosted.org/packages/3d/0b/fdb5aed64bb36f24eb510910b18761a73c853b6af07e8f903bdfd9baabba/waitfornet-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "92a348bd59503202f9d6a82bd12a6b39", "sha256": "db9e747ee13bfb421cfb3e02534e9476b694f5423e3dcd62b46b6cc8a67acedd" }, "downloads": -1, "filename": "waitfornet-1.0.2.tar.gz", "has_sig": true, "md5_digest": "92a348bd59503202f9d6a82bd12a6b39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2684, "upload_time": "2019-06-14T18:02:29", "url": "https://files.pythonhosted.org/packages/ee/d1/750db2cb1f409a484e305d7392a5db675c5f21fad50846189df75751057b/waitfornet-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "92a348bd59503202f9d6a82bd12a6b39", "sha256": "db9e747ee13bfb421cfb3e02534e9476b694f5423e3dcd62b46b6cc8a67acedd" }, "downloads": -1, "filename": "waitfornet-1.0.2.tar.gz", "has_sig": true, "md5_digest": "92a348bd59503202f9d6a82bd12a6b39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2684, "upload_time": "2019-06-14T18:02:29", "url": "https://files.pythonhosted.org/packages/ee/d1/750db2cb1f409a484e305d7392a5db675c5f21fad50846189df75751057b/waitfornet-1.0.2.tar.gz" } ] }