All Projects → imbstt → impf-progress-bot

imbstt / impf-progress-bot

Licence: MIT license
The script that runs the impf_progress Twitter account, tweeting German vaccination updates

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to impf-progress-bot

covid19 JHU dashboard
This script pull the data from JHU dashboard in real-time
Stars: ✭ 12 (-33.33%)
Mutual labels:  covid-19
covid19-stream-processors
Stream Information & Example Applications for Processing JHU and CovidTracking.com COVID-19 data available as streams over Solace
Stars: ✭ 35 (+94.44%)
Mutual labels:  covid-19
Covid-19-API
A realtime API for coronavirus cases on Heroku. Data automatically updated every 10 minutes!
Stars: ✭ 59 (+227.78%)
Mutual labels:  covid-19
coviddata
Daily COVID-19 statistics by country, region, and city
Stars: ✭ 49 (+172.22%)
Mutual labels:  covid-19
covid19africa
Africa open COVID-19 data working group
Stars: ✭ 47 (+161.11%)
Mutual labels:  covid-19
covid-ar
🌍📊 Data Visualization for COVID-19 in AR
Stars: ✭ 21 (+16.67%)
Mutual labels:  covid-19
SPREAD
Spread visualizes how viruses and other pathogens are spreading in time and space. It creates compellable shareable, interactive and time-animated visualization.
Stars: ✭ 9 (-50%)
Mutual labels:  covid-19
ventilator
Open source turbine based medical ventilator developed by CRUX (www.cruxbd.com)
Stars: ✭ 21 (+16.67%)
Mutual labels:  covid-19
cocoa-documentation
接触確認アプリ COCOA の非公式ドキュメント
Stars: ✭ 51 (+183.33%)
Mutual labels:  covid-19
CoronaVirusOutbreakAPI
A tiny and small program to crawler and analyze outbreak of COVID-19 in world and every country using PHP.
Stars: ✭ 20 (+11.11%)
Mutual labels:  covid-19
covidpass
Web app for adding EU Digital COVID Certificates to your wallet apps
Stars: ✭ 1,228 (+6722.22%)
Mutual labels:  covid-19
Pandemic-Produce-Delivery-Project
An ongoing open-source e-commerce shop using React, Express, Firebase, and MongoDB. Designed for pandemic-relief and social good. New contributors are always, always, welcomed, regardless of where you are 🔥. Feel free to reach out at [email protected]~
Stars: ✭ 20 (+11.11%)
Mutual labels:  covid-19
covid19-india-data
Publicly available structured COVID-19 data from India, extracted automatically from daily health bulletins published by state governments.
Stars: ✭ 22 (+22.22%)
Mutual labels:  covid-19
covid-19-prediction
[IoT'20] Predicting the Growth and Trend of COVID-19 Pandemic using Machine Learning and Cloud Computing
Stars: ✭ 28 (+55.56%)
Mutual labels:  covid-19
covid19
Visualize and compare COVID 19 growth rates of different countries
Stars: ✭ 22 (+22.22%)
Mutual labels:  covid-19
SARS2-Stat-KR
중국 우한 바이러스 한국 확진자 통계
Stars: ✭ 25 (+38.89%)
Mutual labels:  covid-19
ios
CoThings's iOS application. CoThings is a realtime counter for shared things.
Stars: ✭ 13 (-27.78%)
Mutual labels:  covid-19
covid19-br-info
Coronavirus frontend info about Brazil's states and cities
Stars: ✭ 12 (-33.33%)
Mutual labels:  covid-19
COVID-19-STAT
A web application to keep track of COVID-19 numbers & growth across the world
Stars: ✭ 19 (+5.56%)
Mutual labels:  covid-19
cowin-vaccine-booking
The app enables tracking coivid vaccine availability and automatically book a vaccination slot. This is based on Cowin API and supports the recently added Captcha code of Cowin.
Stars: ✭ 150 (+733.33%)
Mutual labels:  covid-19

Impfstatus Fortschritt Twitter Bot

This is the code that runs the account @impf_progress on Twitter, tweeting German vaccination updates with an ASCII-art style loading bar, inspired by @year_progress.

▓▓▓▓▓▓▓▓▓▓░░░░░ 70,0% mind. eine Impfdosis
▓▓▓▓▓▓▓▓▓▓░░░░░ 67,5% vollständig Geimpfte
▓░░░░░░░░░░░░░░ 4,6% Booster Geimpfte

Script Setup

  • Create an app at the Twitter Developer site and create app tokens and keys
  • Edit twitter.cfg and put in your Twitter Consumer and Access tokens/keys
  • Change DRY_RUN to yes if you just want to test the script without actually sending any tweets
  • Make sure state.cfg is writable, this is where the last Tweet and its values are stored so to not Tweet repeated messages
  • Install the Tweepy library
# Create venv
py -3 venv venv

# Activate venv: Windows
venv\Scripts\activate.bat 

# Activate venv: Linux / MacOS
source venv/bin/activate

# Install tweepy directly
pip3 install tweepy

# Alternatively, use requirements.txt
pip install -r requirements.txt

The script can now simply be called like this:

python bot.py
# or
py -3 bot.py

Crontab Setup

Running a cronjob with virtualenv:

0 12 * * * cd /home/you/impf-progress-bot/ && /home/you/impf-progress-bot/venv/bin/python /home/you/impf-progress-bot/bot.py

Data Source

The script uses data from Aktuell_Deutschland_Impfquoten_COVID-19.csv, provided by the Robert Koch-Institut under CC-BY 4.0 International.

License

All source code and documentation in this repository is licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].