Skip to content

A basic PHP and Python script to calculate remaining internet data (GB) in Egyptian internet plans. Created for personal use and practice with basic date calculations.

License

Notifications You must be signed in to change notification settings

ZiadGamalDev/remaining-gb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remaining GB

This project contains two simple tools to calculate remaining internet data (in GB) from Egyptian home internet packages. Built during university for personal use and basic programming practice.

Files

  • Remaining-GB.py: A Python CLI script that calculates your remaining GB based on recharge/renewal date.
  • Remaining-GB.php: A web-based calculator made with plain PHP and Bootstrap styles.

Features

  • Choose between recharge or renewal date entry.
  • Calculates consumed GB, remaining GB, and remaining days.
  • Offers different plan options (140GB, 200GB, 250GB).
  • Basic CLI and web versions for flexibility.

Technologies Used

  • Python (datetime)
  • PHP (date_diff, form handling)
  • Bootstrap (styling for the PHP version)

Purpose

Just like the GPA calculator, this was one of my early practical tools. I used it to track my home internet plan usage in Egypt and to practice real-world conditional logic and time-based calculations.

About

A basic PHP and Python script to calculate remaining internet data (GB) in Egyptian internet plans. Created for personal use and practice with basic date calculations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published