Skip to main content

You can log on Slack with this handler.

import logging

import slacklogging


slack_logger = logging.getLogger('slack')
slack_logger.addHandler(slacklogging.Handler(token, channel, username))

You have to make a bot user for this logger, and need to invite the bot user to the channel.

Metadata

Release files for slacklogging 0.0.3

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

Source distribution (sdist)

Source distribution for slacklogging 0.0.3
File Size Uploaded Provenance Actions
slacklogging-0.0.3.tar.gz 2.6 kB Without provenance Details for slacklogging-0.0.3.tar.gz

Release files / slacklogging-0.0.3.tar.gz

Download URL slacklogging-0.0.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
582095e9804b111f9bd4197dd193f0be0fb3a2c62690fe2354e79868421a5090
BLAKE2b-256 checksum
How to use checksums
4765b789e044a7ee5ade288035813f2623eca6437c66c2dcd8e10000cf4a0c69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for slacklogging 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file No provenance

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