oppe-for-python
An API wrapper for Oppe written in Python.
Installation
pip install oppe
Usage
Sending an event
from oppe import Oppe
from oppe.exceptions import EventRequestError
oppe = Oppe(api_token='insert-api-token-here', project_id="uuid-of-project")
try:
oppe.event(
channel_id="uuid-of-channel",
title="user-registered",
description="A new user has registered.",
emoji="👋",
data={
"user_id": 123,
},
)
except EventRequestError as e:
# Handle error
print(e)
Metadata
Release files for oppe 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oppe-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for oppe-0.2.3-py3-none-any.whl |
Release files / oppe-0.2.3-py3-none-any.whl
| Download URL | oppe-0.2.3-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9e21fedd26abc560f170fc635a8902be4c2bf941c6d5f57b8a0ce91df7eecf2
|
|
BLAKE2b-256 checksum How to use checksums |
49e6eaf9e64bca62418d86619d3830e7a64ee1418df348bf8c29cebc341418ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for oppe 0.2.3
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.