phpipam-api
An incomplete phpIPAM API implementation in python.
import phpipam_api
ipam = phpipam_api.PhpipamAPI("https://phpipam.example.com/", "myapp", "apiuser", "p4s5word")
Usage:
data = ipam.<controller>.<operation>(<arguments>)
All functions return a dictionary object or a list of dictionary objects. Refer to the API Doc for data layout. If an error is encountered, an exception is raised.
Controllers
Functions shared by all controllers:
get()returns all obejcts in in controllerbyID(object_id=<object id>)get specific obejct by IDcreate(object_id=<object id>, data=<data>)edit(object_id=<object id>, data=<data>)delete(object_id=<object id>)
sections
getSubnets(section_id=<section id>)
subnets
search(search=<query>)search for subnet by CIDRgetIP(subnet_id=<subnet id>, ip=<ip>)get address object from subnet by IPgetAddresses(subnet_id=<subnet id>)get all addresses in subnet
addresses
getByIP(subnet_id=<subnet id>, ip=<ip>)getByTag(tag_id=<tag id>)search(ip=<ip>)getFirstFree(subnet_id=<subnet id>)getTags()getTag(tag_id=<tag id>)createFirstFree(subnet_id=<subnet id>)
vlan
l2domains
vrf
devices
getAddresses(device_id=<device id>)getSubnets(device_id=<device id>)
prefix
requires
dateutilrequests
License: MIT
Metadata
Release files for phpipam-api 1.1.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 |
|---|---|---|---|---|
| phpipam-api-1.1.0.tar.gz | 4.4 kB | Without provenance | Details for phpipam-api-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phpipam_api-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for phpipam_api-1.1.0-py3-none-any.whl |
Total release size: 9.6 kB
Release files / phpipam-api-1.1.0.tar.gz
| Download URL | phpipam-api-1.1.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4fd768ce040ffc1db6a3e7588d2409fbee901286c02167164a2c1be682cd662
|
|
BLAKE2b-256 checksum How to use checksums |
dc80acc1bda98f7f7781d6c2aa9aaab7bce5fa5ca1ab96a0c906b028e4566da6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / phpipam_api-1.1.0-py3-none-any.whl
| Download URL | phpipam_api-1.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6854f6776d170f9c4137bfca6f92c5d1450052def797b1b0fdd29b0bebaebba
|
|
BLAKE2b-256 checksum How to use checksums |
0e134dbc333a264de4d78f7185abe1ee0729b1cd7fedb8fcdbacbf5df22db6ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for phpipam-api 1.1.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.