Skip to main content

PBSHM Framework

The PBSHM Framework is a preconfigured version of the PBSHM Core and module ecosystem. The goal of the PBSHM Core, was to build a base application which facilitated the curation of PBSHM Modules which intern consume PBSHM Schema data. The purpose of the PBSHM Framework is to provide a single packaged product of the PBSHM Schema, PBSHM Core, and any relevant PBSHM Modules: to showcase the available technology in an easy to use manner and enable anyone, regardless of their coding knowledge, to interact with the aforementioned technology.

For more information on the PBSHM Core, please see the GitHub repository. Each module included within the PBSHM Framework is linked below, with details of the module authors and any further information on how to use the module. For more information on how to create a module for PBSHM Core, please see the module template repository.

The minimum version of Python required to run the PBSHM Core is version 3.9.18.

Included modules

Below is a list of modules included within the framework and links to the corresponding repositories and guides.

Module Description Author Repo Documentation
pbshm-channel-toolbox A collection of tools to help processing channel data dsbrennan dsbrennan/channel-tools README
pbshm-ie-toolbox A collection of tools to help processing IE models dsbrennan dsbrennan/ie-tools README
pbshm-network-mcs An implementation of the Jaccard Index and Maximum Common Subgraph to generate network similarity scores for a a given set of IE models jgosliga dynamics-research-group/ag-mcs README
pbshm-ie-visualiser A 3D model builder for creating, editing, and viewing IE models josiemcculloch dynamics-research-group/pbshm-ie-model-builder README

Installation

Install the package via pip:

pip install pbshm-framework

Setup

Set the Flask application path and environment.

For Linux/Mac:

export FLASK_APP=pbshm
export FLASK_DEBUG=1

For Windows:

set FLASK_APP=pbshm
set FLASK_DEBUG=1

Configure settings and initialise the database with a new root user:

flask init config
flask init db new-root-user

The above steps will prompt you for all the required fields to set up the system.

Running

The application is run via the standard Flask command:

flask run

Bug reporting

If you encounter any issues/bugs with the system or the instructions above, please raise an issue through the issues system on GitHub.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pbshm-framework-0.5.1.tar.gz (89.1 kB view details)

Uploaded Source

Built Distribution

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

pbshm_framework-0.5.1-py3-none-any.whl (76.6 kB view details)

Uploaded Python 3

File details

Details for the file pbshm-framework-0.5.1.tar.gz.

File metadata

  • Download URL: pbshm-framework-0.5.1.tar.gz
  • Upload date:
  • Size: 89.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for pbshm-framework-0.5.1.tar.gz
Algorithm Hash digest
SHA256 7f42554aba9eafdea9ec04369727ed58314e03fcfb0be81f07a1e9479ef1ac2b
MD5 5b2cbf4f6fd54fe0a2952b69a3b579a6
BLAKE2b-256 0f5228a9f561dcc4a3b2f1be58d4d681037b493a4fba995f656977694faf22eb

See more details on using hashes here.

File details

Details for the file pbshm_framework-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pbshm_framework-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e9b45e5c91d20c45a1f16d829b0e4851722f1709e99353340afbe01e5e40c41
MD5 e9f93f5ac99072a6ec0b00c75c5237d8
BLAKE2b-256 8517154cf0ec3e6db03b3721e65d75336493d0610bd11cb3550adcfe82822ede

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7.1

2 files

0.7

2 files

0.6

2 files

This release

0.5.1 This release

2 files

0.5

2 files

0.4

2 files

0.3.1

2 files

0.3

2 files

0.2

2 files

0.1

2 files

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