Giter Club home page Giter Club logo

kivycalculator's Introduction

KivyCalculator

Creating a calculator application in Python using Kivy.

  • CalculatorKivy.py(Main Application) -> Calculate(Proccess data then pass it to calculator module) -> calculator.py

Objectives/requirements required to complete this project :

  • Support Addition, Subtraction , Division and Multiplication
  • Implement Order of operations or let the user perform it themselves?
  • Implement control measures to prevent inaccurate data or wrong data types from being inputted
  • Create a unit test module that can test the program
  • Mitigate the possibility of crashes
  • Create a packaged application for Windows/Android

The initial versions will be created to test various functionality of non conventional methods. The later versions will be more streamlined and have easier to read code with comments.

Version 0.1 Notes :

Tried using exec() to process strings for the equations given to the calculator whilst it works it comes with its own security flaws. Made the inputs Readonly to prevent certain types of errors that the user can produce.

Am aware of various issues the application still has, that will be improved upon in the upcoming version that will use a far better system.

  • Would only allow 1 decimal
  • Unable to differential between float and int
  • Limited Prevention of non logical calculation

(Current)Version 0.2 Notes : Corrected several issues that were occuring within the application and also used a much sensible module for hanlding our calculations rather than the previous experimental version. Existing code will require to be cleaned up and commented for ease of use and understanding and the unit test module is complete but will require tweaking before it's uploaded. Operations Flow

  • Multiple decimals can be added (1 per numeric value) that's seperated by a numeric operator.
  • Identifies weather a number is a int or float
  • Improved control to prevent operations that would cause errors or crashes.

kivycalculator's People

Contributors

kuroazai avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.