ArpRequest
==========
General
-------
ArpRequest is a Python module designed to make an ARP gratuitous request
to know if a host is online. It acts on OSI model's level 2 unlike
icmp echo (ping), so, you can use it without IP configuration, or to
"ping" an host in other IP network. However, you can only use it on
local networks.
Usage
-----
>>> from arprequest import ArpRequest
>>> ar = ArpRequest('10.0.0.1', 'eth0')
>>> ar.request()
True
>>> ar2 = ArpRequest('10.0.0.123', 'eth0') # 10.0.0.123 doesen't exist
>>> ar2.request()
False
Changelog
---------
0.3 :
- You can now select type of ARP request. This is done with "arp_type"
argument of ArpRequest class. You can use arprequest.ARP_GRATUITOUS
to make an ARP Gratuitous request (what is currently done) or use
arprequest.ARP_STANDARD to do a standard ARP request.
This option was created to use this library with systems which are
configured to block Arp Gratuitous.
Constraints
-----------
- ArpRequest work only on unix or unix-like platforms because it uses
unix signals.
- ArpRequest work only as root, because it uses raw sockets.
- Module is commented in french. I will translate comments in english,
some day...
Raw data
{
"_id": null,
"home_page": "http://idevelop.org/p/labo/page/ArpRequest/",
"name": "arprequest",
"maintainer": "",
"docs_url": null,
"requires_python": null,
"maintainer_email": "",
"keywords": "arp network ethernet",
"author": "Antoine Millet",
"author_email": "antoine@inaps.org",
"download_url": "https://files.pythonhosted.org/packages/55/37/3ca8540cc03c724dc1fc39136000cd030d48468d91543367c014580b56b1/arprequest-0.3.tar.gz",
"platform": "UNKNOWN",
"description": "ArpRequest\r\n==========\r\n\r\nGeneral\r\n-------\r\n\r\nArpRequest is a Python module designed to make an ARP gratuitous request\r\nto know if a host is online. It acts on OSI model's level 2 unlike \r\nicmp echo (ping), so, you can use it without IP configuration, or to \r\n\"ping\" an host in other IP network. However, you can only use it on\r\nlocal networks.\r\n\r\nUsage\r\n-----\r\n\r\n>>> from arprequest import ArpRequest\r\n>>> ar = ArpRequest('10.0.0.1', 'eth0')\r\n>>> ar.request()\r\nTrue\r\n>>> ar2 = ArpRequest('10.0.0.123', 'eth0') # 10.0.0.123 doesen't exist\r\n>>> ar2.request()\r\nFalse\r\n\r\nChangelog\r\n---------\r\n\r\n0.3 :\r\n\r\n - You can now select type of ARP request. This is done with \"arp_type\"\r\n argument of ArpRequest class. You can use arprequest.ARP_GRATUITOUS\r\n to make an ARP Gratuitous request (what is currently done) or use\r\n arprequest.ARP_STANDARD to do a standard ARP request.\r\n \r\n This option was created to use this library with systems which are \r\n configured to block Arp Gratuitous.\r\n\r\nConstraints\r\n-----------\r\n\r\n - ArpRequest work only on unix or unix-like platforms because it uses\r\n unix signals.\r\n - ArpRequest work only as root, because it uses raw sockets.\r\n - Module is commented in french. I will translate comments in english,\r\n some day...",
"bugtrack_url": null,
"license": "WTFPL",
"summary": "A class which sends an ARP Request to know if a host is online on local networks",
"version": "0.3",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "http://idevelop.org/p/labo/page/ArpRequest/"
},
"split_keywords": [
"arp",
"network",
"ethernet"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b8a04c80b17f114eb26db88422f9d35e9e96d2637bb97e4de4866efe1433e966",
"md5": "4c71210c9ed2a1d60f89c818cfb64cc8",
"sha256": "db55e4ad58b1cda4c7e9102da27cb52f1abb155998ef706ce0291b4c60e37e97"
},
"downloads": -1,
"filename": "arprequest-0.3-py2.6.egg",
"has_sig": false,
"md5_digest": "4c71210c9ed2a1d60f89c818cfb64cc8",
"packagetype": "bdist_egg",
"python_version": "2.6",
"requires_python": null,
"size": 6012,
"upload_time": "2009-05-10T01:32:22",
"upload_time_iso_8601": "2009-05-10T01:32:22.433674Z",
"url": "https://files.pythonhosted.org/packages/b8/a0/4c80b17f114eb26db88422f9d35e9e96d2637bb97e4de4866efe1433e966/arprequest-0.3-py2.6.egg",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "55373ca8540cc03c724dc1fc39136000cd030d48468d91543367c014580b56b1",
"md5": "d9306278d5695fa840167740a96bf70b",
"sha256": "ddcbed9a2f7661a4683a4e3c2e9899f027bc5d3174d8486ad3587b1063fa6e3f"
},
"downloads": -1,
"filename": "arprequest-0.3.tar.gz",
"has_sig": false,
"md5_digest": "d9306278d5695fa840167740a96bf70b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3953,
"upload_time": "2009-05-10T01:32:21",
"upload_time_iso_8601": "2009-05-10T01:32:21.859833Z",
"url": "https://files.pythonhosted.org/packages/55/37/3ca8540cc03c724dc1fc39136000cd030d48468d91543367c014580b56b1/arprequest-0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2009-05-10 01:32:21",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "arprequest"
}