Skip to main content

Sirius HLA CONS - GUI

This repo contains various PyDM OPIs in use.

Publish siriuspy to PyPI Lint Test and Coverage

Latest tag Latest release PyPI version fury.io

Read the Docs

Develop

In order to contribute with this repository the developer must have pre-commit installed and enabled.

pip install pre-commit
pre-commit install

Install

Windows instructions.

Available at PyPi https://pypi.org/project/siriushlacon/, can be installed using pip but specific versions of QT are needed.

Conda

Install (Linux)

# Install Miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh

# Remove the install script
rm Miniconda3-latest-Linux-x86_64.sh

Install (Windows)

Download at https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe

Important

  • Local installation (single user only).
  • Add to the PATH

The user should check if conda is enabled. The powershell prompt should look like:

(base) ...

In order to setup conda correctly on powershell use the command below then restart the shell application:

conda init powershell

Set the powershell execution policy so external scripts are availble https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.1

Set-ExecutionPolicy RemoteSigned

Environment setup

Create a conda environment using a tested python version

conda create --name py36 python=3.6

Environment dependencies:

# Activate the environment "py36", the shell prompt should start with "(py36) ..."
conda activate py36

# Enable conda-forge channel
conda config --add channels conda-forge
conda config --set channel_priority strict

# Install EPICS base
conda install -c conda-forge/label/cf202003 epics-base

# Install dependencies
conda install -c conda-forge bottleneck
conda install -c conda-forge pyqt==5.12.3
conda install -c conda-forge qt==5.12.9
conda install -c conda-forge pydm==1.10.4

# Install interfaces
pip install --upgrade siriushlacon

Desktop shortcut

Windows:

This assumes a conda environment named py36. The .lnk content must be updated in case of a different name.

iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/lnls-sirius/pydm-opi/master/miscellaneous/windows/Create-Shortcut.ps1'));

Run

To launch the main window use the script: sirius-hla-as-ap-conlauncher.py.

On Windows make sure that the correct python.exe or pythonw.exe is the default program for *.py files.

pythonw.exe (Get-Command sirius-hla-as-ap-conlauncher.py).Path
pythonw.exe (Get-Command sirius-hla-as-va-vbc.py).Path

2.4.1 - Sprint 15

  • UPDATE: Merge PR beaglebones
  • FIX: Check Python version before using dataclasses (required 3.7+)

2.4.0 - Sprint 15

  • FIX: agilent4uhv details table crash.
  • FIX: regatron alarm tree view with broken PV names.
  • NEW: Central logging module logging.py.
  • NEW: Include CODEOWNERS file.
  • NEW: Include siriushlacon_launcher; usage of setup entrypoints.
  • UPDATE: Center MKS ans Agilent table labels.
  • UPDATE: Custom PyDMAppliacation instance using sirius-hla-as-ap-generic-launcher entrypoint instead of pydm.
  • UPDATE: Widgets and generic components into widgets/.
  • UPDATE: launcher img layout.

Metadata

Release files for siriushlacon 2.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for siriushlacon 2.7.2
File Size Uploaded Provenance Actions
siriushlacon-2.7.2.tar.gz 2.6 MB Without provenance Details for siriushlacon-2.7.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for siriushlacon 2.7.2
File Interpreter ABI Platform Actions
siriushlacon-2.7.2-py3-none-any.whl Python 3 none any Details for siriushlacon-2.7.2-py3-none-any.whl

Total release size: 5.3 MB

Release files / siriushlacon-2.7.2.tar.gz

Download URL siriushlacon-2.7.2.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
c0c0f829048ea4e189e368db44886e74df643b56d7505ff88e4bf504e7b06b87
BLAKE2b-256 checksum
How to use checksums
eb9b3cd1091f5da976e6011305112418a0858593e1fb27ff1fd8ca363b8b388c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / siriushlacon-2.7.2-py3-none-any.whl

Download URL siriushlacon-2.7.2-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
16c22107eaa426d0c682597f10ff403c8eec1ba1705078f27160f5bcec9dff8c
BLAKE2b-256 checksum
How to use checksums
4c44c19684cc216aab44d2ccb398c498a8dade7eaa40928349ee4f249865199d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for siriushlacon 2.7.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page