{"id":20929655,"url":"https://github.com/kiraum/rislive_py","last_synced_at":"2025-08-23T09:11:58.350Z","repository":{"id":260674663,"uuid":"881910447","full_name":"kiraum/rislive_py","owner":"kiraum","description":"A Python client for monitoring BGP updates in real-time using the RIPE RIS Live service.","archived":false,"fork":false,"pushed_at":"2025-03-03T16:19:51.000Z","size":31,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T10:59:33.075Z","etag":null,"topics":["bgp","network","python","ripe","ris"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kiraum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-01T13:37:20.000Z","updated_at":"2024-12-26T19:54:45.000Z","dependencies_parsed_at":"2024-11-01T19:23:52.929Z","dependency_job_id":"587e8a31-08b7-404a-a6b8-2d6c7754a652","html_url":"https://github.com/kiraum/rislive_py","commit_stats":null,"previous_names":["kiraum/rislive_py"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kiraum/rislive_py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiraum%2Frislive_py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiraum%2Frislive_py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiraum%2Frislive_py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiraum%2Frislive_py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiraum","download_url":"https://codeload.github.com/kiraum/rislive_py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiraum%2Frislive_py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746302,"owners_count":24813557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bgp","network","python","ripe","ris"],"created_at":"2024-11-18T21:22:37.531Z","updated_at":"2025-08-23T09:11:58.323Z","avatar_url":"https://github.com/kiraum.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RIPE RIS Live Streaming Client\n\nA Python client for monitoring BGP updates in real-time using the RIPE RIS Live service.\n\n## Features\n\n- Stream BGP updates from RIPE RIS collectors;\n- Filter updates by various criteria;\n- Support for IPv4 and IPv6 prefixes;\n- Automatic reconnection on connection drops;\n- Debug logging capabilities.\n\n## Requirements\n\n- Python 3.12+\n- websockets library\n\n## Installation\n\n```bash\npip install websockets\n```\n\n## Usage\n\nBasic usage:\n```bash\n» python3 rislive.py -h\nusage: rislive.py [-h] [-H FILTER_HOST] [-t {UPDATE,OPEN,NOTIFICATION,KEEPALIVE,RIS_PEER_STATE}] [-k {announcements,withdrawals}] [-p FILTER_PEER] [-a FILTER_ASPATH] [-f FILTER_PREFIX] [-m] [-l] [-r] [-d] [-D]\n\nMonitor the streams from RIPE RIS Live.\n\noptions:\n  -h, --help            show this help message and exit\n  -H, --host FILTER_HOST\n                        Filter messages by a specific RRC (format: rrcXX).\n  -t, --type {UPDATE,OPEN,NOTIFICATION,KEEPALIVE,RIS_PEER_STATE}\n                        Filter messages by BGP or RIS type.\n  -k, --key {announcements,withdrawals}\n                        Filter messages containing a specific key (\"announcements\" or \"withdrawals\").\n  -p, --peer FILTER_PEER\n                        Filter messages by BGP peer IP address.\n  -a, --aspath FILTER_ASPATH\n                        Filter by AS path. Use \"^\" for start, \"$\" for end (e.g., \"^123,456,789$\").\n  -f, --prefix FILTER_PREFIX\n                        Filter UPDATE messages by IPv4/IPv6 prefix (e.g., 192.0.2.0/24 or 2001:db8::/32).\n  -m, --more-specific   Match prefixes that are more specific (part of) the given prefix.\n  -l, --less-specific   Match prefixes that are less specific (contain) the given prefix.\n  -r, --include-raw     Include Base64-encoded original binary BGP message.\n  -d, --disable-auto-reconnect\n                        Disable auto-reconnect on connection drop.\n  -D, --debug           Enable debug logging output.\n```\n\n## Examples\n\nFilter updates for a specific prefix:\n```bash\npython rislive.py -f 192.0.2.0/24\n```\n\nMonitor specific RRC with debug logging:\n```bash\npython rislive.py -H rrc00 -D\n```\n\nFilter by AS path and message type:\n```bash\npython rislive.py -a \"^64496,64497$\" -t UPDATE\n```\n\n## Contributing\n\nContributions are welcome! Please ensure your code follows the existing style and includes appropriate tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiraum%2Frislive_py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiraum%2Frislive_py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiraum%2Frislive_py/lists"}