hadiasghari / pyasn

Python IP address to Autonomous System Number lookup module. (Supports fast local lookups, and historical lookups using archived BGP dumps.)
Other
292 stars 72 forks source link

Add support for gzipped files to conversion script #36

Closed poliquin closed 8 years ago

poliquin commented 8 years ago

This resolves #27 by allowing MRT files to be gzipped. The pyasn_util_convert.py file now automatically detects bz2 and gz files.

poliquin commented 8 years ago

P.S. I would be happy to make this work with --bulk as well. This would allow bulk processing of dumps from RIS Raw Data, which following a slightly different naming convention. I would want to modernize the argument parsing too. I think that could easily be done in a backwards compatible way.

hadiasghari commented 8 years ago

Thanks