Skip to main content

No project description provided

Project description

A simple Calculator Project

In this project, i used a Fire to solve expressions such as BODMAS,which solves multiple operations i.e addition,subtraction,multiplication and division. Where fire is a Python library that will turn any Python component into a command line interface with just a single call to Fire. The easiest way to use Fire is to take any Python program, and then simply call fire.Fire() at the end of the program. This will expose the full contents of the program to the command line.

Getting Started

How to run project?

  1. Create a virtual environment on your local machine
python3 -m venv env
  1. Activate virtual environment
source env/bin/activate
  1. Make a local directory

  2. Clone project in your directory

git clone
  1. Install
python3 install
  1. Use command pycalci,it will show you commands
$ pycalci

    pycalci COMMAND
    COMMAND is one of the following:

  1. use pycalci solve EXPRESSION
$ pycalci solve 2+4*5/2


import fire

def hello(name):
  return 'Hello {name}!'.format(name=name)

if __name__ == '__main__':

Here's how we can run our program from the command line:

$ python hello World
Hello World!


Scripting Language = Python 3.0+

Command-Line Option = fire

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pycalci, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pycalci-0.1.1-py3-none-any.whl (2.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pycalci-0.1.1.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page