semvec/pypi-packages huggingface dataset:
helperize 0.0.5
Work with AI helpers that collaborate with you to build practical systems.
License: MIT
Requires Python: >=3.10,<4.0

# Helperize

This is an experiment to build an AI helper.

## Install

```shell
pip install helperize
```

## Usage

```shell
# See all available commands
poetry run helperize -h
```

## Development

For development, we use `poetry` to manage dependencies. To install `poetry`, follow the
instructions [here](https://python-poetry.org/docs/#installation). Then you can install the project:

```shell
make install
```
ctrlchandler 0.10
Like atexit but for ctrl+c
License: MIT
Keywords: atexit,ctypes,kill,terminate


# Like atexit but for ctrl+c

### Tested against Windows 10 / Python 3.10 / Anaconda 

## pip install ctrlchandler


```python
# atexit
import atexit
def printx(bu=12, ba=3223):
    print(bu, ba)
    print('ciao')
atexit.register(printx, bu='nice', ba='ba')
exit()
nice ba
ciao
Process finished with exit code 0
```

```python
from ctrlchandler import set_console_ctrl_handler


def printx(bu=12, ba=3223):
    print(bu, ba)
    print('ciao')


set_console_ctrl_handler(returncode=1, func=printx, bu=12011, ba=32231111)
while True:
    pass


After pressing ctrl+c
^C12011 32231111
ciao
Process finished with exit code 1
```