Skip to main content

Python API client for DETERRERS

This library makes it easy to interact with the DETERRERS perimeter firewall portal to automate registration, and configuration of IP addresses and firewall profiles.

Installation

Use pip to install the latest version:

pip install deterrers-api

Example

import deterrersapi


deterrers = deterrersapi.Deterrers('https://deterrers.example.com', '<api-token>')

# get information about ip address
deterrers.get('192.0.0.1')

# delete ip address
deterrers.delete('192.0.0.1')

# add a new ip address with `virtUOS` as admin
deterrers.add('192.0.0.1', ['virtUOS'])

# update ip with firewall profile `Multipurpose`
deterrers.update('192.0.0.1', 'Multipurpose', '')

# activate firewall profile
deterrers.action('192.0.0.1', 'register')

Metadata

Release files for deterrers-api 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deterrers-api 0.5
File Size Uploaded Provenance
deterrers-api-0.5.tar.gz 4.0 kB Without provenance Details

Release files / deterrers-api-0.5.tar.gz

Download URL deterrers-api-0.5.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
86b0d069f527951b70ad0d1ab69eee7e6216e673dc8cc57926d14fc7a2bf3e4b
BLAKE2b-256 checksum
How to use checksums
b66be7828b6ab538bab5b6324f648a87cbc730aa4ead899c97a2ac3737a75fc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Security for deterrers-api 0.5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page