{ "info": { "author": "Leonardo Santos", "author_email": "lsantos@inoa.com.br", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Topic :: Utilities" ], "description": "DHClientList\n============\n\nDHClientList is a tool to get the current client list of a DHCP server. With it one can check who is connected to the local network. To do this one must provide the DHCP server address (IP in local network and port), username and password. The resulting list items contains the host name, MAC address, IP and lease time.\n\n## Installation ##\n\tpip install dhclientlist\n\n**Note:** The pyOpenSSL==0.13 library is required to enable the HTTPS server mode.\n\n## Usage ##\n\n### Command-line: ###\n\n usage: dhclientlist print [-h] [-d DRIVERNAME] [-a ADDRESS] [-u USERNAME]\n [-p PASSWORD] [-f {json,texttable}]\n\n optional arguments:\n -h, --help show this help message and exit\n -d DRIVERNAME, --driver DRIVERNAME\n specify a driver to be used\n -a ADDRESS, --address ADDRESS\n local dhcp server's address. (default: 192.168.0.1:80)\n -u USERNAME, --username USERNAME\n local dhcp server's username. (default: admin)\n -p PASSWORD, --password PASSWORD\n local dhcp server's password.\n -f {json,texttable}, --format {json,texttable}\n the format of the output list. (default: texttable)\n\n### HTTP(S) Server: ###\n\t\n\tusage: dhclientlist serve [-h] [-d DRIVERNAME] [-a ADDRESS] [-u USERNAME]\n\t [-p PASSWORD] [--http-username HTTP_USERNAME]\n\t [--http-password HTTP_PASSWORD] [-i] [--debug]\n\t port\n\t\n\tpositional arguments:\n\t port port that the dhclientlist HTTP(S) server will bind\n\t\n\toptional arguments:\n\t -h, --help show this help message and exit\n\t -d DRIVERNAME, --driver DRIVERNAME\n\t specify a driver to be used\n\t -a ADDRESS, --address ADDRESS\n\t local dhcp server's address. (default: 192.168.0.1:80)\n\t -u USERNAME, --username USERNAME\n\t local dhcp server's username. (default: admin)\n\t -p PASSWORD, --password PASSWORD\n\t local dhcp server's password.\n\t --http-username HTTP_USERNAME\n\t dhclientlist server username.\n\t --http-password HTTP_PASSWORD\n\t dhclientlist server password.\n\t -i, --insecure use HTTP instead of HTTPS\n\t --debug runs the server in debug mode\n\n### Python lib: ###\n\n\timport dhclientlist\n\tdhclientlist.get(address, username, password) # optionally the 4th parameter: driver\n\n## Drivers ##\n\t \nThe connection with DHCP server is made by a _driver_, a python module inside the **dhclientlist.drivers** package (or in any of its sub-packages) that has a get(address, username, password) function which return a list of dicts; each dict containing the following key-value pairs:\n\t\n\t(\"name\", name_str), # name of the guest connected to the dhcp server\n\t(\"mac\", mac_str), # MAC address of the guest connected to the dhcp server\n\t(\"ip\", ip_str), # IP address of the guest connected to the dhcp server\n\t(\"lease\", lease_str) # time in the format hh:mm:ss until this registry is updated in the dhcp server\n\nThe **dhclientlist.util.find_driver** function will try to find the appropriate driver for the local DHCP server. However, the number of drivers is quite small at the moment, and dhclientlist may not succeed with the local DHCP server. In this case, one is welcome to contribute by forking this project and developing a driver to the local DHCP server.", "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/leonardosantos/dhclientlist", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "dhclientlist", "package_url": "https://pypi.org/project/dhclientlist/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dhclientlist/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/leonardosantos/dhclientlist" }, "release_url": "https://pypi.org/project/dhclientlist/0.0.6/", "requires_dist": null, "requires_python": null, "summary": "DHClientList is a tool to get the current client list of a DHCP server. With it one can check who is connected to the local network. To do this one must provide the DHCP server address (IP in local network and port), username and password. The resulting list items contains the host name, MAC address, IP and lease time.", "version": "0.0.6" }, "last_serial": 1191566, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c577cd0f9710083fccdd80b83c02d2ac", "sha256": "2ea16cbd06da658f7e0ddb56fb355dccc8ad5aeb0040aad6d4698ccd9e6408c0" }, "downloads": -1, "filename": "dhclientlist-0.0.1.zip", "has_sig": false, "md5_digest": "c577cd0f9710083fccdd80b83c02d2ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9168, "upload_time": "2013-08-05T18:53:31", "url": "https://files.pythonhosted.org/packages/c4/0e/34e0180f963db167f9de04cbd25db3c534d920034a76ae050578c03f336a/dhclientlist-0.0.1.zip" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "37f766d0054f11ccede6c8b64791393f", "sha256": "0b2985007187aaa7d26ada6e5c5905c75e14081241d71a456aa9dd25f11086af" }, "downloads": -1, "filename": "dhclientlist-0.0.2.win32-py2.7.exe", "has_sig": false, "md5_digest": "37f766d0054f11ccede6c8b64791393f", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 518911, "upload_time": "2013-09-11T18:03:56", "url": "https://files.pythonhosted.org/packages/45/5b/64c608542d5a6f217155df925efbedcbfac285d1528619163d0e2940db0a/dhclientlist-0.0.2.win32-py2.7.exe" }, { "comment_text": "", "digests": { "md5": "1840ba1dc762e28153beabd1dd48f4d6", "sha256": "acd353ac8b8dd203790162507d36b5751579be135fce6806524fcaf8a6b34fd6" }, "downloads": -1, "filename": "dhclientlist-0.0.2.zip", "has_sig": false, "md5_digest": "1840ba1dc762e28153beabd1dd48f4d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 326524, "upload_time": "2013-09-11T18:04:05", "url": "https://files.pythonhosted.org/packages/c6/78/9bc91661d1e97cb8b8defe4f8f7f7ae342e6326d4c1f03141e17e4a9bcca/dhclientlist-0.0.2.zip" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "d1ae34d465279c5aac3b48fd197479ea", "sha256": "53af9d8d725d6762328e1e36e4e57ac226e7102afe0e944a01843858d1ae8559" }, "downloads": -1, "filename": "dhclientlist-0.0.3.win32-py2.7.exe", "has_sig": false, "md5_digest": "d1ae34d465279c5aac3b48fd197479ea", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 519172, "upload_time": "2013-09-11T18:27:55", "url": "https://files.pythonhosted.org/packages/43/9e/400ee4068fa3071cc8e7f7dd322bb5346a46f5af5cbc4d831ba941b5c848/dhclientlist-0.0.3.win32-py2.7.exe" }, { "comment_text": "", "digests": { "md5": "ce715cea2b1ad9b3fd4a9c49702862b2", "sha256": "cf8cfeb491ecf3ed54ae8915c1936b54819688a6d393e2fd35e13a4d61087653" }, "downloads": -1, "filename": "dhclientlist-0.0.3.zip", "has_sig": false, "md5_digest": "ce715cea2b1ad9b3fd4a9c49702862b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 326735, "upload_time": "2013-09-11T18:28:03", "url": "https://files.pythonhosted.org/packages/68/92/f1781f05ae27b296d6c247a11091719b5d1db3703ec7ddbf8d4f0f3d0af1/dhclientlist-0.0.3.zip" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "cd096beb3de04a508cc5f49ea154b26f", "sha256": "302c83cd7051b4fd8ed6bb6186319e4ae017bd3535b3f4bd010b75dc71033147" }, "downloads": -1, "filename": "dhclientlist-0.0.4.win32-py2.7.exe", "has_sig": false, "md5_digest": "cd096beb3de04a508cc5f49ea154b26f", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 519177, "upload_time": "2013-09-11T18:42:46", "url": "https://files.pythonhosted.org/packages/b9/80/f150401ed472d4e9685240e9aba751aaeeb8b0462f9b512495a7f096c5f2/dhclientlist-0.0.4.win32-py2.7.exe" }, { "comment_text": "", "digests": { "md5": "694fceb3921d3056f010eee537c9b32d", "sha256": "209d8948e8d532c71c706e900c45b6e04ecbb3f529f430e1289fe1bc67f17b08" }, "downloads": -1, "filename": "dhclientlist-0.0.4.zip", "has_sig": false, "md5_digest": "694fceb3921d3056f010eee537c9b32d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 326740, "upload_time": "2013-09-11T18:42:53", "url": "https://files.pythonhosted.org/packages/c2/2f/43f31acfd48abaaecbe20c85cfac90b21cc50da5c23992b31e7af3c90244/dhclientlist-0.0.4.zip" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "8608cb1acbb44c740a68365f4ba10f9b", "sha256": "8808f03a964bbfbb56ae040a3088545a8568786841774276bd328a32125618e3" }, "downloads": -1, "filename": "dhclientlist-0.0.5.win32-py2.7.exe", "has_sig": false, "md5_digest": "8608cb1acbb44c740a68365f4ba10f9b", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 519459, "upload_time": "2014-08-15T14:44:54", "url": "https://files.pythonhosted.org/packages/d4/c5/811d6a9c33b703f3a8f89a0fe350a8d6282f32697bedd77d4cfe40bd1f60/dhclientlist-0.0.5.win32-py2.7.exe" }, { "comment_text": "", "digests": { "md5": "51942dffe4778258aaf89a173d6b78ef", "sha256": "c56e2f8ecc50e7b1deb6fb912c68e8e2ef49a2701230909ba12af163205ef8bd" }, "downloads": -1, "filename": "dhclientlist-0.0.5.zip", "has_sig": false, "md5_digest": "51942dffe4778258aaf89a173d6b78ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 326146, "upload_time": "2014-08-15T14:45:06", "url": "https://files.pythonhosted.org/packages/ab/a5/7efc15e342dbf2752399c67c71dc975b75dca8411878bad312a7c1a30992/dhclientlist-0.0.5.zip" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "c85cc4b004f8b09393b4a4a4af0ac232", "sha256": "64d426b2c42565f981cd9c80b2ed2864107db5c078ab80452b1fd43e0f123442" }, "downloads": -1, "filename": "dhclientlist-0.0.6-py2.7.egg", "has_sig": false, "md5_digest": "c85cc4b004f8b09393b4a4a4af0ac232", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 15881, "upload_time": "2014-08-15T15:12:17", "url": "https://files.pythonhosted.org/packages/a8/2e/2e5d29d1ddc659fe3961ca5eec354817e846cc100c334ea9b0b2b96a208c/dhclientlist-0.0.6-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "0535b997eef7ce697acd89d7dbfd5c7c", "sha256": "432b553ff031a7a3a3581314c880e0e7e2364ac07458fa0663964c56dfebfa13" }, "downloads": -1, "filename": "dhclientlist-0.0.6.win32-py2.7.exe", "has_sig": false, "md5_digest": "0535b997eef7ce697acd89d7dbfd5c7c", "packagetype": "bdist_wininst", "python_version": "2.7", "requires_python": null, "size": 209464, "upload_time": "2014-08-15T15:12:28", "url": "https://files.pythonhosted.org/packages/7b/22/b546a9048badfc476b7a1141663e90c7cabc8e29a9d682a1b18f02013d44/dhclientlist-0.0.6.win32-py2.7.exe" }, { "comment_text": "", "digests": { "md5": "e9816771ecb609b8ae9d4c4b3f1b8a5e", "sha256": "728cef51f50cdc6ee4afe0e025f046bf74ea7d76cb48f9e173ac31b44c124585" }, "downloads": -1, "filename": "dhclientlist-0.0.6.zip", "has_sig": false, "md5_digest": "e9816771ecb609b8ae9d4c4b3f1b8a5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14761, "upload_time": "2014-08-15T15:12:35", "url": "https://files.pythonhosted.org/packages/b0/9b/4cf2148a586956e3dc87ec7f7c974832ce817f695c36b8e3ace7ef42a6d9/dhclientlist-0.0.6.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c85cc4b004f8b09393b4a4a4af0ac232", "sha256": "64d426b2c42565f981cd9c80b2ed2864107db5c078ab80452b1fd43e0f123442" }, "downloads": -1, "filename": "dhclientlist-0.0.6-py2.7.egg", "has_sig": false, "md5_digest": "c85cc4b004f8b09393b4a4a4af0ac232", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 15881, "upload_time": "2014-08-15T15:12:17", "url": "https://files.pythonhosted.org/packages/a8/2e/2e5d29d1ddc659fe3961ca5eec354817e846cc100c334ea9b0b2b96a208c/dhclientlist-0.0.6-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "0535b997eef7ce697acd89d7dbfd5c7c", "sha256": "432b553ff031a7a3a3581314c880e0e7e2364ac07458fa0663964c56dfebfa13" }, "downloads": -1, "filename": "dhclientlist-0.0.6.win32-py2.7.exe", "has_sig": false, "md5_digest": "0535b997eef7ce697acd89d7dbfd5c7c", "packagetype": "bdist_wininst", "python_version": "2.7", "requires_python": null, "size": 209464, "upload_time": "2014-08-15T15:12:28", "url": "https://files.pythonhosted.org/packages/7b/22/b546a9048badfc476b7a1141663e90c7cabc8e29a9d682a1b18f02013d44/dhclientlist-0.0.6.win32-py2.7.exe" }, { "comment_text": "", "digests": { "md5": "e9816771ecb609b8ae9d4c4b3f1b8a5e", "sha256": "728cef51f50cdc6ee4afe0e025f046bf74ea7d76cb48f9e173ac31b44c124585" }, "downloads": -1, "filename": "dhclientlist-0.0.6.zip", "has_sig": false, "md5_digest": "e9816771ecb609b8ae9d4c4b3f1b8a5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14761, "upload_time": "2014-08-15T15:12:35", "url": "https://files.pythonhosted.org/packages/b0/9b/4cf2148a586956e3dc87ec7f7c974832ce817f695c36b8e3ace7ef42a6d9/dhclientlist-0.0.6.zip" } ] }