semvec/pypi-packages huggingface dataset:
wialonpy 0.1.11
A lightweight Python wrapper for the Wialon API by Gurtam
License: MIT
Requires Python: >=3.10

# wialonpy

**WialonPy** is a lightweight Python library that simplifies working with the Wialon API by Gurtam.

It provides procedural interface, making it easy and flexible to integrate into your projects.

## Features

- Easy-to-use wrapper for Wialon API requests
- Supports simple functional usage
- Well-suited for automation scripts and backend integrations

## Requirements

- Python 3.10 or newer
- requests

## Installation

```bash
pip install wialonpy
```

## Official Wialon API Documentation

For full details on available methods, parameters, and structure, see the official Wialon SDK documentation:

👉 [https://sdk.wialon.com/wiki/en/kit/kit](https://sdk.wialon.com/wiki/en/kit/kit)

## License

This project is licensed under the MIT License. See the LICENSE file for details.

## Disclaimer

This library is an independent open source project and is not officially affiliated with Gurtam or Wialon.
progressionpicturepal 0.3.0
Compose image-flow diagrams with captions and arrows
License: MIT
Requires Python: >=3.7

# Progression Picture Pal
PPP is _perfect_ if you want to automate showing progression in images.

```sh
pip install progressionpicturepal
```

## Examples
All images generated with the below code with different `num_images` and `max_per_row` values to show different behaviour.

```python
from progressionpicturepal import create_flow_diagram

images = [
    ("example_images/step1.JPG", "\"First you go to the beach\""),
    ("example_images/step2.JPG", "\"Then you look at a green bush and think about your place in the world\""),
    ("example_images/step3.JPG", "\"Then you see a red leaf\""),
    ("example_images/step4.JPG", "\"But then you see a white house\""),
    ("example_images/step5.JPG", "\"So you look at some bins\""),
    ("example_images/step6.JPG", "\"And then some more houses\""),
    ("example_images/step7.JPG", "\"Before finally looking at your foot\""),
]

create_flow_diagram(
    images=images,
    output_path="flow_output.png",
    num_images=6,
    spacing=160,
    spacing_vertical=100,
    max_node_dim=400,
    max_per_row=3,
    font_size=20,
    arrow_padding_v=70
)
```

### Basic
```python
num_images=3
```

![](examples/3_in_a_row.png)

### Wrapping with even
```python
num_images=7
```
![](examples/4_with_7.png)


### Wrapping with odd
```python
num_images=6 
max_per_row=3
```
![](examples/3_with_6.png)


### Advanced
More advanced usage use the FlowDiagram class directly.

```python
images = [
    ("example_images/step1.JPG", "\"First you go to the beach\""),
    ("example_images/step2.JPG", "\"Then you look at a green bush and think about your place in the world\""),
    ("example_images/step3.JPG", "\"Then you see a red leaf\""),
    ("example_images/step4.JPG", "\"But then you see a white house\""),
    ("example_images/step5.JPG", "\"So you look at some bins\""),
    ("example_images/step6.JPG", "\"And then some more houses\""),
    ("example_images/step7.JPG", "\"Before finally looking at your foot\""),

]

fd = FlowDiagram(spacing=160, spacing_vertical=100, max_node_dim=400, max_per_row=3,
                    font_size=20, arrow_padding_v=70)

num_images = 6
for image in images[0:num_images]: 
    fd.add_node(image[0], image[1]) 

# only put an arrow every second image
for i in range(num_images-1, 2):
    fd.add_arrow(i, i+1)
fd.save("flow_output.png")
```

![](examples/every_second_arrow.png)

# Sponsorship
Sample images kindly provided by Sam Lewis of https://snaps.samlewis.me .