Skip to main content

Python bindings to the Surveil API

This is a client library for Surveil built on the Surveil API.

Command-line API

Installing this package gets you a shell command, surveil, that you can use to interact with the Surveil API.

You’ll need to provide the Surveil API URL. You can do this with the --surveil-api-url parameter, but it’s easier to just set it as environment variable:

export SURVEIL_API_URL=http://localhost:8080/v1

You’ll find complete documentation on the shell by running surveil help.

Bash completion

Basic command tab completion can be enabled by sourcing the bash completion script:

source /usr/local/share/monasca.bash_completion

Python API

To use the python API, simply create a client with the endpoint:

from surveilclient.v1_0 import client
c = client.Client('http://localhost:8080/v1')
hosts = c.hosts.list()

Metadata

Release files for python-surveilclient f6828f8

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

Source distribution (sdist)

Source distribution for python-surveilclient f6828f8
File Size Uploaded Provenance
python-surveilclient-f6828f8.tar.gz 12.6 kB Without provenance Details

Release files / python-surveilclient-f6828f8.tar.gz

Download URL python-surveilclient-f6828f8.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
88f5f64e37303615e341c462e1999aec8a5bac3fe93cffa77b4b8d47041f7603
BLAKE2b-256 checksum
How to use checksums
963aa6c48a16d5992a1a3671fa5006574740641151ba41e4e0a3b3884389b43f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-surveilclient f6828f8

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