Discord bot that helps you keep tabs on tropical cyclones.
Project description
CycloMonitor
Command-line tool and Discord bot which presents ATCF and Best Track data.
Dependencies:
- aiohttp (provided by py-cord)
- py-cord (Optional, for running the bot)
- tendo (Optional, for running the bot)
Disclaimer
No party involved with CycloMonitor should make any claim that this program is intended to replace tropical cyclone advisories/warnings issued by your local RSMC or TCWC. If you need more detailed information than what is provided by the program, see your local RSMC or TCWC website for forecasts, potential land impacts, or other relevant information.
Running interactively
Install the package:
pip install cyclomonitor
Start an interactive session:
python3 -m cyclomonitor -i
or python3 -m cyclomonitor.cli
When running interactively, type help
to see available commands.
Running the bot
Install the package with everything needed to run the bot:
pip install cyclomonitor[bot]
If you cloned the GitHub repository, you might want to install the package in dev mode:
cd cyclomonitor
pip install -e .[bot]
Some Linux distributions may require you to set up a virtual environment.
Until I get the project to use absolute paths, you'll probably want to create a separate directory to store its data:
mkdir cyclomonitor_temp
cd cyclomonitor_temp
To run the bot:
python3 -m cyclomonitor -b -t your.token.here
If you don't want to specify -t
every time, paste your bot's token into a file called TOKEN
in your working directory.
For full argument list: python3 -m cyclomonitor -h
or run the module with no arguments.
Windows users: You might want to replace python3
with python
.
If you're using a virtual environment, ensure it is active before running the bot.
CycloMonitor logs to stdout by default. To log to a file, specify the parameter -l LOGFILE
, where LOGFILE
is the path to the log file.
Configuring the bot
See CONFIGURATION.md for details.
Supports Python 3.8+, but Python 3.11+ is recommended.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cyclomonitor-2024.7.27.tar.gz
.
File metadata
- Download URL: cyclomonitor-2024.7.27.tar.gz
- Upload date:
- Size: 56.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75d6f6ae59ac88c983d140843657994548775f99923e90d678cb8affc6d26c5f |
|
MD5 | c5064a7d8ecd91ab4594e7e997114be2 |
|
BLAKE2b-256 | 597f8f2db6ba3bdfb57851b843fab5fcd2262c62afb700c7e49c41d60d7e046f |
File details
Details for the file cyclomonitor-2024.7.27-py3-none-any.whl
.
File metadata
- Download URL: cyclomonitor-2024.7.27-py3-none-any.whl
- Upload date:
- Size: 69.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8af8d51a8ee39065724cc7bab9be9c3054e92e238f9bed740c69f99240e1e9a5 |
|
MD5 | cf88e87ccda2c8289291d7175b1de8ab |
|
BLAKE2b-256 | a296e4eeaac3431c657c788c7e708c3ba292082560e93c1d582ecbe337026280 |