Python simple arp table reader
Python simple arp table reader
Free software: BSD license
Documentation: https://python_arptable.readthedocs.org.
Features
Export ARP Table on linux as a dictionary.
Usage
arp_table exports two main things:
ARPTABLE constant, as it was when the package was imported
get_arp_table() function, returning latest arp table.
>>> from arp_table import ARPTABLE
>>> print(ARPTABLE)
[{'Device': 'eth0',
'Flags': '0x2',
'HW address': '00:12:79:d2:b9:67',
'HW type': '0x1',
'IP address': '10.3.0.1',
'Mask': '*'}]
>>> from arp_table import get_arp_table
>>> print(get_arp_table())
[{'Device': 'eth0',
'Flags': '0x2',
'HW address': '00:12:79:d2:b9:67',
'HW type': '0x1',
'IP address': '10.3.0.1',
'Mask': '*'}]
Disclaimer
This is a small, simple yet quite useful library. I’ve seen a lot of posts of people struggling with arp-table reading in python.
With this library, you can just
pip install python_arptable
and enjoy!
History
0.0.1 (2015-06-14)
First release on PyPI.
Metadata
Release files for python_arptable 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| python_arptable-0.0.2.tar.gz | 11.5 kB | Without provenance | Details |
Release files / python_arptable-0.0.2.tar.gz
| Download URL | python_arptable-0.0.2.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5304cb119e8cce031229f3fc195ad5d9dd669c356891b5598b0e8d27bbce5bfe
|
|
BLAKE2b-256 checksum How to use checksums |
1c2e490f5faada1adf2eb1c21cc0ed0a7c24914715bfe74e0ef5fe6521075cb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python_arptable 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.