bgpstuff-1.1.2
توضیحات
Python Client for Connecting to BGPStuff.net
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bgpstuff-1.1.2 |
| نام | bgpstuff |
| نسخه کتابخانه | 1.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Darren O'Connor |
| ایمیل نویسنده | nouser@bgpstuff.net |
| آدرس صفحه اصلی | https://github.com/mellowdrifter/python-bgpstuff.net |
| آدرس اینترنتی | https://pypi.org/project/bgpstuff/ |
| مجوز | Apache Software License (http://www.apache.org/licenses/LICENSE-2.0) |
# python-bgpstuff.net
python-bgpstuff.net is a Python library that can access the various functions on [bgpstuff.net](bgpstuff.net).
## Requirements
```pip install bgpstuff```
## Simple demo
```
>>> import bgpstuff
>>> q = bgpstuff.Client()
>>> q.get_route("4.2.2.1")
>>> print(f"The route for 4.2.2.1 is {q.route}")
>>> The route for 4.2.2.1 is 4.0.0.0/9
```
## Notes
The library has a built in rate limiter to limit 30 requests per minute. If you go over this limit the application will sleep until there is more available requests.
While you could change this in the code, if you do that I'll permanently ban your source IPs.
### Documentation
Documentation for installation and all the methods can be found at [https://dev.bgpstuff.net/](https://dev.bgpstuff.net/)
نیازمندی
| مقدار | نام |
|---|---|
| - | bogons |
| - | cachetools |
| - | ipaddress |
| - | ratelimit |
| - | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl bgpstuff-1.1.2:
pip install bgpstuff-1.1.2.whl
نصب پکیج tar.gz bgpstuff-1.1.2:
pip install bgpstuff-1.1.2.tar.gz