{ "info": { "author": "Slavi Pantaleev", "author_email": "s.pantaleev@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Home Automation", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Networking" ], "description": "roscraco\n========\n\nroscraco (short for ROuter SCRAping and COntrol) is a library for\nmanaging networking devices (routers).\n\nThe targeted (and currently supported) devices are home routers.\n\nSettings are fetched and pushed from/to devices by using their\nstandard web-management interface (HTTP).\n\nThe type of device being managed is abstracted away and is\nonly important initially (when the controller object is created).\nFrom the developer's standpoint, settings are then managed the same way\nregardless of the device's type.\n\n\nInstalling\n----------\n\nroscraco is available on PyPI_ and can be installed using **pip** or **easy_install**::\n\n pip install roscraco\n\nor::\n\n easy_install roscraco\n\nroscraco aims to be compatible with python2 and python3. If you notice\nany compatibility problems, please let us know.\n\n\nSupported devices\n-----------------\n\nThe library supports the following devices:\n\n* TP-Link\n - WR340G (until v3)\n - WR340Gv4\n - WR720N\n - WR740N\n - WR741N\n - WR940N\n - WR941N\n* Netgear\n - WGR614v7\n - WGR614v8\n - WGR614v9\n* Canyon\n - CNWF514\n - CNPWF514N1\n - CNPWF518N3\n* Zyxel\n - P320W\n - P330W\n* Tenda\n - W268R\n* Tomato (routers using Tomato firmware)\n - version 1.23\n\n\nSupported features\n------------------\n\n* Fetching router information (MAC address, uptime, DNS servers, traffic statistics, connected clients)\n* Fetching DHCP server settings\n* Fetching and updating DMZ settings\n* Fetching and updating DHCP address reservation settings\n* Fetching and updating Wireless connectivity settings\n* Rebooting\n\nSome of the (usually more advanced) options of a given settings object\ncannot be controlled.\nFor most of these options a \"sane\" value (usually default) is picked\nand will potentially overwrite any custom values that are currently set.\n\n\nUsage example\n-------------\n\nCreating a controller instance::\n\n import roscraco\n controller = roscraco.create_controller(\n roscraco.ROUTER_TP_LINK, 'WR340G',\n 'localhost', 8080, 'username', 'password'\n )\n\nPrint a lot of information about the device::\n\n roscraco.helper.print_info(controller)\n\nChange some Wireless settings::\n\n # Fetch the current wireless settings\n settings = controller.get_wireless_settings()\n\n # Switch to the next transmission channel\n settings.set_channel(settings.channel + 1)\n\n # Disable password authentication\n settings.set_security_type(settings.SECURITY_TYPE_NONE)\n\n # Change the SSID (network name)\n settings.set_ssid('NewNetworkName')\n\n # Send the new wireless settings to the router\n controller.push_wireless_settings(settings)\n\nBe nice and log out of the device properly\n(you can also use ``contextlib.closing``)::\n\n controller.close()\n\n.. _PyPI: http://pypi.python.org/pypi/roscraco\n\n\nLinks\n-----\n\n* `source `_\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/spantaleev/roscraco", "keywords": "router", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "roscraco", "package_url": "https://pypi.org/project/roscraco/", "platform": "any", "project_url": "https://pypi.org/project/roscraco/", "project_urls": { "Homepage": "https://github.com/spantaleev/roscraco" }, "release_url": "https://pypi.org/project/roscraco/0.5.0/", "requires_dist": null, "requires_python": "", "summary": "A library for managing home routers (networking equipment).", "version": "0.5.0" }, "last_serial": 2651159, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1b0a53c2add6d819224b2527549beeb9", "sha256": "c92858fc23c88a05f3d6a7c7447f7f51df0afe1badcfe9002d9eb037aa999d67" }, "downloads": -1, "filename": "roscraco-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1b0a53c2add6d819224b2527549beeb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37731, "upload_time": "2011-03-31T12:25:11", "url": "https://files.pythonhosted.org/packages/6e/3a/a5c988234599424f3249aefb15617add8d9d04192cb911a28b9a1c5e1c89/roscraco-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "04bfaf6151bc30d88effb89eb4096b90", "sha256": "9e580c8ee10e2e9e9a311deeefbca0f5cdfc402f5c85abd32657d73856d05abf" }, "downloads": -1, "filename": "roscraco-0.1.1.tar.gz", "has_sig": false, "md5_digest": "04bfaf6151bc30d88effb89eb4096b90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37726, "upload_time": "2011-03-31T12:25:56", "url": "https://files.pythonhosted.org/packages/cc/46/39b00bf6763093f6a006ff96c3e470875f1732bc410c0f0b9d0e8b3424ea/roscraco-0.1.1.tar.gz" } ], "0.1.10": [ { "comment_text": "", "digests": { "md5": "767e3046aa7091baea595537b52b6b30", "sha256": "e37159a59b6ed69480a648cd892a5c2bf427592391086bda29bb59c623b404ea" }, "downloads": -1, "filename": "roscraco-0.1.10.tar.gz", "has_sig": false, "md5_digest": "767e3046aa7091baea595537b52b6b30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40081, "upload_time": "2011-06-16T11:35:26", "url": "https://files.pythonhosted.org/packages/a5/dc/527f75cd0a354f9619df8ec16730ce2610719630effef8f0b85b679572e6/roscraco-0.1.10.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "07c3c221459d22ce8889da1c5087c989", "sha256": "92f1bb75eb79c8a197942a419bc5b8ace27c0ba3de2df99d45904e7eaa4e19a2" }, "downloads": -1, "filename": "roscraco-0.1.6.tar.gz", "has_sig": false, "md5_digest": "07c3c221459d22ce8889da1c5087c989", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40686, "upload_time": "2011-04-13T18:40:37", "url": "https://files.pythonhosted.org/packages/b2/bf/e0718594a74c4278ef3dbdaafc9146bbc051a32fd75fab5ba401044ef36c/roscraco-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "129905640b7a169e00c1a9e95aec0259", "sha256": "40e663ab88c27e9c962d2a5eb4094ac70a2cfa63a7c1517945cd75cca25ffba7" }, "downloads": -1, "filename": "roscraco-0.1.7.tar.gz", "has_sig": false, "md5_digest": "129905640b7a169e00c1a9e95aec0259", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39988, "upload_time": "2011-04-30T20:39:38", "url": "https://files.pythonhosted.org/packages/f6/7d/20ce00ef245d9cfbd82787306568e5621f8fb6e7d50c4d575c87459fabe2/roscraco-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "21bf0e63f41c768766d1eba82fd70158", "sha256": "97fca971cd12d488b1cb2c6cdc23738e587e36cf4375d69de7803f3c7099627b" }, "downloads": -1, "filename": "roscraco-0.1.8.tar.gz", "has_sig": false, "md5_digest": "21bf0e63f41c768766d1eba82fd70158", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40007, "upload_time": "2011-05-05T14:56:14", "url": "https://files.pythonhosted.org/packages/69/bb/722f1f2cb176f9a2674721577a2a349b63c699d28531d1e564b5a8b47aff/roscraco-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "0514803134c19db72f9b94a7d24ce137", "sha256": "4124bb4d41526f83bd7d381dc3c2e5d981609d08cb57584d03e1abd9436198de" }, "downloads": -1, "filename": "roscraco-0.1.9.tar.gz", "has_sig": false, "md5_digest": "0514803134c19db72f9b94a7d24ce137", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40019, "upload_time": "2011-05-27T12:06:40", "url": "https://files.pythonhosted.org/packages/ba/2b/80707f161de576906ff22f4c0b1e3a3be91bc02de6fbca451b804857d435/roscraco-0.1.9.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5c750ce183178beda10c642ed23d0c0d", "sha256": "ec059228919c02728ec27c6c35f8ed85dba88bb13cbe1ef7ff19d3aa6b770c06" }, "downloads": -1, "filename": "roscraco-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5c750ce183178beda10c642ed23d0c0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40288, "upload_time": "2011-07-25T15:45:55", "url": "https://files.pythonhosted.org/packages/98/9d/46421d9e7363d1de79623f621186beb59bf87f3d032b6d27ea27748f83be/roscraco-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "bc5ba11f8a6b70a9af8a7923ec95aa8a", "sha256": "3a8e4cc05c777bab09c6e4f88796ef1d7e714acdb3a1ebc63399e7376ab34c6f" }, "downloads": -1, "filename": "roscraco-0.2.1.tar.gz", "has_sig": false, "md5_digest": "bc5ba11f8a6b70a9af8a7923ec95aa8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40491, "upload_time": "2011-07-27T10:59:43", "url": "https://files.pythonhosted.org/packages/6e/6d/a378bfe93cfecd136d2750fce6b458770ed54a5c95f553242bc94fbb7c27/roscraco-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f2a2b321e08f0dcb789995764d00ecdc", "sha256": "6b137647b632e9232a0eb7e08895b5177fe31d37d2a3a9383f23d4a36d5a0ab0" }, "downloads": -1, "filename": "roscraco-0.3.0.tar.gz", "has_sig": false, "md5_digest": "f2a2b321e08f0dcb789995764d00ecdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43074, "upload_time": "2011-11-22T22:15:36", "url": "https://files.pythonhosted.org/packages/4b/75/4fde46a5c0f6033f3b211280de6d1bb067fc440bfa9a368421747cd4f997/roscraco-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "0d9d5baf5e737a416d64fb4c88628ba8", "sha256": "e6d2f4a44dc0a35623c71b7331c6517020cce121434fcee5a2c7d6c4231cf94b" }, "downloads": -1, "filename": "roscraco-0.3.1.tar.gz", "has_sig": false, "md5_digest": "0d9d5baf5e737a416d64fb4c88628ba8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43206, "upload_time": "2012-01-20T13:50:32", "url": "https://files.pythonhosted.org/packages/92/0e/f6a15141689132cbaf421893fca7dc4247d96e1717c316b6ef71c9b47309/roscraco-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "636b4c35dbfd0760967f468c05d3b996", "sha256": "2fe455b37de7200fbe4ec06a8caa4e384a3cd8115e7bff219fcfcc0ad277926f" }, "downloads": -1, "filename": "roscraco-0.3.2.tar.gz", "has_sig": false, "md5_digest": "636b4c35dbfd0760967f468c05d3b996", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44210, "upload_time": "2012-10-22T09:23:08", "url": "https://files.pythonhosted.org/packages/a4/6e/b53cc655665644fab4e1d6a5b444af4310d4abf91057a93dfebbd16ee3f6/roscraco-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "705f9a471c67bf93604bccc4677e2afb", "sha256": "ddaf248ebec22b047685043f3a57c8dc0f19f7d4b62d6cd2d6e14dc9efedcbf7" }, "downloads": -1, "filename": "roscraco-0.4.0.tar.gz", "has_sig": false, "md5_digest": "705f9a471c67bf93604bccc4677e2afb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44284, "upload_time": "2015-08-11T09:01:24", "url": "https://files.pythonhosted.org/packages/95/2c/3940e4cb05f50a71e448502edd174c79463642be0d5d445d80d68211c609/roscraco-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "25f3124ef7260b082a9f9a552b10948f", "sha256": "e1ed851443979c52173afb4ce0b52bd69a30b771659b062333571c851fbfc407" }, "downloads": -1, "filename": "roscraco-0.5.0.tar.gz", "has_sig": false, "md5_digest": "25f3124ef7260b082a9f9a552b10948f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44260, "upload_time": "2017-02-18T06:17:17", "url": "https://files.pythonhosted.org/packages/4b/1f/00ea608695364b42fd73af9b0dcbf1b3f6b5676cf95478eb74c6be320cee/roscraco-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "25f3124ef7260b082a9f9a552b10948f", "sha256": "e1ed851443979c52173afb4ce0b52bd69a30b771659b062333571c851fbfc407" }, "downloads": -1, "filename": "roscraco-0.5.0.tar.gz", "has_sig": false, "md5_digest": "25f3124ef7260b082a9f9a552b10948f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44260, "upload_time": "2017-02-18T06:17:17", "url": "https://files.pythonhosted.org/packages/4b/1f/00ea608695364b42fd73af9b0dcbf1b3f6b5676cf95478eb74c6be320cee/roscraco-0.5.0.tar.gz" } ] }