Skip to main content

A Python wrapper for the Cerb.ai API.

Usage

Enable the API and generate an API key-pair using the instructions provided by Cerb.ai: https://cerb.ai/guides/api/configure-plugin/

In your python environment, install cerbapi:

pip install cerbapi

In your python project import and create a Cerb instance

from cerbapi import Cerb

cerb = Cerb(
        access_key='myaccesskey',
        secret='IdeallyDontStoreThisInYourCodeLikeThis',
        base='https://example.com/index.php/base/'
        )

print(cerb.get_record('ticket', 1))
print(cerb.get_contexts())
print(cerb.search_records('comment', query='author.worker:Rob'))

For details on interacting with the API visit the website: https://cerb.ai/docs/api/

Metadata

Release files for cerbapi 1.0.9

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

Source distribution (sdist)

Source distribution for cerbapi 1.0.9
File Size Uploaded Provenance
cerbapi-1.0.9.tar.gz 4.9 kB Without provenance Details

Release files / cerbapi-1.0.9.tar.gz

Download URL cerbapi-1.0.9.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
677c467d5bf3224b4c71ea44f502eafafb668c261648782ccf1b98e52454bdb0
BLAKE2b-256 checksum
How to use checksums
d34d933ac749afcd719acef1926745deb61a14c791fc812cae1918277707c78b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cerbapi 1.0.9

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.

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