semvec/pypi-packages huggingface dataset:
aiohttp-parameter-parser-isvinogradov 0.1
Declare and validate HTTP query and path parameters in aiohttp
Requires Python: >=3.6

# aiohttp-parameter-parser

Declare and validate HTTP query and path parameters in `aiohttp` views.
Currently only path and URL query parameter location are supported.

Example usage:

```python
from aiohttp import web

from aiohttp_parameter_parser import ParameterView


class ExampleHandler(ParameterView):
    async def get(self) -> web.Response:
        my_array_of_ints: int = self.query_parameter(
            "parameter_name_in_request",
            required=True,
            is_array=True,
            is_int=True,
        )
        # If provided parameter is of wrong type or missing, 
        # a default HTTP 400 response is returned to client.

        return web.json_response({"received_param": my_array_of_ints})
```
mykioxi 1.0.0
Command line program for Myki oximeter

Command line client for [Myki Oximeter](https://mykifamily.com/myki-pulse-oximeter).
Connects over bluetooth to the device and reads heart rate, oxygen saturation and shows the pleth wave.
Tested only with the Myki oximeter but should work with all devices which use a BerryMed sensor.

![Mykioxi](/mykioxi.png)

Installation
---

Python3.5+ is required. Install with `pip3` (preferably into a virtual env):
```
$ pip install mykioxi
```

Usage
---
When started without arguments, it will autodetect the device and show the measurements on a single line which is periodically updated:
```
$ mykioxi
Found: 00:A0:50:AC:38:43 (BerryMed)
Connected: True
BPM: 78  [****      ]  SpO2:  99
```

There is also a `multiline` option which prints every new measurement on a separate line:
```
$ mykioxi --multiline
Found: 00:A0:50:AC:38:43 (BerryMed)
Connected: True
[2020-11-17 10:09:13]   BPM:  83    SpO2:  98
[2020-11-17 10:09:14]   BPM:  85    SpO2:  97
[2020-11-17 10:09:19]   BPM:  82    SpO2:  96
[2020-11-17 10:09:21]   BPM:  80    SpO2:  97
[2020-11-17 10:09:23]   BPM:  75    SpO2:  97
[2020-11-17 10:09:26]   BPM:  76    SpO2:  97
[2020-11-17 10:09:28]   BPM:  75    SpO2:  98
[2020-11-17 10:09:30]   BPM:  73    SpO2:  97
...
```
term2web 0.0.4
Toolkit which overloads 'print(…)' and 'input()' to redirect them to a web page.
Keywords: cli,web,term,terminal,text,Atlas toolkit,atlastk

# *term2web*: terminal in a web page (*Python* version)

[![Run on Repl.it](https://q37.info/s/kpm7xhfm.png)](https://q37.info/s/kjjcfcp3)  [![About online demonstrations](https://img.shields.io/badge/about-online%20demonstrations-informational)](https://q37.info/s/sssznrb4)

[![license: MIT](https://img.shields.io/github/license/epeios-q37/term2web-python?color=yellow&style=for-the-badge)](https://github.com/epeios-q37/term2web-python/blob/master/LICENSE)
[![Version](https://img.shields.io/pypi/v/term2web?style=for-the-badge&color=90b4ed&label=PyPi)](http://q37.info/s/c7pnhdm7)

***Notice française*** : https://q37.info/s/rhj9qmb9.


This library is like [*termcolor*](https://pypi.org/project/termcolor/), but with all the text formatting possibilities of [*CSS*](https://en.wikipedia.org/wiki/Cascading_Style_Sheets).

Install (`pip install term2web`), import (`from term2web import *`) on the top of your program, and all `print(…)` and `input(…)` will be redirected to a web page.

You can also launch:
- `git clone http://github.com/epeios-q37/term2web-python`,
- `cd term2web-python`,
- `python3 main.py` (or directly `python3 Basic.py` or `python3 WithCSS.py`).

Online demonstration: https://q37.info/s/kjjcfcp3.

There are three other functions available.

`set_property(name,value)` applies the CSS property of name `name` and value `value`.

Example:

```python
set_property("font-style", "italic")
```

`set_properties(properties)` applies the CSS properties stored in `properties` which is a dictionary whose keys are property names, and values the corresponding property values.

Example:

```python
set_properties({
    "text-decoration-line": "line-through",
    "text-decoration-style": "wavy",
    "text-decoration-color": "red"
})
```

`reset_properties()` removes all the CSS properties set by above functions.

`Basic.py` is an example with calls to `print(…)` and `input(…)`, but without CSS formatting. Comment out the `import * from term2web` for the program to run in the usual way in a terminal.

`WithCSS.py` shows how CSS rules can be used to format the displayed text.

<!-- There is also a stub to for this library at address <https://q37.info/s/qh99qtjt>.-->

You can still use the default `print(…)` and `input(…)` after an `import builtins` with `builtins.print(…)` and `builtins.input(…)`.

Unlike other programs based on the [*Atlas* toolkit](https://atlastk.org), on which this library is based, it is not possible to simultaneously launch two or more instances of a program based on the *term2web* library. This is intentional, in order to keep this library simple to use.