PBSHM Framework
Project description
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.11. Click here for details on how to install the PBSHM Framework on your local machine.
Included modules
Below are 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 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 --app rosehips 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 --app rosehips init db new-root-user
Starting the Framework
Use the following command to start flask with the rosehips app:
flask --app rosehips 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pbshm_framework-0.7.1.tar.gz.
File metadata
- Download URL: pbshm_framework-0.7.1.tar.gz
- Upload date:
- Size: 94.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5f44171e4f6728669474fd390759500876e55d99d6e18f6edd278d1c84fd6db
|
|
| MD5 |
d97c132801945c4e250c623b2c5fb1bd
|
|
| BLAKE2b-256 |
ee7de4d31416f37a1270fe8e608bad9e2162fe0f3160e4e60a1ceef3d3698f45
|
Provenance
The following attestation bundles were made for pbshm_framework-0.7.1.tar.gz:
Publisher:
pypi-publish.yml on dynamics-research-group/pbshm-framework
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pbshm_framework-0.7.1.tar.gz -
Subject digest:
a5f44171e4f6728669474fd390759500876e55d99d6e18f6edd278d1c84fd6db - Sigstore transparency entry: 243960277
- Sigstore integration time:
-
Permalink:
dynamics-research-group/pbshm-framework@fc375d9f928ea8090355254f2fbe58595a044ba3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dynamics-research-group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@fc375d9f928ea8090355254f2fbe58595a044ba3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pbshm_framework-0.7.1-py3-none-any.whl.
File metadata
- Download URL: pbshm_framework-0.7.1-py3-none-any.whl
- Upload date:
- Size: 82.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f7f17bbe3e00ae81185d9e5cc174e6749864873a004b92d0d42ef5017b52db2
|
|
| MD5 |
085dd8f642705cf6ce33419e47447969
|
|
| BLAKE2b-256 |
12db81f300bc9ddcc8f371abfc426b7a6afd390dc930c332c07b4413924f0722
|
Provenance
The following attestation bundles were made for pbshm_framework-0.7.1-py3-none-any.whl:
Publisher:
pypi-publish.yml on dynamics-research-group/pbshm-framework
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pbshm_framework-0.7.1-py3-none-any.whl -
Subject digest:
2f7f17bbe3e00ae81185d9e5cc174e6749864873a004b92d0d42ef5017b52db2 - Sigstore transparency entry: 243960282
- Sigstore integration time:
-
Permalink:
dynamics-research-group/pbshm-framework@fc375d9f928ea8090355254f2fbe58595a044ba3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dynamics-research-group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@fc375d9f928ea8090355254f2fbe58595a044ba3 -
Trigger Event:
push
-
Statement type: