Skip to main content

Software Framework for Task Automation and Scheduling

Project description

Sonaris
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 for it 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

The generated .env file will look as such:

WORKINGDIR='C:/source/sonaris'
CONFIG='C:/source/sonaris/etc'
DATA='C:/source/sonaris/data'
PYTHONPATH='C:\source\sonaris\frontend\src;C:\source\sonaris\src'
ASSETS='C:/source/sonaris/frontend/assets'
LOGS='C:/source/sonaris/logs'

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 the 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

Project details


Download files

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

Source Distribution

sonaris-0.1.4.tar.gz (67.7 kB view details)

Uploaded Source

Built Distribution

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

sonaris-0.1.4-py3-none-any.whl (86.8 kB view details)

Uploaded Python 3

File details

Details for the file sonaris-0.1.4.tar.gz.

File metadata

  • Download URL: sonaris-0.1.4.tar.gz
  • Upload date:
  • Size: 67.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for sonaris-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6817accea7fcb38db987b7d564a205d9472abaf9851b0dbd390b2544a63a96a4
MD5 c1b4acd5b80b9fe5a8eb424a99f61510
BLAKE2b-256 90a7a62f4a0e0ce8e68451242a8a8e11d873a9652121c4e8df16ffaf6ca4d228

See more details on using hashes here.

File details

Details for the file sonaris-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: sonaris-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 86.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for sonaris-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b4a24a37c43aefe5e2b46cf5ecc0eed650f6a3f6b4fbbba80783e78a4d15feac
MD5 e78352057439f15c0059ab9a7019330c
BLAKE2b-256 4ed5a2f43322de765637858193e234fec4abc01d15884b9fac3266a3b0dfd309

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page