semvec/pypi-packages huggingface dataset:
pyconturb 2.7.4
An open-source constrained turbulence generator
License: MIT

[![pipeline status](https://gitlab.windenergy.dtu.dk/pyconturb/pyconturb/badges/master/pipeline.svg)](https://gitlab.windenergy.dtu.dk/pyconturb/pyconturb/commits/master)
[![coverage report](https://gitlab.windenergy.dtu.dk/pyconturb/pyconturb/badges/master/coverage.svg)](https://gitlab.windenergy.dtu.dk/pyconturb/pyconturb/commits/master)

![PyConTurb](https://gitlab.windenergy.dtu.dk/pyconturb/pyconturb/raw/master/docs/logo.png)

# PyConTurb: Constrained Stochastic Turbulence for Wind Energy Applications

This Python package uses a novel method to generate stochastic turbulence boxes
that are constrained by one or more measured time series. Details on the theory
can be found in [this paper from Torque 2016](https://iopscience.iop.org/article/10.1088/1742-6596/1037/6/062032/meta).

Despite the package's name, the main function, `gen_turb` can be used with or
without constraining time series. Without the constraining time series, it is
the Veers simulation method.

## Installation, Examples, Bug Reporting and More

Please see the [documentation website](https://pyconturb.pages.windenergy.dtu.dk/pyconturb/).

## Source Code

The source code is available on GitLab: https://gitlab.windenergy.dtu.dk/pyconturb/pyconturb
capylayer 0.1.4
Create key layers to your keyboard
License: MIT
Requires Python: <4.0,>=3.12
Keywords: keyboard, keyboard-layout, key-layers, remapping-keys

# capylayer
A simple python package to create **key layers** activated by modifier hotkeys.

Layers are activated by defined hotkeys. You can build remappings for symbol layers, layouts like Dvorak, or any other customized layer.

## Platform support
### Windows
On windows, an AHK script is used to simulate key remapping. Use AHK [key name syntax](https://documentation.help/AutoHotkey-en/KeyList.htm#keyboard) for it to work.

### Other platforms
On Linux and MacOS, for now, [keyboard](https://github.com/boppreh/keyboard/) library is used to simulate the key remapping action, unfortunately it does not work as intended/fully for a range of keys. For example, modifier keys like `Alt` when remapped by other keys will not fully work (E.g. `Alt` + `F4` won't work).

## Modifier mode
A modifier hotkey can be set to one of two modes:
- **Switch**: Activate a layer by *holding*, similar to Shift.
- **Lock**: Toggle a layer on/off by *pressing*, similar to CapsLock.

## Example

**Profile:** "capy"
- **Key Layer:**
    - **Modifier hotkey**: `CapsLock`  
    - **Modifier mode**: Switch  
    - **Key remaps**:
        - `a` → `Delete`
        - `s` → `F1`
        - `d` → `Up`

While `CapsLock` is **held**, the key layer is active:
```
                     _____  _____  _____ 
                    /\ Del \\  F1 \\  ↑  \ 
                    \ \_____\\_____\\_____\
                     \/_____//_____//_____/
                      /      /      / 
                  ___/_  ___/_  ___/_   
    __________   /\  a  \\  s  \\  d  \     
   \  CapsLock \ \ \_____\\_____\\_____\    
    \___________\ \/_____//_____//_____/  
```

## Installation

- Python 3.12+ needed ([Download Page](https://www.python.org/downloads/))

- Install via pip:
```bash
pip install capylayer
```

## Usage
1. Add profiles in capylayer/modules/data/profiles (TUI is not implemented currently)

2. Then run:
```bash
capylayer
```

## Future Improvements
- Add a TUI with [Textual](https://github.com/Textualize/textual)
- Design a way to check if key names exist as keys
- Error logging
- Key -> Hotkey remapping
- Key -> Text remapping (useful for LaTeX)
- Implement better key remapping for Linux and MacOS
- Compile script dynamically
- Create a pt-br README
- Implement a dead key behaviour for accents
- Add dist files to repo