Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/musatahawar/covid-19
This is a Python script that fetches the latest COVID-19 statistics from a designated source and sends desktop notifications using the plyer library. The script allows you to stay updated on COVID-19 data for different states or regions.
https://github.com/musatahawar/covid-19
covid-19 covid-app covid-python python python-3 python3
Last synced: 5 days ago
JSON representation
This is a Python script that fetches the latest COVID-19 statistics from a designated source and sends desktop notifications using the plyer library. The script allows you to stay updated on COVID-19 data for different states or regions.
- Host: GitHub
- URL: https://github.com/musatahawar/covid-19
- Owner: MusaTahawar
- License: mit
- Created: 2023-11-02T07:30:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-02T07:43:44.000Z (about 1 year ago)
- Last Synced: 2024-11-09T17:19:03.254Z (2 months ago)
- Topics: covid-19, covid-app, covid-python, python, python-3, python3
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# COVID-19 Statistics Notification Script
This is a Python script that fetches the latest COVID-19 statistics from a designated source and sends desktop notifications using the `plyer` library. The script allows you to stay updated on COVID-19 data for different states or regions.
## Getting Started
To run this script, you need to have Python installed on your system and install the required libraries. You can install `plyer` and `requests` using pip:
```shell
pip install plyer requestsgit clone https://github.com/yourusername/covid-statistics-notifier.git
cd covid-statistics-notifierpython covid_stats_notifier.py
```
## Features
- **Customizable Source:** You can easily update the source URL to fetch data from different COVID-19 data providers.
- **Notification Alerts:** The script uses desktop notifications to keep you informed of COVID-19 statistics.
- **Error Handling:** Improved error handling to handle issues gracefully and display helpful error messages.## Usage
1. Customize the `URL` variable in the script to point to your preferred source of COVID-19 statistics.
2. Run the script using the instructions provided above.
3. The script will fetch the latest data and notify you with statistics for each state or region.## Configuration
- The script can be easily configured by adjusting the `URL` variable and the path to the notification icon (`ICON_PATH`) to suit your needs.## License
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.## Acknowledgments
- This project uses the `plyer` library for sending desktop notifications and the `requests` library for making HTTP requests.Feel free to modify and use this script to stay updated on COVID-19 statistics. If you have any questions or suggestions, please don't hesitate to reach out.