Skip to main content

pybugsnag

PyPI version Build Status Coverage Status Code style: black Documentation Status

A python wrapper for the Bugsnag Data Access API

Quick start

Installation

# install
pip install pybugsnag

Basic Usage

from pybugsnag import BugsnagDataClient
from pybugsnag.models import Error

client = BugsnagDataClient("$AUTH_TOKEN")
organization = client.organizations[0]  # first organization for the auth token
project = organization.projects[0]  # first project in the organization
project.get_errors(
    sort=Error.Sort.LAST_SEEN,
    direction=Error.Sort.Direction.DESCENDING,
    per_page=30,
)  # gets errors for this project,
project.get_trend_buckets()  # data for a trend histogram

Metadata

Release files for pybugsnag 0.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 pybugsnag 0.0.5
File Size Uploaded Provenance Actions
pybugsnag-0.0.5.tar.gz 7.9 kB Without provenance Details for pybugsnag-0.0.5.tar.gz

Release files / pybugsnag-0.0.5.tar.gz

Download URL pybugsnag-0.0.5.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2f767db4d35a7da9951799e8d5491486b0eb26bfbc582082264cdf4d61b2d920
BLAKE2b-256 checksum
How to use checksums
d79b84c2961da701c01973bc20a1fa031ddba261bd02bc6674994b897d17b528
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

Security for pybugsnag 0.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