semvec/pypi-packages huggingface dataset:
ua-clarity-tools 1.1.8
API that interacts with Illumina's Clarity LIMS software at a higher level than requests.
License: MIT

# UA-Lims-Tools

Provides 2 sets of tools for use with clarity and it's endpoints: ClarityTools
and StepTools.

## Motivation

To create a set of tools to assist in script writing for Clarity.

## Features

Use ClarityTools as a means of interfacing with Clarity and it's endpoints.

* get_samples will get all samples from a list of uris passed in.

* get_arts_from_samples will get all artifact uris for the list of uris passed.

* get_udfs will find all the udfs that should be attached to target.

* set_reagent_label will set the reagent_label for all artifacts passed.

* step_router will route a list of artifact_uris to a specified step.Use StepTools as a way of interacting with a Clarity step.*

* get_artifacts will return all artifacts from the step.

* get_process_data will retrieve the process data for the current step.

* get_artifact_map creates a mapping of input artifacts to output artifacts.

* set_artifact_udf sets the udfs of all analytes in the step.

* get_artifacts_previous_step will map the current steps artifact uris to an ancestor artifact from the step passed to it.

* get_assays will find the assays within the current protocol.## Code Example

python
from ua_lims_tools import ua_lims_tools
clarity_api = ua_lims_tools.ClarityApi()
step_api = ua_lims_tools.StepTools()

## Installation

bash
pip install ua-lims-tools

## Tests

bash
pip install --update nose
cd ./repo
cd ./tests
nosetests test_lims_tools.py

## How to Use

Examples of syntax for each method

python
clarity_api = ua_lims_tools.ClarityApi()
samples = clarity_api.get_samples(uris)

* get_samples gets the samples from the passed in uris.
* Arguments: uris is a list of sample endpoints to get.
* Returns: a list of Sample dataclass objects with gotten sample's data.

## Credits

[sterns1](https://github.com/sterns1)
[raflopjr](https://github.com/raflopjr)
[RyanJohannesBland](https://github.com/RyanJohannesBland)

## LicenseMIT
django-service-status 0.5.0
Django pluggable app to monitor the service status
License: MIT
Keywords: django-service-status

=====================
Django Service Status
=====================

Django pluggable app to monitor the service status

Documentation
-------------

Django Service Status is a set of checks that are run every time your `http://example.com/service_status/`
page is visited.

Quickstart
----------

Install Django Service Status::

    pip install django-service-status

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'service_status.apps.ServiceStatusConfig',
        ...
    )

Add Django Service Status's URL patterns:

.. code-block:: python

    from service_status import urls as service_status_urls


    urlpatterns = [
        ...
        url(r'^service_status/', include(service_status_urls, namespace='service-status')),
        ...
    ]

Features
--------

Builtin checks are:

* database
* swap memory
* celery workers

Default settings: database, swap memory

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.5.0 (2023-02-24)
++++++++++++++++++

* Added support for Django 4


0.4.1 (2022-04-28)
++++++++++++++++++

* Added support for Django 3.2


0.4.0 (2019-10-28)
++++++++++++++++++

* Added support for Django 2.2
* Added Redis Status check


0.3.0 (2018-10-21)
++++++++++++++++++

* Added support for Django 2.1
* Warnings do not affect SERVICE_OPERATIONAL


0.2.0 (2017-04-12)
++++++++++++++++++

* Added Celery check


0.1.0 (2017-04-10)
++++++++++++++++++

* First release on PyPI.