BGPKIT Parser Python Binding
Project description
bgpkit-parser-py
Python binding for bgpkit-parser
Example
from pybgpkit_parser import Parser
import json
parser = Parser(url="https://spaces.bgpkit.org/parser/update-example", filters={"peer_ips": "185.1.8.65, 2001:7f8:73:0:3:fa4:0:1"})
for elem in parser:
print(elem["origin_asns"])
print(json.dumps(elem, indent=4))
break
Supported Python Version
- Python3.7
- Python3.8
- Python3.9
- Python3.10
- Python3.11
Installation
python3 -m pip install pybgpkit-parser
Develop
maturin develop
builds local python module and add to the venv.
Publish for Linux
Install multiple Python interpreters:
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
Build and upload for multiple interpreter versions:
maturin publish --interpreter python3.7 --skip-existing
maturin publish --interpreter python3.8 --skip-existing
maturin publish --interpreter python3.9 --skip-existing
maturin publish --interpreter python3.10 --skip-existing
maturin publish --interpreter python3.11 --skip-existing
Publish for MacOS
maturin publish --skip-existing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybgpkit_parser-0.3.0.tar.gz
(14.2 kB
view hashes)
Built Distributions
Close
Hashes for pybgpkit_parser-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80e54fe48f13c29709a0de8f122c5c06c8be676046fa14c7d16820670776cb03 |
|
MD5 | b3ef8796aa07e27b15eacd6c202f388e |
|
BLAKE2b-256 | b1d548f68eb29ddc7adbf73e50f1d42bb345fcec0657bb8e9b5d0b8277af4deb |
Close
Hashes for pybgpkit_parser-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80bd418d5d5b82c080d73827e7ab07dd4d712ceab014ece25e8262b362454d6f |
|
MD5 | 5cf03ec8c114a15cf8b6ec45a4ff82be |
|
BLAKE2b-256 | 3cb8431dd2db91f79689b12227fed1c6d1273493ec95759a8f182dbbe194f5a9 |
Close
Hashes for pybgpkit_parser-0.3.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a7f080a9f6148357f5295a28e3e93cabd5bbad859ecdef169a63d5236d8bf5 |
|
MD5 | 6928cb682ebc72e43e04fade6a833f59 |
|
BLAKE2b-256 | b8ed5f14f174578f0186e7cec9cc6bc548b9319ebecdc34ef60915af98e8261c |
Close
Hashes for pybgpkit_parser-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fd51d4891f232690158f8aa0cfb47ec9a10cbd98ca9226961fa8f294263dcce |
|
MD5 | 86886d09511bf0a5f32a035f54e54cab |
|
BLAKE2b-256 | 55cbcdefc5fb5ed7aaf6c944ba35ff9239cd0fd80db141932f94ac3a0e3e1404 |
Close
Hashes for pybgpkit_parser-0.3.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92816b49e455bb5f51f099bf31985b8498897612eadcd88f2399024619f084bf |
|
MD5 | b98ed61fcc496de1c24b2a3b8d9f9e9f |
|
BLAKE2b-256 | ca6656949c77b361fc8100147de3fcec376e99520353ab011216e96b6bcde828 |
Close
Hashes for pybgpkit_parser-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8135ef6e7390db2ba8ee82ed708cb9a1a0f3b683288df3f387f795421d7518a8 |
|
MD5 | 11398fb43daebd0272e7ebaba5f07273 |
|
BLAKE2b-256 | e8f3779b66269fe287aa37861582eea8d9b00acc4221e4c6b634e438617300b9 |
Close
Hashes for pybgpkit_parser-0.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 960bfc7006a62022840063a5774d815c4ecc598b1ce370124e96992477d9c419 |
|
MD5 | 83fd6bedebf5ac2d84936245ad412e97 |
|
BLAKE2b-256 | 64e4a940bd6690fa9a02b0eb1f28debd4364480e9c551986c56495dbc59ac894 |