Pyplan is a Python development environment intended for easily creating and deploying data analytics apps. Different than a Jupyter Notebook, where code is structured as a list of sentences, in Pyplan code is contained in nodes that work as calculation steps, organized in a hierarchical influence diagram. Nodes can be evaluated, and its result inspected through a console output or rendered as a table or graph.
Pyplan Core is a Python library for using Pyplan models in any Python environment as for example a Jupyter Notebook. It provides methods to open a model, set selectors values and get results of nodes. This library expands the possibilities of using Pyplan models embedded in your own application. Models still have to be created using the Pyplan Graphical IDE that you can download and use for free at www.pyplan.org
Installing and running Pyplan Core
You can install Pyplan Core in your computer following the instructions below:
pip install pyplan_core
You can use Pyplan Core following the instructions below:
from pyplan_core.pyplan import Pyplan
pyplan = Pyplan()
#model_filename = "path/to/my_model_file.ppl"
model_filename = pyplan.sample_models.use_of_pyplan_core() # for sample purposes
pyplan.openModel(model_filename)
value = pyplan.getResult("total_of_cases")
print(value)
pyplan.closeModel()
Metadata
Release files for pyplan-core 0.1.36
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 | Actions |
|---|---|---|---|---|
| pyplan-core-0.1.36.tar.gz | 133.7 kB | Without provenance | Details for pyplan-core-0.1.36.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyplan_core-0.1.36-py3-none-any.whl | Python 3 | none | any | Details for pyplan_core-0.1.36-py3-none-any.whl |
Total release size: 295.5 kB
Release files / pyplan-core-0.1.36.tar.gz
| Download URL | pyplan-core-0.1.36.tar.gz |
|---|---|
| Size | 133.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
930e48bb8e6c93a77b48272cb357a93354bd4a18b1dd84f9704a1aa72af124dd
|
|
BLAKE2b-256 checksum How to use checksums |
59121cb7dc4e399b0863f36655045ec46a6eb8c9dce8030f922cee91af27efdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.8.2 requests/2.27.1 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11
|
Release files / pyplan_core-0.1.36-py3-none-any.whl
| Download URL | pyplan_core-0.1.36-py3-none-any.whl |
|---|---|
| Size | 161.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff20073a57666b23771586bc623da1b92048a385c8424f82062e19da6527153e
|
|
BLAKE2b-256 checksum How to use checksums |
7bfe7fe861c1e150073ed9ddec1a40501be968540670ba4aa152664837bbdeb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.8.2 requests/2.27.1 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11
|
Security for pyplan-core 0.1.36
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.