{ "info": { "author": "MacRae Linton", "author_email": "macrae@macrael.com", "bugtrack_url": null, "classifiers": [ "Environment :: MacOS X", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: BSD License", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python :: 2.7" ], "description": "Webnull\n======\nA tool for putting hosts into a blackhole.\n\nWebnull is a command line program that lets you stop your computer from being able to reach certain websites.\n\nUsage: `sudo webnull deny example.com`\n\nAbove, example.com will be added to your hosts file and routed to localhost. The next time you try to visit example.com your browser won't be able to find it.\n\nLater, `sudo webnull allow example` will re-allow access to the site for five minutes.\n\n`sudo webnull allow -am` will allow access to all blocked sites until tomorrow morning.\n\nSee `webnull -h` for full usage.\n\nInstallation\n--------------\n`pip install webnull`\n\n\nUsage\n---------\n```\n$ sudo webnull deny example.com\n$ sudo webnull deny https://example.com/foo/bar\n$ sudo webnull allow example.com\n$ sudo webnull allow -t 30 example.com\n$ sudo webnull allow -a\n$ sudo webnull allow -am\n```\n\n\nDevelopment\n=========\n\nDev Mode\n--------------\nDev Mode protects your live hostfile during development\n```\n$ cp /etc/hosts dummyhosts\n$ export DEV_MODE=1\n$ ./webnull.py allow ...\n```\n\nTesting\n----------\n```\n$ brew install python\n$ easy_install pip\n$ pip install virtualenv\n$ virtualenv venv\n$ source venv/bin/activate\n$ pip install watchdog\n$ python setup.py test\n```\n\nReleasing\n-------------\n```\n$ python setup.py sdist bdist_wheel\n$ twine upload dist/* [-r testpypi]\n$ rm -rf dist/*\n* tag the release\n* bump the version number\n```\n\nThis code has only been tested on macOS with python 2.7\n\nIt will only work on systems that use an /etc/hosts file.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/macrael/webnull", "keywords": "distractions productivity", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "webnull", "package_url": "https://pypi.org/project/webnull/", "platform": "", "project_url": "https://pypi.org/project/webnull/", "project_urls": { "Homepage": "https://github.com/macrael/webnull" }, "release_url": "https://pypi.org/project/webnull/1.0.1/", "requires_dist": [ "watchdog; extra == 'test'" ], "requires_python": "", "summary": "A tool for putting hosts into a blackhole", "version": "1.0.1" }, "last_serial": 2960965, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "8a97f755ea859bc33cc0c69c762dd930", "sha256": "3ba9faf245f698b836f3ee93173079e63fe89142ee62bdd0c4e59aa6402311e9" }, "downloads": -1, "filename": "webnull-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "8a97f755ea859bc33cc0c69c762dd930", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6519, "upload_time": "2017-04-03T05:00:21", "url": "https://files.pythonhosted.org/packages/6d/8a/94ddc4dfe4e07577dea1a6ca5ee5295abd265fd11e4401581b087385c601/webnull-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "02372ff8b2d3574c55696e1777ad28bd", "sha256": "044359af56059d2ddd49f2eb2f539b82ffe0f5c67a1a2fb3affe0073bb65e7c5" }, "downloads": -1, "filename": "webnull-1.0.0.tar.gz", "has_sig": false, "md5_digest": "02372ff8b2d3574c55696e1777ad28bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4539, "upload_time": "2017-04-03T05:00:23", "url": "https://files.pythonhosted.org/packages/79/a6/a7f7baf1833ac670dce11b66a1f8de1640a5eaeb504028ea44bd76bb7371/webnull-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "2dad7414ea6eb526426c1b57273c9c11", "sha256": "36fb867fc8eb849761cf94fb95464008956313ba7bf2cc0d823a172cbabac6de" }, "downloads": -1, "filename": "webnull-1.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "2dad7414ea6eb526426c1b57273c9c11", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6548, "upload_time": "2017-06-19T23:44:02", "url": "https://files.pythonhosted.org/packages/30/43/c40a4020bd4682bded69cb75837605e0df8d33ff78b34e990b9503e4495c/webnull-1.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a5a12eeb7572767540985bf7ba43877", "sha256": "385ccaacf2061fddb8ac954986fec05c59e32d2ffa8c1829f6f5f431b3a101fd" }, "downloads": -1, "filename": "webnull-1.0.1.tar.gz", "has_sig": false, "md5_digest": "1a5a12eeb7572767540985bf7ba43877", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4568, "upload_time": "2017-06-19T23:44:03", "url": "https://files.pythonhosted.org/packages/4a/04/871a2f7692700d8f0bd0add610d9e4badfb802f39f9e51fd0224d547fb1f/webnull-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2dad7414ea6eb526426c1b57273c9c11", "sha256": "36fb867fc8eb849761cf94fb95464008956313ba7bf2cc0d823a172cbabac6de" }, "downloads": -1, "filename": "webnull-1.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "2dad7414ea6eb526426c1b57273c9c11", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6548, "upload_time": "2017-06-19T23:44:02", "url": "https://files.pythonhosted.org/packages/30/43/c40a4020bd4682bded69cb75837605e0df8d33ff78b34e990b9503e4495c/webnull-1.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a5a12eeb7572767540985bf7ba43877", "sha256": "385ccaacf2061fddb8ac954986fec05c59e32d2ffa8c1829f6f5f431b3a101fd" }, "downloads": -1, "filename": "webnull-1.0.1.tar.gz", "has_sig": false, "md5_digest": "1a5a12eeb7572767540985bf7ba43877", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4568, "upload_time": "2017-06-19T23:44:03", "url": "https://files.pythonhosted.org/packages/4a/04/871a2f7692700d8f0bd0add610d9e4badfb802f39f9e51fd0224d547fb1f/webnull-1.0.1.tar.gz" } ] }