CAIDA / pybgpstream

Python bindings for BGPStream
https://bgpstream.caida.org
BSD 2-Clause "Simplified" License
28 stars 22 forks source link

Allow time to be given as float #40

Closed alistairking closed 4 months ago

alistairking commented 3 years ago

Currently the datetime parsing code at https://github.com/CAIDA/pybgpstream/blob/e837264bd7481ff813acd3ac75cf5b123272479f/pybgpstream/pybgpstream.py#L101-L110 triggers an assertion if the given time is a float (as is the case when passing time.time()).

digizeph commented 3 years ago

@alistairking I added the support for floating number timestamps in PR #41, could you take a look?

brendonj commented 4 months ago

41 has been merged.