semvec/pypi-packages huggingface dataset:
bell-avr-libraries 0.2.0a7
Common Python libraries used by parts of Bell AVR
License: MIT
Requires Python: >=3.9,<3.13

# AVR-Python-Libraries

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![PyPi versions](https://img.shields.io/pypi/pyversions/bell-avr-libraries)](https://pypi.org/project/bell-avr-libraries)
[![PyPi downloads](https://img.shields.io/pypi/dm/bell-avr-libraries)](https://pypi.org/project/bell-avr-libraries)

## Install

To install the base package, run:

```bash
pip install bell-avr-libraries
```

Additionally, the `serial` and `qt` extras are available if you want to use
the PCC or PySide functionality.

```bash
pip install bell-avr-libraries[serial,qt]
```

## Usage

See the documentation website at [https://bellflight.github.io/AVR-Python-Libraries](https://bellflight.github.io/AVR-Python-Libraries)

## Development

It's assumed you have a version of Python installed from
[python.org](https://python.org) that is the same or newer as
defined in the [`.python-version`](.python-version) file.

First, install [Poetry](https://python-poetry.org/) and
[VS Code Task Runner](https://pypi.org/project/vscode-task-runner/):

```bash
python -m pip install pipx --upgrade
pipx ensurepath
pipx install poetry
pipx install vscode-task-runner
# (Optionally) Add pre-commit plugin
poetry self add poetry-pre-commit-plugin
```

Now, you can clone the repo and install dependencies:

```bash
git clone https://github.com/bellflight/AVR-Python-Libraries
cd AVR-Python-Libraries
vtr install
```

Run

```bash
poetry shell
```

to activate the virtual environment.

You can now produce a package with `vtr build`, which will automatically
also run `vtr build-code`.

To add new message definitions, add entries to the `bell/avr/mqtt/asyncapi.yml` file.
This is an [AsyncAPI](https://www.asyncapi.com/) definition,
which is primarily [JSONSchema](https://json-schema.org/) with some association
of classes and topics.

The generator that turns this definition file into Python code is the homebrew
[build.py](build.py), so double-check that the output makes sense.

To generate the documentation, `vtr build-code-docs`.
This requires that Node.js is installed.
function-pipe 2.1.2
Tools for extended function composition and pipelines
License: MIT
Keywords: functionnode pipenode composition pipeline pipe

.. image:: https://img.shields.io/pypi/pyversions/function-pipe.svg
  :target: https://pypi.org/project/function-pipe

.. image:: https://img.shields.io/pypi/v/function-pipe.svg
  :target: https://pypi.org/project/function-pipe

.. image:: https://img.shields.io/codecov/c/github/InvestmentSystems/function-pipe.svg
  :target: https://codecov.io/gh/InvestmentSystems/function-pipe

.. image:: https://img.shields.io/github/workflow/status/InvestmentSystems/function-pipe/Test?label=test&logo=Github
  :target: https://github.com/InvestmentSystems/function-pipe/actions?query=workflow%3ATest

.. image:: https://img.shields.io/github/workflow/status/InvestmentSystems/function-pipe/Quality?label=quality&logo=Github
  :target: https://github.com/InvestmentSystems/function-pipe/actions?query=workflow%3AQuality

.. image:: https://img.shields.io/readthedocs/function-pipe.svg
  :target: https://function-pipe.readthedocs.io/en/latest

.. image:: https://img.shields.io/pypi/status/function-pipe.svg
  :target: https://pypi.org/project/function-pipe

function-pipe
=============

The function-pipe Python module defines the class FunctionNode (FN) and decorators to create the derived-class PipeNode (PN). FNs are wrappers of callables that permit returning new FNs after applying operators, composing callables, or partialing. This supports the flexible combination of functions in a lazy and declarative manner.

PipeNodes (PNs) are FNs prepared for extended function composition or dataflow programming. PNs, through a decorator-provided, two-stage calling mechanism, expose to wrapped functions both predecessor output and a common initial input. Rather than strictly linear pipelines, sequences of PNs can be stored and reused; PNs can be provided as arguments to other PNs; and results from PNs can be stored for later recall in the same pipeline.

Code: https://github.com/InvestmentSystems/function-pipe

Docs: http://function-pipe.readthedocs.io

Packages: https://pypi.python.org/pypi/function-pipe