A powerful arithmetic and symbolic expressions evaluator
Project description
Calco: A Powerful Expression Evaluator
PyCalco or shortly Calco is a powerful command line interface for arithmetic and algebraic or symbolic expressions evaluation. Its power relies on the math module from Python standard library and SymPy module, which is a Python library for symbolic mathematics. If you are new to SymPy or symbolic computation, start with their tutorial, it is a great place where to start from.
Why Another Python Calculator?
There are so many Python calculators or expression evaluators out there for evaluating mathematical expressions; why does PyCalco exist? Well, we acknowledge that question is legitimate, but it is easy to answer: because there is not a single command line utility for expression evaluation in Python out there which ticks the following boxes:
- is simple, interactive and intuitive
- supports both arithemetic and algebraic expressions evaluation
- is highly customizable with the ability to add new scientific modules without to much struggle
- suppports variable assignment
- needs no python import statements to use globally available mathematical functions
- comes with useful common helpers (getting terminal dimensions, ANSI colors, fetching direct keyboard input, screen clearing, command history, various other assignment tools, supporting bang shortcuts, etc.)
PyCalco actually implements its own shell and is designed to be fun and customizable but not overly flexible. To get an understanding of what PyCalco is all about, we strongly recommend looking at the PyCalco Tutorials.
Installation
PyCalco is available on the Python Package Index, which makes its intallation quite easy. You just need python3 and its package manager pip3 on your plateform, then you are set to install PyCalco.
Run the following command from the terminal for installation:
pip install pycalco
If that didn't work, try:
python3 -m pip install pycalco
Usage
After installation to run PyCalco interactively just type, again from the terminal, the following command:
pycalco
And voilà, you are ready to use PyCalco. You should see the PyCalco shell waiting for you to enter your commands and evaluate expressions. Type help
to get help on how to use PyCalco. You can also type directly any valid arithmetic and symbolic expression to get it evaluated.
Documentation
The project documentation is located at https://docs.trabdlkarim.com/projects/pycalco/en/latest/. Please note that the documentation is still a work in progress, so improvements to it are welcome.
Support & Contribution
PyCalco is under BSD 3-Clause Revised License, which means its license is an Open Source Initiative approved license. Being an open source software PyCalco needs your support. Feel free to contribute to this project by forking it and submitting your changes as a pull request. Feel also free to report any bug here that you may find. And we also welcome greatly new feature suggestions. Please so do not hesistate to send us your feedback.
For more detailed informations about PyCalco visit the project homepage.
Made with :heart: and Python!!!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pycalco-0.9.1.tar.gz
.
File metadata
- Download URL: pycalco-0.9.1.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f62e5c07f9c0b470b18f38c32a5bd5efa3d0a3e0aa9add3867c9c8489af9855b |
|
MD5 | 2f375b9d9658d32b31e19b5b4eccfdf3 |
|
BLAKE2b-256 | 8c1a206697a452e11af3423df82c4552db4f35c492ea7687fb886ddfbbbcf39d |
File details
Details for the file pycalco-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: pycalco-0.9.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0f7dd17d26278d3b318d54f82dab971c98fb8ca487f2131ba176a07fd99de64 |
|
MD5 | e3aeef2ca9daa1108709d6da469c5218 |
|
BLAKE2b-256 | 34b9dd3c791b251df85c421605fa8ed92148be06d32962839ec82cd93f651066 |