Calculator with physical quantities.
Project description
Calcon - Calculator with physical quantities
This is a calculator with support for physical quantities, coded in Python.
Installation
pip install calcon
Usage
Use calcon --help
to show help.
Use calcon EXPR
to calculate an expression.
Example output for calcon "5 * kilogram + 5 * gram"
:
((5 * kilogram) + (5 * gram))
= 5.005 * kilogram
Currently, there are only a limited number of units supported, but more will be supported in the future.
Changelog
0.1.1
-
Added this changelog
-
Fixed parsing numbers with leading period (
.
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
calcon-0.1.1.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file calcon-0.1.1.tar.gz
.
File metadata
- Download URL: calcon-0.1.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0844d2e9c7aa8d7db81bd7833e3157019f7d32679f9078af039a682db6d641f8
|
|
MD5 |
f37c254f457a3619fd8e58c4d6102c0c
|
|
BLAKE2b-256 |
b5ba087b7485af2213cd7e0c99247c1c8799a0400f08fccb2106fe170ad7a829
|
File details
Details for the file calcon-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: calcon-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
be749ddca0c36f8bf30413a3957d1823db5b10ad6ae10713d37da791478becfc
|
|
MD5 |
c923498652947413b4f81e510051fbea
|
|
BLAKE2b-256 |
2bec298e6353f2758d87a3959bcef6df2c01388c1abe7f3be0a4e5c67217eaaa
|