Skip to main content

Sun predictions on a Slack channel

This bot helps you get the Some of the solar magnetic activity information on your slack channel.

Create a configuration file with the following template:

[SUNSLACK]
token: xoxb-123456790-123456790-123456790
channel: sunflux
cachedir: /var/tmp/sunflux
loglevel: INFO
[ANIMATEMUF]
target_dir: /var/tmp/muf
converter: /usr/local/bin/convert.sh
muf_file: /tmp/muf_source.json
video_file: /tmp/muf/muf.mp4
font: /System/Library/Fonts/Supplemental/Arial Narrow.ttf
font_size: 16

You can get a token for your bot by registering it on the Slack App website.

You can run the bot every hour in cron. It only sends messages and upload the prediction graph when NOAA publishes new data.

Line to add in your crontab:

1 * * * * /usr/local/bin/sunslack --config ~/.sslack.cnf --alerts --flux --muf

Metadata

Release files for sunslack 1.1.8

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

Source distribution (sdist)

Source distribution for sunslack 1.1.8
File Size Uploaded Provenance Actions
sunslack-1.1.8.tar.gz 92.2 kB Without provenance Details for sunslack-1.1.8.tar.gz

Release files / sunslack-1.1.8.tar.gz

Download URL sunslack-1.1.8.tar.gz
Size 92.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5abf9771199f917d46f2d1aab259d26b1e6ae8a3a46ee81295d68d2dabd8b376
BLAKE2b-256 checksum
How to use checksums
6a0281a619723f1c5ece31bb4bf590b9011ed92da49983ce4d1343d4e9238f25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.13

Security for sunslack 1.1.8

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