Skip to content

Commit

Permalink
Merge pull request #33 from jvoss/routing_history_updates
Browse files Browse the repository at this point in the history
Update routing_history example
Version bump to 0.3.0
  • Loading branch information
jvoss authored Jan 13, 2023
2 parents ff374a2 + 131c96e commit 2ca2c8e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prsw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@

from .ripe_stat import RIPEstat

__version__ = "0.2.1"
__version__ = "0.3.0"
5 changes: 4 additions & 1 deletion prsw/stat/routing_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,19 @@ def __init__(
at the time. (default: false)
.. code-block:: python
import prsw
from datetime import datetime
ripe = prsw.RIPEstat()
start = datetime.fromisoformat("2021-01-01T12:00:00.000000")
end = datetime.now()
prefixes = ripe.routing_history(
3333, # Autonomous System Number
starttime=start, # datetime
endtime=end, # datetime
min_peers_seeing=20, # int
min_peers=20 # int
)
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
setup(
name=PACKAGE_NAME,
author="Jonathan P. Voss",
author_email="[email protected]",
author_email="[email protected]",
python_requires="~=3.7",
classifiers=[
"Environment :: Console",
Expand Down

0 comments on commit 2ca2c8e

Please sign in to comment.