Skip to main content

Functions for creating and running Simulation Tools

Project description

SimTool

https://img.shields.io/pypi/v/simtool.svg https://img.shields.io/travis/hubzero/simtool.svg Documentation Status

Functions for creating and running Simulation Tools on the HUBzero platform lead by nanoHUB

Features

  • Easily declare and validate inputs and outputs of a simulation using Python and Jupyter notebooks. The entire simulation code can run inside a notebook or the notebook can be a wrapper that invokes complex external codes.

  • Uses papermill to run parameterized notebooks, saving a new copy for each run.

  • Results saved in a datastore (filesystem or web service based). The datastore can be used for machine learning and statistical analysis. Additionally, it functions as a cache.

  • Can be containerized for remote execution.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2019-08-09)

  • First release on PyPI.

0.2.0 (2020-03-04)

  • Second release on PyPI.

0.2.1 (2020-03-08)

  • Third release on PyPI.

0.2.2 (2020-03-08)

  • PyPI release with updated documentation.

0.2.3 (2020-09-21)

  • Improved search function to locate simTool notebook

0.3.1 (2021-06-14)

  • Improved input data validation

  • Added web service based cacheing support

0.3.2 (2021-09-22)

  • Fixed for use outside of HUBzero environment

0.3.3 (2021-10-04)

  • Improved automatic documentation generation

  • Fixed Image value setting

0.3.4 (2022-05-10)

  • Verify location of installed or published sim2L notebook

  • Differentiate between missing path and wrong path type (file/directory)

  • Stricter enforcement of param attributes

  • Retain directory structure when saving results.

  • Close open files to avoid file descriptor leakage

  • Added magic functions needed to run notebooks in parallel (MPI)

0.3.5 (2022-05-16)

  • Trap missing simToolSaveErrorOccurred and simToolAllOutputsSaved in result notebook

  • Return list of input files whether inputs is specified as dictionary or YAML

  • Add run preparation method used for web service application. Previously used external shell script

0.3.6 (2022-08-11)

  • Extend utility functions for getting information about input files to use either parameter or simple dictionary description.

  • Prepare for newer papermill versions

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

simtool-0.3.6.tar.gz (101.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simtool-0.3.6-py2.py3-none-any.whl (25.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file simtool-0.3.6.tar.gz.

File metadata

  • Download URL: simtool-0.3.6.tar.gz
  • Upload date:
  • Size: 101.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.26.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.62.3 CPython/3.6.9

File hashes

Hashes for simtool-0.3.6.tar.gz
Algorithm Hash digest
SHA256 8679bd444c060dd503352fd5ee545454fabeda87645bcb4e3301a842bfdd25ed
MD5 42f9ccd801d852b0e45c7e67ddf38667
BLAKE2b-256 923082a0a6486d92f5d9e475451c12943b97bbc8c558612446d544948e499d1e

See more details on using hashes here.

File details

Details for the file simtool-0.3.6-py2.py3-none-any.whl.

File metadata

  • Download URL: simtool-0.3.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.26.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.62.3 CPython/3.6.9

File hashes

Hashes for simtool-0.3.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1ce472c15cf94910ddfdb6380d7315155fb1fa1cc61ef5591ef7a9d6ccd08067
MD5 521eaf84ecfc285e63025f4cab2bbffe
BLAKE2b-256 1fbb95b78e3c4b4f20aa8dd0b0b03117b3e5eee16223b8fcd3df31000e8cf68c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page