Skip to main content

Scora Notify

This package implements Slack notification and Mixpanel abstractions to be used in various projects.

This packages uses logging for console outputs.

The Slack notifier can: * Start threads * Update threads * Finish threads

The event tracker can: * Track events * Time events

To time an event, call the time_event method with the desired event_name, and later call track on that same event. The duration between calls will be saved as the “Duration” property.

Development

Build, install, test locally

# build from this source -- considering that dependencies are resolved
rm -rf ./dist/* && python3 -m build

# From another venv -- install
virtualenv -p python3
. ./venv/bin/activate
pip install <REPO_HOME>/dist/scora-notify-0.1.0.tar.gz


# Import and run
from scora_notify import Notify
notify=Notify(slack_token="", slack_channel="", step="", tenant="", project="")

# Import and run
from scora_notify import EventTracker
tracker = src.EventTracker("",project="",tenant="")
tracker.track("event",properties={"prop":1})

Metadata

Release files for scora-notify 0.7.0

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

Source distribution (sdist)

Source distribution for scora-notify 0.7.0
File Size Uploaded Provenance Actions
scora-notify-0.7.0.tar.gz 4.0 kB Without provenance Details for scora-notify-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scora-notify 0.7.0
File Interpreter ABI Platform Actions
scora_notify-0.7.0-py3-none-any.whl Python 3 none any Details for scora_notify-0.7.0-py3-none-any.whl

Total release size: 8.7 kB

Release files / scora-notify-0.7.0.tar.gz

Download URL scora-notify-0.7.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8a16d79b1abc5c96e1655198944aaaf58bd7378332f2d92f91d83a8d2d00c8b0
BLAKE2b-256 checksum
How to use checksums
0f00756c9d4e6638d54ad4a7fb7d095bfde4671243bd33d1112fe9a63ee3ce13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / scora_notify-0.7.0-py3-none-any.whl

Download URL scora_notify-0.7.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76a0f4e21d4f036962050428dc6fc8f0b12e844b459b382650ce6784e3675939
BLAKE2b-256 checksum
How to use checksums
3b1429eeca458994c92199b7bf50cf296fcd740295c5e5958ca9be69e81ad691
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for scora-notify 0.7.0

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