RPTK - Routing Policy Tool Kit
Python toolkit for prefix filter list management operations with plugable modules for query and output handling.
Features
- Command-line
rptktool - Simple python api module
- Flask-based web-query api
- Query modules:
- native python query module
- bgpq3 shell wrapper
- Format modules
- JSON output
- YAML output
- IOS classic/XE style prefix-lists
- JunOS prefix-lists
- BIRD prefix-lists
- ...more coming soon
Getting Started
-
Install from pip:
$ pip install rptk -
Run bgpq3 installer script, if not already installed:
$ cd $PREFIX/share/rptk/utils/ $ ./install-bgpq3.sh -
Customise settings in
rptk.confas necessary:$ cd $PREFIX/etc/rptk/ $ cp rptk.conf.example rptk.conf $ vi rptk.conf -
Check that test queries are working on the command line:
$ rptk -F ios -Q bgpq3 AS-WOLCOMM -
Check that test queries are working on the web API:
$ rptk-web $ curl http://localhost:8080/ios/AS-WOLCOMM
Refer to setup.md for addtional steps to setup the online web-api help pages.
Metadata
Release files for rptk 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rptk-0.2.0.tar.gz | 21.3 kB | Without provenance | Details for rptk-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rptk-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for rptk-0.2.0-py2.py3-none-any.whl |
Total release size: 49.8 kB
Release files / rptk-0.2.0.tar.gz
| Download URL | rptk-0.2.0.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aff15eeb1381dd1742783bd5f24d49effb72c528b02f1543fb09e8bd28e60229
|
|
BLAKE2b-256 checksum How to use checksums |
fe78f3b6d6ca70fb04327f228729a51386c288794f60bd4da62ee988a6f90351
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / rptk-0.2.0-py2.py3-none-any.whl
| Download URL | rptk-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 28.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ce45fdcdc64edb19f5c710bfaa13624c7584eadea6105350f8dcef6be31af8d4
|
|
BLAKE2b-256 checksum How to use checksums |
330de0359bec8e6764feac560a60ca202b50ebf39143746de1b72f23786c34fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rptk 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.