semvec/pypi-packages huggingface dataset:
dai-python-commons 4.0.0
Collection of small python utilities useful for lambda functions or glue jobs.
Requires Python: >=3.8,<4.0

## Description 

This package includes small utilities that are useful in both lambda 
functions and glue jobs. 

## Requirements 

The package is built using poetry. Make sure you install poetry as 
described [here](https://python-poetry.org/docs/).

Also, the package awswrangler is required. Note however that this package is not 
included in the list of requirements in poetry.toml to avoid having it packaged 
automatically in a lambda (awswrangler should be installed as a lambda layer instead).

## Usage 

This package should be imported in lambda functions, glue jobs or 
other python modules. One should therefore strive to keep it 
small and fairly generic. 

## Build 
To build the package just issue in the root folder of the package:
``` poetry build ```

## Publish
This library is published to [PyPI](https://pypi.org/).

## Tests 
Unit tests are located under the `tests` folder. To run the unit tests, 
you needed to first install some packages as follows:

* If you have a `poetry.lock` file, then you can get the latest version 
  of dependencies by running: 
  ```
  poetry update 
  ```
  
* If you do not have a `poetry.lock` file, then you can install all 
the dependencies by issuing: 
  ```
  poetry install 
  ```

To run all the unit tests: 
  ```
  poetry run pytest -v -rP --disable-pytest-warnings tests/
  ```

Note: `--disable-pytest-warnings` is used to suppress a deprecation 
warning produced (most probably) by the `moto` library. Hopefully 
it will disappear in a later version. If you are not bothered by the 
warning, you can safely skip that parameter.

All the commands above need to be run in the root folder of the package 
(dai-python-commons)

## Pylint 
This project uses pylint to check for poor codestyle and logic

To run pylint and check all files you can run the following command

```
poetry run pylint dai_python_commons
```

All rules for pylint are located in the ``.pylintrc`` file
winsdk-toast 0.1.0
A simple package for displaying Windows Toast Notification based on winsdk.
Requires Python: >=3.5

# winsdk_toast

A simple package for displaying Windows Toast Notification based on [winsdk].

Sometimes, after starting my data processing python script, I may surf the Internet.
It chokes my happiness that to frequently check whether the script stops,
or suddenly realize the script has stopped for a long while.

It'll be reassuring that the script can stop with a friendly gesture.

## Features

winsdk_toast can pop up Windows Toast Notifications that contain

- [x] Text
- [x] Image
- [x] Input
  - [x] Text
  - [x] Selection
- [x] Audio
  - [x] Buit-in
  - [ ] Custom
- [x] Progress
  - [x] Still
  - [ ] Live
- [x] Group
- [x] Event

## Minimal Example

```python
from winsdk_toast import Notifier, Toast


notifier = Notifier('程序名 applicationId')
toast = Toast()
toast.add_text('第一行 1st line')
notifier.show(toast)
```

![minimal.gif](https://github.com/Mo-Dabao/winsdk_toast/blob/main/docs/source/Examples/pics/minimal.gif?raw=true)

More examples and documents are on the way.


[winsdk]: https://pypi.org/project/winsdk