semvec/pypi-packages huggingface dataset:
midi-velocity-mapper 0.0.1
Translate MIDI note velocity data in real time
Requires Python: >=3.11

# midi-velocity-mapper

[![PyPI - Version](https://img.shields.io/pypi/v/midi-velocity-mapper.svg)](https://pypi.org/project/midi-velocity-mapper)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/midi-velocity-mapper.svg)](https://pypi.org/project/midi-velocity-mapper)

-----

## Table of Contents

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install midi-velocity-mapper
```

## Usage

```console
usage: mvm [-h] [-i INPUT_PORT] [-o OUTPUT_PORT] [-d]

Translate MIDI velocities using per-note velocity mappings.

options:
  -h, --help            show this help message and exit
  -i, --input-port INPUT_PORT
                        name of MIDI Input port
  -o, --output-port OUTPUT_PORT
                        name of MIDI Output port
  -d, --debug           display debug output
```

The program uses the `config.toml`, described in the next section, to
instantiate per-note velocity curves. It then captures note data from a MIDI
input port and translates note velocities using the curves, passing the
translated data to a MIDI output port. If the MIDI ports are not set via the
command-line flags, prompts are issued to select the appropriate ports
interactively. Currently, only velocities of MIDI "Note On" messages are
translated, but support for "Note Off" velocities, etc. might be added in the
future.

## Configuration

The per-note velocity mappings are defined in a file named `config.toml` in the
current directory. Each section of the TOML file corresponds to a MIDI note
name (with octave also specified). Section names use the format
`[note.NOTENAME]`, where NOTENAME is one of the names listed in the file
`data/keys-all.tsv`.

Supported keys of each section have format `in<NUM>` where `NUM` is in the
range 0-127. Key values are integers in the range 0-127. Together, each
key/value pair represents a mapping of an input velocity to an output velocity.

A maximum of 128 input/output mappings are permitted for each note; this is
enforced by the semantics of TOML and how the key/values are defined in the
config.

See the `config-examples` directory in the git repository for example
config.toml files that illustrate the configuration format.

## License

`midi-velocity-mapper` is distributed under the terms of the
[MIT](https://spdx.org/licenses/MIT.html) license.
skala-lab-package 0.1.7
A package for redox feature analysis, CSV generation, and SDT file handling.
Requires Python: >=3.8

# 🔬 skala_lab_package

**skala_lab_package** is a Python package for redox feature extraction and structured CSV generation from scientific image or folder data. It includes tools to parse directory names, extract experimental metadata, analyze fluorescence decay, and process `.sdt` files from Bruker microscopy systems.

---

## 📦 Features

- 🔹 Extract metadata from folder names and export to CSV
- 🔹 Allows input for CSV file columns like `dish`, `channel_type`, and `condition`
- 🔹 Load `.sdt` files and convert to NumPy arrays
- 🔹 Utilities for redox decay and PCA-based analysis

---

## 🛠 Installation

Install from PyPI (if published):

```bash
python -m pip install skala-lab-package==0.1.7
conflictlib 0.0.7
Reusable engine for resource conflict detection
Requires Python: >=3.8

# conflictlib

Reusable Python library for checking resource allocation conflicts.

### Developer Setup

```bash
# Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows use: .venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Install the local package in editable mode
pip install -e .

# Run tests and linting
make test
make lint
```
NumeralBase 1.1
Python library for working with different number systems
Requires Python: >=3.9

# NumeralBase

Python library for working with various numeral systems.

```python
number = convert_base('10A', 16, 10) # Number for convert; number base; convertion to base
# '10A' -> '266'
```

You can convert numbers up to 176 numeric system.
```python
number = convert_base('10A', 16, 176)
# '10A' -> '1ε'
```

Or use your own alphabet for the numeric system:
```python
number = convert_base('10A', 16, 2000, '01234(...)*%$&$@w!')
```


## Class NumeralNumber

Also, special class for non-decimal numbres:
```python
n1 = NumeralNumber("1010", 2)
n2 = NumeralNumber("FF", 16)
```


### Arithmetic


You can use arithmetic operations for the numbers that will be in the class.

```python
print(n1 + n2)  # 10100101 (265)

print(n2 - n1)  # F5 (245)

print(n1 * n2)  # 111111100110 (2550)
```