semvec/pypi-packages huggingface dataset:
mkdocstrings-luau 0.1.1
A Luau handler for mkdocstrings.
Requires Python: >=3.10

# mkdocstrings-luau

[![ci](https://github.com/ryanlua/mkdocstrings-luau/workflows/ci/badge.svg)](https://github.com/ryanlua/mkdocstrings-luau/actions?query=workflow%3Aci)
[![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://ryanlua.github.io/mkdocstrings-luau/)
[![pypi version](https://img.shields.io/pypi/v/mkdocstrings-luau.svg)](https://pypi.org/project/mkdocstrings-luau/)
[![gitter](https://img.shields.io/badge/matrix-chat-4DB798.svg?style=flat)](https://app.gitter.im/#/room/#mkdocstrings-luau:gitter.im)

A Luau handler for mkdocstrings.

## Installation

```bash
pip install mkdocstrings-luau
```
metarace-ttstart 1.0.3
Time Trial Start Console
Requires Python: >=3.11
Keywords: TT, start

# metarace-ttstart

Time trial start console application. Includes time of day,
rider number, rider name, a 30 second count-down and audible
start beeps.

![ttstart screenshot](screenshot.png "ttstart")

For battery operated terminals, the screen can be set to dim
in between starters.

## Configuration

Configuration is via metarace sysconf section 'ttstart' with the
following keys:

key           | (type) description [default]
---           | ---
topic         | (string) telegraph topic for start list updates [startlist]
fullscreen    | (boolean) run application fullscreen after initialisation
backlightdev  | (string) sysfs path to backlight device [null] (1) eg: /sys/class/backlight/acpi_video0
backlightlow  | (float) dimmed backlight level between starters [0.25]
backlighthigh | (float) backlight level during countdown [1.0]
startlist     | (string) filename for a csv startlist file [startlist.csv]
syncthresh    | (float) maximum allowed audio de-sync in seconds [0.12] (2)

Notes:

   1.  The backlight brightness file must be writable in order
       for dimming to work
   2.  The acoustic start signal is terminated if it is not playing
       in sync with the displayed countdown.

## Remote Control

ttstart connects to telegraph and subscribes to the topic nominated.
To re-configure the start list, publish a JSON encoded array of arrays
with the following columns:

   - start time (string), required
   - rider number (string), optional
   - rider series (string), ignored
   - rider name (string), optional

For example:

	[["9h15:00","","","[Event Start]"], ["9h16:00","1","","First RIDER"]]


## Requirements

   - Python >= 3.11
   - Gtk >= 3.0
   - metarace >= 2.1.14
   - tex-gyre fonts
   - gstreamer alsa plugins

Note: Some 32 bit systems (notably Intel Atom Toughbooks) will not
play audio with the default Debian desktop installation.
The workaround is to remove pulseaudio and use alsa directly:

	$ sudo apt remove 'pulseaudio*'

## Installation

Use shared installer from metarace to collect requirements
and install with roadmeet and trackmeet:

	$ wget https://github.com/ndf-zz/metarace/raw/refs/heads/main/metarace-install.sh
	$ sh metarace-install.sh

Alternatively, install system requirements and use pip:

	$ sudo apt-get install python3-venv python3-pip python3-cairo \
	python3-gi python3-gi-cairo gir1.2-gtk-3.0 gir1.2-rsvg-2.0 \
	gir1.2-pango-1.0 gir1.2-gstreamer-1.0 gstreamer1.0-alsa tex-gyre
	$ mkdir -p ~/Documents/metarace
	$ python3 -m venv --system-site-packages ~/Documents/metarace/venv
	$ ~/Documents/metarace/venv/bin/pip install metarace-ttstart
	$ ~/Documents/metarace/venv/bin/ttstart
concurrentor 0.1.1
A simple wrapper class around anyio to help create programs that contain multiple concurrent but interacting parts.
Requires Python: >=3.10

# Concurrentor

A simple wrapper class around anyio to help create programs that contain multiple concurrent but interacting parts.

## Usage

```python
from anyio import sleep
from concurrentor import Concurrentor, enter, loop, exit

class Application(Concurrentor):

    @enter
    async def run_once_at_enter(self):
        print("I run only once at the beginning.")

    @exit
    async def run_once_at_exit(self):
        print("I run only once at the end.")

    @loop
    async def run_repeatedly_one(self):
        print("I am called repeatedly.")
        await sleep(2)

    @loop
    async def run_repeatedly_two(self):
        print("I am called repeatedly, too.")
        await sleep(3)


if __name__ == "__main__":
    app = Application()
    app.run()
```
atlas-consortia-commons 1.1.6
The common code supporting the web services in the consortia.
Requires Python: >=3.6

# commons
[![PyPI version](https://badge.fury.io/py/atlas-consortia-commons.svg)](https://badge.fury.io/py/atlas-consortia-commons)

This repository contains the code supporting several restful microservices used by the consortia.

### Getting Started

The Atlas Consortia Commons library is available through PyPi via the command:

```bash
pip install atlas-consortia-commons
```

The atlas-consortia-commons requirements can be found [here](requirements.txt)


### Contents

The code includes:
- [UBKG](atlas_consortia_commons/ubkg/README.md): For querying Unified Biomedical Knowledge Graph (UBKG) application interface
- [REST](atlas_consortia_commons/rest/README.md): For making standardised rest responses


### Coding Conventions
- Please use:
  - `snake_case` to name methods and variables. 
  - `PascalCase` for class names.
- Do follow any additional code formatting and styles as seen in the project


### Running Tests
- Install `pytest` using the command
```bash
pip install -r requirements.dev.txt
```
- Run the tests using the command
```bash
pytest
```
owon-psu 0.0.5
Simple Python library for controlling Owon SPE6103 and SPE3103 power supplies
Keywords: scpi, owon, SPE6103, SPE3103, simple

# Owon SPE and P4000 series PSU python control library
This library works with the Owon SPE6103, SPE3103, and P4000 series (P4603 and P4305) power supplies.
Kiprim devices "DC310S" and "DC605S" are also supported.

## Installation
The easiest way to install is straight from [the pypi project](https://pypi.org/project/owon-psu/) using pip:
```
pip install owon-psu
```

## Example Usage with context manager
```python
from owon_psu import OwonPSU

with OwonPSU("/dev/ttyUSB0") as opsu:
  print("Identity:", opsu.read_identity())
  print("Measured Voltage:", opsu.measure_voltage())
  print("Measured Current:", opsu.measure_current())

  print("Set Voltage:", opsu.get_voltage())
  print("Set Current:", opsu.get_current())

  print("Set Voltage Limit:", opsu.get_voltage_limit())
  print("Set Current Limit:", opsu.get_current_limit())

  opsu.set_voltage(20)
  opsu.set_current(2)
  opsu.set_voltage_limit(30)
  opsu.set_current_limit(3)

  print("Output enabled:", opsu.get_output())
  opsu.set_output(True)
```

## Example Usage without context manager
```python
from owon_psu import OwonPSU

opsu = OwonPSU("/dev/ttyUSB0")
opsu.open()
print("Identity:", opsu.read_identity())
print("Voltage:", opsu.measure_voltage())
print("Current:", opsu.measure_current())

print("Set Voltage:", opsu.get_voltage())
print("Set Current:", opsu.get_current())

print("Set Voltage Limit:", opsu.get_voltage_limit())
print("Set Current Limit:", opsu.get_current_limit())

opsu.set_voltage(20)
opsu.set_current(2)
opsu.set_voltage_limit(30)
opsu.set_current_limit(3)
print("Output enabled:", opsu.get_output())
opsu.set_output(True)
opsu.close()
```