GSoC/GCI Archive
Google Code-in 2014 FOSSASIA

Create a simple GUI application in python for Power Unit Converter

completed by: Samarjeet Singh

mentors: Mario Behling, Praveen Patil, Hong Phuc

Unit Conversion Tools

Unit conversions are an important part of scientific calculations. Without knowing these conversions our understanding of science would be severely limited. Even if science/math is not a chosen field of study, the average citizen can also benefit from knowing these conversions.

 

The units that most people from the United States are familiar with are the English Units. For instance, you know that a football field is 100 yards long, or that the speed limit on the highway is 65 miles per hour. Most people from other countries however, are not familiar with the English System, instead they know the Metric System.Therefore unit conversion tools have become a necessity in our day-to-day life.

 

Learning Objective of the Task

To learn GUI programming with python and contribute to world of FOSS and Science Education with easy to use applications.

 

Details of the Task

Create a simple GUI application in python for converting unit of 'Power' from one system of units to another.

For example calories per second to watts  {1 calorie per second is equal to 4.1867999999999 watt or joule/second }

 

You can use python GUI tools like Tkinter, GTK or wxPython. 

In the application one should be able to easily convert  Power ( or heat flow rate) measurements such as calorie per second to watt  or horse power (HP) to watt (W)

User should  select units for conversion (To and From) and enter the value of Power and click on convert button to get the converted value.

 

 Example GUI

 (Its for Temperature. You need to create a similar one for Power)

 

[IMAGE http://wavicles.in/files/2014/12/PIC2003115615208751-1ccwo4f.gif]

 

Share your Learning Experience

During the process of working on this task and/or when you finish it,

 

Some useful links

  1. Power unit conversion : http://en.wikipedia.org/wiki/Conversion_of_units#Power_or_heat_flow_rate
  2. Example Tool : http://www.unit-conversion.info/power.html#data
  3. Python GUI Programming : https://wiki.python.org/moin/GuiProgramming
  4. GUI in python : http://sebsauvage.net/python/gui/