rsdb
Object–relational mapping for RiskSpectrum PSA model database.
Installation
# PyPI
pip install rsdb
Usage
from rsdb.connection import Connector
import rsdb.orm
server = Connector(ip='<ip>', port=1433)
# Show available models
print(server.GetAvailableModels())
# Get SqlAlchemy session factory
Session = server.GetModelSession('<model_name>')
with Session() as session:
event_trees = session.execute(select(rsdb.orm EventTrees)).scalars().all()
for et in event_trees:
print(et.ID)
func_events = et.FunctionEvents
for event in func_events:
print(f'\t fe:{e.ID}')
initiating_event = et.InitiatingEvent
print(f'\t ie:{ie.ID}')
Metadata
Release files for rsdb 0.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rsdb-0.9.2.tar.gz | 25.8 kB | Without provenance | Details for rsdb-0.9.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rsdb-0.9.2-py3-none-any.whl | Python 3 | none | any | Details for rsdb-0.9.2-py3-none-any.whl |
Total release size: 51.1 kB
Release files / rsdb-0.9.2.tar.gz
| Download URL | rsdb-0.9.2.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9f1903aad516321fbc06550cff3aa3e6de2ec4a62bbc65a98faab0583492798
|
|
BLAKE2b-256 checksum How to use checksums |
28c536dece1631f4b870f6db03cc3a0c59470068f5fb7ebe565b0c4c4a42d1ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / rsdb-0.9.2-py3-none-any.whl
| Download URL | rsdb-0.9.2-py3-none-any.whl |
|---|---|
| Size | 25.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87a56b27fff7b845a80981524fb8782558f416c91cb810c58f8c2de97216ae69
|
|
BLAKE2b-256 checksum How to use checksums |
9d0dc0188f8d9d42d5369d2654e9f052636b361be6528193265c7cbdf6d7989f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for rsdb 0.9.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.