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
sunslack-1.1.8.tar.gz 92.2 kB Details

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

Release history Release notifications | RSS feed

This release

1.1.8 This release

1 release file

1.1.7

1 release file

1.1.6

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

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