Sonaris Automation Framework
Sonaris is a hardware device control platform developed to control lab devices and provide basic scheduling and monitoring utilities in a lab setting.
The device hardware written are at the moment quite limited and support only DG4202 Signal Generator and the EDUX1002A Oscilloscope, written to facilitate a thesis project.
Dependencies
To setup the environment for env variables used in the app
On Linux you might need to install a few packages:
sudo apt-get update
sudo apt-get install libgl1 libegl1 ffmpeg libsm6 libxext6
On development environments or running from source:
python etc/env.py
To setup dependencies on the terminal:
poetry install --no-root
poetry shell
# Running the app
python -m sonaris run --hardware-mock --grafana
The generated .env file will look as such:
WORKINGDIR='C:/source/sonaris'
DATA='C:/source/sonaris/data'
PYTHONPATH='C:\source\sonaris\frontend\src;C:\source\sonaris\src'
ASSETS='C:/source/sonaris/frontend/assets'
Run Flags
Usage: python -m sonaris run [OPTIONS]
Run the Sonaris application.
Options:
-hm, --hardware-mock Run the app in hardware mock mode.
--grafana Start Grafana container alongside the application.
Requires Docker.
--help Show this message and exit.
Installing and Running Sonaris
A stable distribution of Sonaris
pip install sonaris
When not utilizing a .env file it will attempt to use $HOME/.sonaris
Running the app
python -m sonaris run
Running the app from source
poetry install --no-root
poetry run python -m sonaris run
Running the app for hardware-mock
poetry run python -m sonaris run --hardware-mock
Metadata
Release files for sonaris 0.1.5
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 |
|---|---|---|---|---|
| sonaris-0.1.5.tar.gz | 68.3 kB | Without provenance | Details for sonaris-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sonaris-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for sonaris-0.1.5-py3-none-any.whl |
Total release size: 156.1 kB
Release files / sonaris-0.1.5.tar.gz
| Download URL | sonaris-0.1.5.tar.gz |
|---|---|
| Size | 68.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9a2925ecc2e55fbd378058bd5a21f840c117516bc1b107dc233c33e59aa7a6e
|
|
BLAKE2b-256 checksum How to use checksums |
297a52dd8587ac940126b50412e0b0a260ef8ca28bec48b6448b70ec53e94d07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / sonaris-0.1.5-py3-none-any.whl
| Download URL | sonaris-0.1.5-py3-none-any.whl |
|---|---|
| Size | 87.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5e6ef4fa0cb934053d63e685da58a51cea0d433cc875dbe8a2fcd6936e4b4eb
|
|
BLAKE2b-256 checksum How to use checksums |
6bc97950f7b3282ac3153e6601f9c9102cc0376830c2174e384865eb94558890
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Security for sonaris 0.1.5
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.