Name | snmp-rp JSON |
Version |
0.3.1
JSON |
| download |
home_page | None |
Summary | A SNMP Libray based in Rust SNMP |
upload_time | 2023-01-28 15:51:43 |
maintainer | None |
docs_url | None |
author | Luka Oliveira |
requires_python | >=3.7 |
license | None |
keywords |
snmp
rust
snmpv2
get
oid
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
SNMP-RP
=======
A Python SNMP library developed in Rust with PyO3.
About
------------
SNMP-RP is intended to be an interface between `SNMP Rust libray <https://github.com/hroi/rust-snmp/>`__ and Python.
Bringing compiled language performance and optimization to Python.
Installation
------------
.. code:: python
pip install snmp-rp
Examples
------------
GET
.. code:: python
import snmp_rp
snmp_oid = '1.3.6.1.4.1.367.3.2.1.2.1.4.0'
snmp_host = '172.16.0.53'
snmp_community = 'public'
snmp_port = '161'
sys_descr = snmp_rp.get(snmp_oid, snmp_host, snmp_port, snmp_community)
print(sys_descr)
Roadmap
-------
- Add support for GETNEXT
- Add support for GETBULK
- Add support for SET
License
-------
.. |MIT License| image:: https://img.shields.io/badge/License-MIT-green.svg
:target: https://choosealicense.com/licenses/mit/
Raw data
{
"_id": null,
"home_page": null,
"name": "snmp-rp",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "SNMP,Rust,SNMPv2,get,OID",
"author": "Luka Oliveira",
"author_email": "pedrolukaoliveira@protonmail.com",
"download_url": "https://files.pythonhosted.org/packages/d9/4b/210bc71a2c9e475d69b76df328399b9696bd225f4afd71f4f06648a54c5e/snmp_rp-0.3.1.tar.gz",
"platform": null,
"description": "SNMP-RP\n=======\n\nA Python SNMP library developed in Rust with PyO3.\n\nAbout\n------------\n\nSNMP-RP is intended to be an interface between `SNMP Rust libray <https://github.com/hroi/rust-snmp/>`__ and Python.\nBringing compiled language performance and optimization to Python.\n\n\nInstallation\n------------\n.. code:: python\n\n pip install snmp-rp\n\nExamples\n------------\n\nGET\n\n.. code:: python\n\n import snmp_rp\n\n snmp_oid = '1.3.6.1.4.1.367.3.2.1.2.1.4.0'\n snmp_host = '172.16.0.53'\n snmp_community = 'public'\n snmp_port = '161'\n\n sys_descr = snmp_rp.get(snmp_oid, snmp_host, snmp_port, snmp_community)\n\n print(sys_descr)\n\nRoadmap\n-------\n\n- Add support for GETNEXT\n- Add support for GETBULK\n- Add support for SET\n\nLicense\n-------\n\n.. |MIT License| image:: https://img.shields.io/badge/License-MIT-green.svg\n :target: https://choosealicense.com/licenses/mit/\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A SNMP Libray based in Rust SNMP",
"version": "0.3.1",
"split_keywords": [
"snmp",
"rust",
"snmpv2",
"get",
"oid"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "16fb116c6d46bf63063bc56d860314ae6e51d533097818b579579617e131165b",
"md5": "4ba68255eb775f010545bd21ee1a0a49",
"sha256": "48e0b6773cb201e55141e96f2e2907ab89d64fb0b9dc22162cb1ee1800c8ac1f"
},
"downloads": -1,
"filename": "snmp_rp-0.3.1-cp39-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "4ba68255eb775f010545bd21ee1a0a49",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.7",
"size": 122215,
"upload_time": "2023-01-28T15:51:41",
"upload_time_iso_8601": "2023-01-28T15:51:41.116487Z",
"url": "https://files.pythonhosted.org/packages/16/fb/116c6d46bf63063bc56d860314ae6e51d533097818b579579617e131165b/snmp_rp-0.3.1-cp39-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d94b210bc71a2c9e475d69b76df328399b9696bd225f4afd71f4f06648a54c5e",
"md5": "fea15dbd8962a7dfac19ee077f6ad4f9",
"sha256": "ae88c9102c71f28abfa53c0e53504db32e2aa40d6025037dd7836617ddf9c1a4"
},
"downloads": -1,
"filename": "snmp_rp-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "fea15dbd8962a7dfac19ee077f6ad4f9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4547,
"upload_time": "2023-01-28T15:51:43",
"upload_time_iso_8601": "2023-01-28T15:51:43.535462Z",
"url": "https://files.pythonhosted.org/packages/d9/4b/210bc71a2c9e475d69b76df328399b9696bd225f4afd71f4f06648a54c5e/snmp_rp-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-28 15:51:43",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "snmp-rp"
}