DEV Community

Cover image for I created Pycowin: An app which alerts you when vaccine slots are available in your area
Swastik Dwivedi
Swastik Dwivedi

Posted on

I created Pycowin: An app which alerts you when vaccine slots are available in your area

Indian Government is providing free vaccines to all of its citizens. India is very densely populated and its very hard to vaccinate everyone at once. Therefore, Indian government created Cowin portal through which you can book a slot for your vaccination. But due to the high demand its very tough to book a slot because the slots are updated throughout the day and are booked within seconds.

I too had to book a vaccination appointment for myself and had to check the website every now and then. I got tired of doing this, then I decided to create Pycowin.


Pycowin

Pycowin searches for slots every ten minutes and alerts you whenever vaccination slots are available at the selected location. It sends a desktop notification as well as plays an audio track "Vaccines found" on successful searches.

The app is written using Cowin apis, Python and Qt libraries and is completely opensource. You can either download the binary executable or just run it from source. The app is packaged for Linux and Windows with all of its dependencies included.

Github : Pycowin

Screenshots

Windows

Windows

Linux

Linux

Notifications

Windows

windows

Linux

Linux notification

Installation

Windows and Linux

Download the respective zip file from releases.Extract and directly run from there.

Running from terminal

cd <extracted_folder_name>
./pycowin
Enter fullscreen mode Exit fullscreen mode

Running from source

Requirements

Windows

pip install pyqt5 requests win10toast playsound
Enter fullscreen mode Exit fullscreen mode

Linux

Requirements

spd-say : it is usually found in all distros by default. If not found install from your package manager

pip3 install requests PyQt5
Enter fullscreen mode Exit fullscreen mode

Running

git clone https://github.com/drunckj/Pycowin.git
cd Pycowin/src/<windows or linux>
python3 pycowin.py
Enter fullscreen mode Exit fullscreen mode

Want to buy me a coffee : Paypal || Crypto(preferred)

Top comments (3)

Collapse
 
pandademic profile image
Pandademic • Edited

Great Job! By the way , what Linux distro is that in your Virtual machine?

Collapse
 
drunckj profile image
Swastik Dwivedi

Thanks. Its Opensuse Tumbleweed With GNOME 40, and its not running inside a vm. Its running natively. On the other hand, windows is running inside a vm .

Collapse
 
pandademic profile image
Pandademic

Ok , thanks . I love opensuse!