The Python program that retrieves daily fuel prices from ndtv.com at the ungodly hour. THE FRONT END IS HOSTED ON fuelish.a4real.org FOR UI RELATED CONTRIBUTIONS REFER TO: LINK TO REPO
- Web scraping to fetch the daily diesel and petrol prices.
- The program parses the fetched data into a CSV file called state.csv.
- FuelishPy is scheduled to run every day at 6am.
- FuelishPy is efficient and lightweight.
- Python
- Beautiful Soup
- Requests
- CSV
To install FuelishPy, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/fuelishpy.git - Install the dependencies:
pip install -r requirements.txt - And that's pretty much it.
To use FuelishPy, follow these steps:
- Wait until 6am.
- Check the state.csv file to see the latest diesel and petrol prices for your state.
- Do a happy dance if the fuel prices have gone down, or a sad dance if they have gone up.
- Repeat this process every day, coz why not.
We welcome contributions from the community. To contribute to FuelishPy, follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b my-feature-branch - Make your changes and commit them:
git commit -am 'Add some fuel-saving feature' - Push to the branch:
git push origin my-feature-branch - Submit a pull request, and relax.
Aryaman and Asvin. If you have any questions or feedback, you can reach out to us through the issues.
FuelishPy is licensed under the GPLv3 License, because we like to share our fuel-saving knowledge with the world. You are free to use, modify, and distribute this program, as long as you keep the original copyright and license notice intact.