Skip to content

Doofenshmirtz-Evil-Incorp/FuelishPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,049 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FuelishPy

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

Status

Generate csv

Features

  • 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.

Tech Stack

  • Python
  • Beautiful Soup
  • Requests
  • CSV

Installation

To install FuelishPy, follow these steps:

  1. Clone the repository: git clone https://github.com/yourusername/fuelishpy.git
  2. Install the dependencies: pip install -r requirements.txt
  3. And that's pretty much it.

Usage

To use FuelishPy, follow these steps:

  1. Wait until 6am.
  2. Check the state.csv file to see the latest diesel and petrol prices for your state.
  3. Do a happy dance if the fuel prices have gone down, or a sad dance if they have gone up.
  4. Repeat this process every day, coz why not.

Contributing

We welcome contributions from the community. To contribute to FuelishPy, follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b my-feature-branch
  3. Make your changes and commit them: git commit -am 'Add some fuel-saving feature'
  4. Push to the branch: git push origin my-feature-branch
  5. Submit a pull request, and relax.

Created by

Aryaman and Asvin. If you have any questions or feedback, you can reach out to us through the issues.

Acknowledgements

License

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.