{"id":19692654,"url":"https://github.com/rwxd/ipams","last_synced_at":"2025-07-06T22:34:17.336Z","repository":{"id":64182401,"uuid":"573942297","full_name":"rwxd/ipams","owner":"rwxd","description":"Tool to query multiple IPAMs.","archived":false,"fork":false,"pushed_at":"2025-06-09T23:09:33.000Z","size":120,"stargazers_count":7,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-12T12:59:18.890Z","etag":null,"topics":["ipam","netbox","phpipam"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rwxd.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,"zenodo":null}},"created_at":"2022-12-03T23:06:10.000Z","updated_at":"2025-01-26T05:19:40.000Z","dependencies_parsed_at":"2024-01-06T02:23:59.118Z","dependency_job_id":"1f0e7f73-59a7-40c9-a9f4-791b6829f24a","html_url":"https://github.com/rwxd/ipams","commit_stats":{"total_commits":41,"total_committers":3,"mean_commits":"13.666666666666666","dds":0.1707317073170732,"last_synced_commit":"1b755c92a97747064daf83b7c8762b9bb92a54e6"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/rwxd/ipams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwxd%2Fipams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwxd%2Fipams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwxd%2Fipams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwxd%2Fipams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwxd","download_url":"https://codeload.github.com/rwxd/ipams/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwxd%2Fipams/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259804834,"owners_count":22913900,"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","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":["ipam","netbox","phpipam"],"created_at":"2024-11-11T19:14:00.618Z","updated_at":"2025-06-14T11:04:21.724Z","avatar_url":"https://github.com/rwxd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipams - Query multiple IPAMs\n\n## Install\n\n### Pip\n\n```bash\npip -U install ipams\n```\n\n### Pipx\n\n```bash\npipx install ipams\n```\n\nUpdate\n\n```bash\npipx upgrade ipams\n```\n\n## Supported IPAMs\n\n- [NetBox](https://docs.netbox.dev/en/stable/) (wip)\n- [phpIPAM](https://phpipam.net/) (wip)\n\n### Planned\n\n\n## Configuration\n\nSave the configuration under `$HOME/.config/ipams/config.yml`\nor use the `--config` flag to specify a different location.\n\n```yaml\n---\nnetboxes:\n  - name: NetBox Demo\n    url: https://demo.netbox.dev/\n    token: 75d956ee746641e844f7fa26b63c6741d287c776\n\nphpipams:\n  - name: phpIPAM Demo\n    url: https://demo.phpipam.net/\n    app_id: ipams\n    token: 75d956ee746641e844f7fa26b63c6741d287c776\n    # Token OR username/password can be used\n    # username: admin\n    # password: admin\n```\n\n### Use the example config\n\n```bash\nmkdir -p $HOME/.config/ipams\ncp config.yml $HOME/.config/ipams/config.yml\n```\n\n## Usage\n\n### IP\n\n```bash\n❯ ipams ip 10.0.0.133\nNetBox Demo\n┏━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n┃ Address       ┃ Tenant ┃ VRF   ┃ Description ┃ Link                                           ┃\n┡━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n│ 10.0.0.133/27 │        │       │ test        │ https://demo.netbox.dev/ipam/ip-addresses/184/ │\n├───────────────┼────────┼───────┼─────────────┼────────────────────────────────────────────────┤\n│ 10.0.0.133/27 │        │ Alpha │             │ https://demo.netbox.dev/ipam/ip-addresses/191/ │\n└───────────────┴────────┴───────┴─────────────┴────────────────────────────────────────────────┘\n```\n\n### Host\n\n#### By name\n\n```bash\n❯ ipams host dmi01-akron\nNetBox Demo\n┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n┃ Device            ┃ Site                 ┃ Tenant   ┃ Address ┃ Link                                     ┃\n┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n│ dmi01-akron-pdu01 │ Dunder-Mifflin, Inc. │ DM-Akron │         │ https://demo.netbox.dev/dcim/devices/27/ │\n├───────────────────┼──────────────────────┼──────────┼─────────┼──────────────────────────────────────────┤\n│ dmi01-akron-rtr01 │ Dunder-Mifflin, Inc. │ DM-Akron │         │ https://demo.netbox.dev/dcim/devices/1/  │\n├───────────────────┼──────────────────────┼──────────┼─────────┼──────────────────────────────────────────┤\n│ dmi01-akron-sw01  │ Dunder-Mifflin, Inc. │ DM-Akron │         │ https://demo.netbox.dev/dcim/devices/14/ │\n└───────────────────┴──────────────────────┴──────────┴─────────┴──────────────────────────────────────────┘\n```\n\n#### By IP\n\n```bash\n❯ ipams host 10.0.0.133\nNetBox Demo\n┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n┃ Device             ┃ Site                 ┃ Tenant    ┃ Address       ┃ Link                                    ┃\n┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n│ dmi01-nashua-rtr01 │ Dunder-Mifflin, Inc. │ DM-Nashua │ 10.0.0.133/27 │ https://demo.netbox.dev/dcim/devices/6/ │\n└────────────────────┴──────────────────────┴───────────┴───────────────┴─────────────────────────────────────────┘\n```\n\n### Network\n\n### By description\n\n```bash\n❯ ipams network \"Shared\"\nNetBox Demo\n┏━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n┃ Network        ┃ Tenant ┃ VRF    ┃ Description     ┃ Link                                      ┃\n┡━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n│ 192.168.0.0/20 │        │ Shared │ Shared services │ https://demo.netbox.dev/ipam/prefixes/95/ │\n└────────────────┴────────┴────────┴─────────────────┴───────────────────────────────────────────┘\n\n```\n\n### By IP\n\n```bash\n❯ ipams network 192.168.0.0/22\nNetBox Demo\n┏━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n┃ Network        ┃ Tenant ┃ VRF    ┃ Description     ┃ Link                                      ┃\n┡━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n│ 192.168.0.0/22 │        │        │                 │ https://demo.netbox.dev/ipam/prefixes/73/ │\n├────────────────┼────────┼────────┼─────────────────┼───────────────────────────────────────────┤\n│ 192.168.0.0/20 │        │ Shared │ Shared services │ https://demo.netbox.dev/ipam/prefixes/95/ │\n└────────────────┴────────┴────────┴─────────────────┴───────────────────────────────────────────┘\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwxd%2Fipams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwxd%2Fipams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwxd%2Fipams/lists"}