Skip to main content
https://raw.githubusercontent.com/pyplan/pyplan-ide/master/docs/assets/img/logo.png

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()

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)

Source distribution for pyplan-core 0.1.36
File Size Uploaded
pyplan-core-0.1.36.tar.gz 133.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyplan-core 0.1.36
File Interpreter ABI Platform
pyplan_core-0.1.36-py3-none-any.whl Python 3 none any Details

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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page