semvec/pypi-packages huggingface dataset:
scipion-em-xmipp2 3.0.1
xmipp2 ready to use in scipion.
Keywords: scipion cryoem imageprocessing scipion-3.0

=============
Xmipp2 plugin
=============

This plugin allows to use xmipp2 within the Scipion framework.

=====
Setup
=====

- **Install this plugin:**

.. code-block::

    scipion installp -p scipion-em-xmipp2

OR

  - through the plugin manager GUI by launching Scipion and following **Configuration** >> **Plugins**

Alternatively, in devel mode:

.. code-block::

    scipion installp -p local/path/to/scipion-em-xmipp2 --devel
ecmind-blue-client-workflow 0.0.3
Helper modules for the `ecmind_blue_client` to ease the work with workflows, models and organisations.
Requires Python: >=3.9

# ECMind blue client: Workflow

Helper modules for the `ecmind_blue_client` to ease the work with workflows, models and organisations. See discussion here: https://hub.ecmind.ch/t/119

## Installation

`pip install ecmind_blue_client_workflow`


## Usage

```python
from ecmind_blue_client.tcp_client import TcpClient as Client
from ecmind_blue_client_workflow import workflow

client = Client(hostname='localhost', port=4000, appname='test', username='root', password='optimal')
print(workflow.get_organisations(client, only_active=True))
```

### Monitoring

#### Check for failed workflows

Check all active workflow models for suspended processes.

```python
from ecmind_blue_client.tcp_client import TcpClient as Client
from ecmind_blue_client_workflow import workflow

client = Client(hostname='localhost', port=4000, appname='test', username='root', password='optimal')

orgs = workflow.get_organisations(client, only_active=True)
for org_id in orgs:
    workflows = workflow.admin_get_workflow_list(client, org_id)
    for workflow_id in workflows:
        processes = workflow.admin_get_process_list(client, org_id, workflow_id=workflow_id)
        for process_id in processes:
            process = processes[process_id]
            if process['state'] == workflow.State.SUSPENDED or process['state'] == workflow.State.SYSSUSPENDED:
                print(f'Process with id {process_id} and name {process["name"]} is suspended')
```

#### Running processes statistics

List all aktive workflow models with the count of running processes. 

```python
from ecmind_blue_client.tcp_client import TcpClient as Client
from ecmind_blue_client_workflow import workflow

client = Client(hostname='localhost', port=4000, appname='test', username='root', password='optimal')

orgs = workflow.get_organisations(client, only_active=True)
for org_id in orgs:
    workflows = workflow.admin_get_workflow_list(client, org_id)
    for workflow_id in workflows:
        wf = workflows[workflow_id]
        print(f'Workflow {wf["name"]} has {wf["process_count"]} running processes')
```
pysomneoctrl 1.0.4
Python package for Philips Somneo
Requires Python: >=3.6



```
from pysomneoctrl import SomneoDevice

somneo = SomneoDevice(ip="1.1.1.1")

# Play Audio:
somneo.audio(True, device="fmr")
# Light:
somneo.bedlight(True, brightness=20, ctype=3)
somneo.nightlight(True)

# Sensors:
print(somneo._data[WUSRD])
# Other data:
somneo._data[ALARMS] -> Alarm data
somneo._data[WURLX] -> Relax Breathe data
somneo._data[WUDSK] -> Sunset data
somneo._data[WUPLY] -> Audio data
somneo._data[WUFMR] -> FM Radio data
somneo._data[PRESETS] -> FM Radio Presets

```