semvec/pypi-packages huggingface dataset:
decompress 0.0.5
A library to help decompress multiple compression types
Requires Python: >=3

# Decompress

Decompress makes unzipping, untarring, and uncompressing all types of files easy.  Just run your file through decompress and your compressed file will automatically be decompressed in the destination that you provide.  

Decompress was heavily influenced from [fastai v2](https://github.com/fastai/fastai_dev/blob/master/dev/04_data_external.ipynb).
micropython-event-bus 0.0.4
Micropython compatible producer/subscriber event bus system with optional threading.

# micropython-event-bus

Micropython producer/subscriber event system with optional threading

**Note that this package is early stages so could have undocumented bugs.**

![The not-so-magic school bus](https://github.com/jaycosaur/micropython-event-bus/blob/master/images/event-bus.png)

## Installation

```bash
pip3 install micropython-event-bus
```

or
Clone this [repository](https://github.com/jaycosaur/micropython-event-bus) into your project:

```bash
git clone https://github.com/jaycosaur/micropython-event-bus
```

## Usage

```python
from micropython_event_bus import Producer, subscribe

# setup simple producer
my_producer = Producer(name="my first producer")

# create subscriber
# with decorator
@subscribe(my_producer)
def my_subscriber(*args, **kwargs):
    print('I got a message!')

# or by calling the producer subscribe method
def my_second_subscriber(*args, **kwargs):
    print('I also got a message!')

my_producer.subscribe(my_second_subscriber)

# emit event

# from producer via __call__ method
my_producer(1,2,3,4)
# or by calling emit directly
my_producer.emit(1,2,3,4)


```

For more examples please refer to the [examples](https://github.com/jaycosaur/micropython-event-bus/tree/master/examples)

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

[MIT](https://choosealicense.com/licenses/mit/)