Skip to content

Commit

Permalink
bump version to 0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
digizeph committed Nov 21, 2023
1 parent 7f4e6cd commit 6b41e98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ repository at <https://github.com/bgpkit>.

### BGPKIT Parser

Original Rust BGPKIT Parser code available at: <https://github.com/bgpkit/bgpkit-parser>
Original Rust BGPKIT Parser code available at: <https://github.com/bgpkit/bgpkit-parser-py>

Example:
```python
import bgpkit
parser = bgpkit.Parser(url="https://spaces.bgpkit.org/parser/update-example",
filters={"peer_ips": "185.1.8.65, 2001:7f8:73:0:3:fa4:0:1"})
elems = parser.parse_all()
assert len(elems) == 4227
count = 0
for elem in parser:
count += 1
print(elem)
assert count == 4227
```

The `Parser` constructor takes the following parameters:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name='pybgpkit',
version='0.4.3',
version='0.4.4',
description='BGPKIT tools Python bindings',
url='https://github.com/bgpkit/pybgpkit',
author='Mingwei Zhang',
Expand All @@ -19,7 +19,7 @@
install_requires=[
# available on pip
'dataclasses_json',
'pybgpkit-parser==0.4.2',
'pybgpkit-parser==0.4.3',
'requests',
]
)

0 comments on commit 6b41e98

Please sign in to comment.