Skip to main content

python3-cyberfusion-cluster-apicli

API client for Core API.

Install

PyPI

Run the following command to install the package from PyPI:

pip3 install python3-cyberfusion-cluster-apicli

Debian

Run the following commands to build a Debian package:

mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
dpkg-buildpackage -us -uc

Configure

Config file options

  • Section clusterapi, key serverurl
  • Section clusterapi, keys username and password (optional)
  • Section clusterapi, key apikey (optional)

Class options

  • config_file_path. Non-default config file path.
  • authenticate. Endpoint is called without token when set.

Usage

Basic

from cyberfusion.ClusterApiCli import ClusterApiRequest

endpoint = "/api/v1/certificates"

r = ClusterApiRequest()

Request

First, set the request:

r.GET(endpoint)
r.PATCH(endpoint)
r.PUT(endpoint)
r.POST(endpoint)
r.DELETE(endpoint)

Then execute the request:

print(r.execute())

Release files for python3-cyberfusion-cluster-apicli 3.1

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

Source distribution (sdist)

Source distribution for python3-cyberfusion-cluster-apicli 3.1
File Size Uploaded
python3_cyberfusion_cluster_apicli-3.1.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python3-cyberfusion-cluster-apicli 3.1
File Interpreter ABI Platform
python3_cyberfusion_cluster_apicli-3.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / python3_cyberfusion_cluster_apicli-3.1.tar.gz

Download URL python3_cyberfusion_cluster_apicli-3.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1e903bb2d438d52a3e23520020e86e6f314f9c6f19653a9cd821af76e1e3f6b1
BLAKE2b-256 checksum
How to use checksums
1159515b0ee5f79c3f64f404463ee0299b608afd1f83b9ffcaf42edb5f7bb738
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / python3_cyberfusion_cluster_apicli-3.1-py3-none-any.whl

Download URL python3_cyberfusion_cluster_apicli-3.1-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49adcc06138235cf37d3e52ff93d090d789add6e649a4cdfbba7932df0d727b8
BLAKE2b-256 checksum
How to use checksums
4da180191e5288fabd73f5d4cd210dcc6dbfc0b3521a9b7fdfb14102aeb06300
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

3.1 This release

2 release files

3.0.3.1

1 release file

3.0.3

1 release file

3.0.2

1 release file

3.0.1

1 release file

3.0

1 release file

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