Skip to main content

Software Framework for Task Automation and Scheduling

Project description

Sonaris

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'

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.1.tar.gz (61.9 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.1-py3-none-any.whl (80.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sonaris-0.1.1.tar.gz
  • Upload date:
  • Size: 61.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Windows/10

File hashes

Hashes for sonaris-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1e2a9aad1b7d027d86c71504c7c89f0613b62147f8296b78a6402c16bfd9ce5c
MD5 c43a0a5d2f3e3eb57868379cff965185
BLAKE2b-256 44815e2de2d6c1ed510f609b8cd53ad45b3f3c9997f8a53c9ab338c24c542994

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sonaris-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 80.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Windows/10

File hashes

Hashes for sonaris-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d193d56127e490cc930b3a3ef84c3fdb216ffc33e55d57a0ead643c764b39e1
MD5 27a5fad6db86a181c2d0e00cd479e999
BLAKE2b-256 9c2ea483009d483e219a10a3a9d75f0b98fbe145426f7567e1252049bfc9e6a6

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