Giter Site home page Giter Site logo

calculator-python's Introduction

CALCULATOR-PYTHON

Repository size GitHub last commit License Stargazers

This is a project of a simple calculator with interface graphic build in Python. ๐ŸŒ 

๐Ÿ“Œ Table of Contents

Application screenshot

Application Image 1 Application Image 2 Application Image 3

Technologies

Prerequisites

  • Python 3.7.1+ installed in your machine
  • Creation of virtual environment

     # Installing virtualenv for Python
     $ python3 -m pip install virtualenv
    
     # Creating your virtual environment
     $ python3 -m virtualenv name-of-your-virtual-environment
    
     # Activating virtual environment
     $ source name-of-your-virtual-environment/bin/activate
  • Installing dependencies

     # Enter in folder of project
     $ cd calculator-python/

    Make sure what the virtual environment this activated.

     # Installing requirements
     (name-of-your-virtual-environment) $ pip install -r requirements.txt

How to run

With your virtual environment enabled

# Running the application
(name-of-your-virtual-environment) $ python main.py

GUI modification

If you choose modify GUI will need generate a Python class and file

  • Generating a Python class from the .ui file

     # Enter in folder app of project
     $ cd app/

    Make sure what the virtual environment this activated.

     # Generating a Python class
     (name-of-your-virtual-environment) $ pyside2-uic ./UI/calculdora.ui > interface.py

    For more informations acess: Using .ui Files (QUiLoader and pyside2-uic)

  • Generating a Python file from the .qrc file

     # Enter in folder app of project
     $ cd app/

    Make sure what the virtual environment this activated.

     # Generating a Python file
     (name-of-your-virtual-environment) $ pyside2-rcc ./UI/resources/resource.qrc -o resource_rc.py

    For more informations acess: Using .qrc Files (pyside2-rcc)

License

Released in 2020 ๐Ÿ“• License.

Made with โค๏ธ by Igor Silva. This project is under the MIT license.

Give a โญ if this project helped you!

calculator-python's People

Contributors

igorsilva3 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

junezimmerman23

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.