Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.7.1 instead.
Reason given by maintainers: Redirection to login page broken

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 in turn 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 Framework is version 3.9.18. Click here for details on how to install the PBSHM Framework on your local machine.

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 process channel data dsbrennan dsbrennan/channel-tools README
pbshm-ie-toolbox A collection of tools to help process 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

The simplest way to install the PBSHM Framework is via the pbshm-framework python package available through the standard pip commands. It is recommended to install the pbshm-framework package into a dedicated python virtual environment.

Use the following command to install the latest version of the pbshm-framework in your python environment:

pip install pbshm-framework

Once you have installed the PBSHM Framework on your local machine, you must configure your installation to communicate with the PBSHM Database and then you can start the framework.

Upgrade

If you installed the PBSHM Framework via the pbshm-framework python package (as described in the installation instructions): you can upgrade your installation to the latest available version through the following command in your python environment:

pip install --upgrade pbshm-framework

Configure Flask

PBSHM Framework is built upon Flask and as such, Flask must be configured to understand which application to load and whether debug information should be included. This information is passed onto Flask via the FLASK_APP and FLASK_DEBUG environment variables. The commands below will set these environment variables depending upon your operating system:

Linux/Mac:

export FLASK_APP=rosehips
export FLASK_DEBUG=1

Windows (CMD):

set FLASK_APP=rosehips
set FLASK_DEBUG=1

Windows (Powershell):

$env:FLASK_APP="rosehips"
$env:FLASK_DEBUG=1

Configure Framework

There are two steps to configuring the PBSHM Framework: entering the details of the database configuration (configure settings), and initialising the database (initialise database).

If this is your first time installing any of the PBSHM Ecosystem, you will need to complete both steps. However, if you already have a working copy of PBSHM Core (or any associated PBSHM Module) on your local machine, you will most likely have already initialised the database with the PBSHM Schema and created a system login. Therefore, you only need to complete the database configuration step (configure settings).

Once these aforementioned steps have been completed, you can now start the framework. Please note that these configuration steps only need to be completed once. When you want to start the framework after installation, you need only use the command highlighted in the starting the framework section.

Configure Settings

To configure the system settings (database credentials, user collection, default collection, etc), simply use the following command and the system will prompt you to enter the required details (please ensure you have configured flask before completing this step):

flask init config

Initialise Database

To initialise the database with the latest version of the PBSHM Schema and create a login for the system, simply use the following command and the system will prompt you for any required login details and install the latest version of the PBSHM Schema into the selected database (please ensure you have configured the system settings before completing this step):

flask init db new-root-user

Starting the Framework

To start the framework using the inbuilt Flask development server, use the following command (please ensure you have configured flask before running this 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.7.tar.gz (95.0 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.7-py3-none-any.whl (82.7 kB view details)

Uploaded Python 3

File details

Details for the file pbshm_framework-0.7.tar.gz.

File metadata

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

File hashes

Hashes for pbshm_framework-0.7.tar.gz
Algorithm Hash digest
SHA256 8ffca51bbf6b0f97b37b86233374dfa0fd1a2f027cb3e57ac1aa2df477c8b6e0
MD5 1e346cd2766713659a2e44fa82cb8a77
BLAKE2b-256 1d0d413401edf69d0379621411ba66e6264ba11f9cdf56114c1c1960cb770fee

See more details on using hashes here.

Provenance

The following attestation bundles were made for pbshm_framework-0.7.tar.gz:

Publisher: pypi-publish.yml on dynamics-research-group/pbshm-framework

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_framework-0.7-py3-none-any.whl.

File metadata

  • Download URL: pbshm_framework-0.7-py3-none-any.whl
  • Upload date:
  • Size: 82.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pbshm_framework-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4d4dd3b0203d532078557254ee831377a49a5b1cf0b9119da73bff623316cb94
MD5 ee2d504648cc2548853574be0e21e04a
BLAKE2b-256 80d4d8ba32f0fbbb046184ac1a8b478e7cfdd7e46332b536625cbb9bccad4dc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pbshm_framework-0.7-py3-none-any.whl:

Publisher: pypi-publish.yml on dynamics-research-group/pbshm-framework

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

Release history Release notifications | RSS feed

0.7.1

2 files

This release

0.7 This release

2 files

0.6

2 files

0.5.1

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