Exhaust every operator and calculate the expressions for objects.
Project description
exhaustive-cal
Usage
This package is using for exhausting every operator and calculate the expressions for objects.
How to use it
import it by: from exhaucal import *
. No any additional modules or packages will be installed. If you cannot install it by pip, please download the source and extract it into sys.path.
To see examples, please type ValueExhaustive.__doc__
after importing.
Or you can make some fun things!
>>> from exhaucal import *
>>> ValueExhaustive((1, 1, 4, 5, 1, 4), "+-*/%&|^", "+-*/%&|^", ("+", "-", "*", "/", "%", "&", "|", "^", "**"), "+-*/%&|^", "+-*/%&|^").listexpr()
('1+1+4+5+1+4', '1+1+4+5+1-4', [[36860 omitted]], '1^1^4**5^1|4', '1^1^4**5^1^4')
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
File details
Details for the file exhaustive-cal-0.1.6.213809b0.tar.gz
.
File metadata
- Download URL: exhaustive-cal-0.1.6.213809b0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3957a0af3175fe190730e68f2715a8c1f4edcf237a3ef2b49e59e2e65b72af70 |
|
MD5 | 776867876ac0a2e198dc0bd1f5297cb3 |
|
BLAKE2b-256 | 5a9c7da2a56978569a217d3b379b491da96b8feed3e5837c0280f5cfe7710fb2 |