Comments (3)
Hi.
Thanks for reporting this. I will have a look. Was this detected using mypy
?
As a small heads-up: I'm in the process of working on a major release which also includes support for SNMPv3. This will change the external API. The project is versioned using SemVer. If you want to be on the safe side, pin your dependencies to <2.0
so you won't run into issues once it's released.
There's just a few things to verify before I release it so it should hit beta any time soon. It's been extensively tested as internal alpha already.
from puresnmp.
Yes, output from mypy. Looked at blame on master branch also, method def and type-hint comment are ages apart and the comment is missing the last argument. I guess it would be worth fixing for those who'll pin the dep. Good to know that a new API is coming, as I am writing a brand new app, guess I will concentrate on other aspects first and start using the new API asap.
from puresnmp.
I might be able to squeeze an alpha release in here somehow so you can give it a try. Docstrings are extensive so you should be able to figure things out without external docs.
I'll definitely plan to tackle the type-hints in the 1.x branch anyway as well.
from puresnmp.
Related Issues (20)
- v2.0.0rc1 on pip doesn't contain the necessary files. HOT 16
- when v2.x can install from pip HOT 3
- SNMPv3 authPriv not working for specific vendor. HOT 19
- ERROR: No matching distribution found for pack==1.1,==1.3; extra == "rest" HOT 3
- Cookbook link broken / trap example HOT 1
- Trap receiver throws exception HOT 1
- table and bulktable api is not identical
- Circular dependency error?
- get("1.3.6.1.2.1.2.1.0") good; get(OID("1.3.6.1.2.1.2.1.0")) throws exception HOT 1
- NotImplementedError: Decoding is not yet implemented on <class 'puresnmp.x690.types.BitString'>
- Implement RFC-3411 (for SNMPv3 and SNMPv1 support) HOT 3
- puresnmp.get throws "empty" exceptions
- multiget to SNMPv1 device timeout HOT 6
- puresnmp 1.10.2 depends on typing module HOT 10
- Issue with importing typing library in Python 3.7 HOT 1
- bulkwalk loops forever if a buggy snmp server loops HOT 7
- Asyncio Traps HOT 2
- IndexError: list index out of range
- IndexError: list index out of range
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puresnmp.