Equator
A maths interpreter built in Python using SymPy
Features:
- Solve simultaneous equations
- Simplify expressions
- It can do maths faster than you
Installation
Equator can be installed from PyPi. Run the command
pip3 install equatorpy
Usage:
Start-up:
Equator can be run directly through the Python module. Run the command
python3 -m equator
Alternatively, Equator can be invoked directly using the command
equator
The program has been tested on Windows and Linux (Ubuntu), but not MacOS. It might work, but it might not.
- If no arguments are provided, the program launches into a full interpreter, built using the Curses library.
- If it is started with the argument
json, then its output will be in a JSON format, where each line of input is treated as one set of equations and expressions. Each input will have one line of respective output, in JSON format. - If it is started with the argument
ev, then it will run a quick evaluation on the following argument. For exampleequator ev "1 + 1"would print2.
Syntax:
- Order of operations is respected (including brackets)
- Use standard mathematical syntax (+, -, *, /, ^, =, etc)
- Functional notation is used for unary operators:
|A|should be written asabs(A)
- Equations or expressions are separated by semicolons
Development
When working with Equator, it is recommended to work with a virtual environment.
After git cloneing the repository, set up a virtual environment using these
instructions, then install the
required dependencies using the command
pip3 install -r requirements.txt
or if you're on Windows
pip install -r requirements_windows.txt
You should then be able to debug or develop the interpreter normally.
Metadata
Release files for equatorpy 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| equatorpy-1.2.1.tar.gz | 34.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| equatorpy-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.8 kB
Release files / equatorpy-1.2.1.tar.gz
| Download URL | equatorpy-1.2.1.tar.gz |
|---|---|
| Size | 34.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb7afdd1aae711b5c78573d71ecf26885cc666ff0479e9553efb8f9fd9ef2295
|
|
BLAKE2b-256 checksum How to use checksums |
a1e90ff211bfd586eb051a6a922ebcd59a2e53c2e26ec597783cc5a090d5647c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Release files / equatorpy-1.2.1-py3-none-any.whl
| Download URL | equatorpy-1.2.1-py3-none-any.whl |
|---|---|
| Size | 40.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09f70ead7c17bc34a6f57922b6ae401098e7be1716a7995c78b546a2f9756290
|
|
BLAKE2b-256 checksum How to use checksums |
4fc04d9537f98f9d30b15254c02d528085c28394aa3d7b9e5c362f838f589764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Security for equatorpy 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.