Skip to main content

VybeSec server-side monitoring for Python.

Project description

vybesec

Server-side error monitoring for Python backends (FastAPI/Flask/Django).

Install

pip install vybesec

Init

from vybesec import init, capture_exception

init(
    key="pk_live_YOUR_KEY",
    platform="other",
    environment="production",
)

Manual capture

try:
    raise ValueError("boom")
except Exception as exc:
    capture_exception(exc, route="/api/checkout", method="POST", status_code=500)

FastAPI middleware

from fastapi import FastAPI
from vybesec.middleware import VybesecMiddleware

app = FastAPI()
app.add_middleware(VybesecMiddleware)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vybesec-0.1.11.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vybesec-0.1.11-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file vybesec-0.1.11.tar.gz.

File metadata

  • Download URL: vybesec-0.1.11.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for vybesec-0.1.11.tar.gz
Algorithm Hash digest
SHA256 4bd6bdcaf30615d56e11520c1f105d8e9a9f15901287fac7346a8eec39df196d
MD5 51345eaf6698774865e2005ae42c9660
BLAKE2b-256 0df6079765437659e863bc7a022cd109ef68acbc90bdce00df6ff396fe3610c6

See more details on using hashes here.

File details

Details for the file vybesec-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: vybesec-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for vybesec-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 103b17e1be7651e45935e3e08a584e922d5478eaf29de3b8e98162b18553e85d
MD5 bf240510e37dde00c5e5ac4921935d58
BLAKE2b-256 496af008536003f2a4bcc561f0b344fd4b509cb4c2531cd5b9d451a5d2a3576c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page