Skip to main content

PBSHM IE Model Toolbox

Project description

PBSHM IE Toolkit

The PBSHM IE Toolkit is designed to help users interact and design IE models for use within the PBSHM Core. The toolkit enables IE models to be either created within the online text editor or upload existing PBSHM Schema compliant JSON files.

Each IE model is placed within a private users sandbox, each model then goes through two steps of varification. Step 1: Validate the syntax of the IE model against the latest version of the PBSHM Schema. Step 2: Validate that the logic of the IE model holds true (e.g if a grounded model, there should be at least one ground element).

Once a model has passed both stages of validation, this model can then be included in the global IE model catalogue of the system.

For more information about the syntax of an IE model, please read the documentation for the PBSHM Schema.

Installation

Install the package via pip:

pip install pbshm-ie-toolbox

Setup

Firstly, configure the PBSHM Core by following the outlined guide

Running

The application is run via the standard Flask command:

flask run

File size issue

If you get an error when uploading a large IE model, you can add the following line of code into your pbshm __init__.py file:

# Change max content size to 16MB
app.config["MAX_CONTENT_LENGTH"] = 16 * 1000 * 1000

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

pbshm_ie_toolbox-0.1.4.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

pbshm_ie_toolbox-0.1.4-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file pbshm_ie_toolbox-0.1.4.tar.gz.

File metadata

  • Download URL: pbshm_ie_toolbox-0.1.4.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pbshm_ie_toolbox-0.1.4.tar.gz
Algorithm Hash digest
SHA256 274cc409f0e7b4185ab5c3e56520c34fd191509e6a4dedc6b9f9e8c0d8c34b91
MD5 07095df940b60eae2da594efe55f7715
BLAKE2b-256 77693abe7a8f5425f95a88201950ab6e222c34c8f25056b0d60d5d43fe874dd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pbshm_ie_toolbox-0.1.4.tar.gz:

Publisher: pypi-publish.yml on dsbrennan/ie-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pbshm_ie_toolbox-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pbshm_ie_toolbox-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0a7cbbe88df85f6693006de89cdfe00ebd743929363870f34bef116037ea982a
MD5 f070c7bf862ee649e038845f7f925fb0
BLAKE2b-256 edbf862105df0ba49615884cb82c8361018c2b39d9a685ae27bdc2b718dea9d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pbshm_ie_toolbox-0.1.4-py3-none-any.whl:

Publisher: pypi-publish.yml on dsbrennan/ie-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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