Code to monitor limnology RSS feeds and post new articles to Mastodon.
The keywords and journal choices herein aim to focus on limnology (the study of inland waters). They are also meant to exclude related topics such as fisheries ecology, water resources engineering, estuarine/marine ecology, ecological genetics, and the study of specific "inland seas" like the North American Great Lakes. Feel free to weigh-in in the repository issues on scope recommendations!
Query papers that came out prior to today without posting:
limnopapers
Query papers that came out prior to today and open in browser:
limnopapers --browser
Manually approve posting of papers that came out prior to today:
limnopapers --interactive
Unsupervised posting of papers that came out prior to today:
limnopapers --tweet
"Reset" the tweet log:
limnopapers --ignore_all
# manually delete old log entries
- Create a file named
config.py
that stores your Twitter/Mastodon API keys
- Create a cron job. On Linux this can be done with the following commands:
crontab -e
0 15 * * * python /path/to/limnopapers.py
See requirements.txt
Install these to the activated environment with:
pip install -r requirements.txt
or:
mamba env create -f environment.yml
-
Please help by adding missing journals to limnopapers/journals.csv or filing an issue
-
Filtering keywords are located in limnopapers/keywords.csv.