semvec/pypi-packages huggingface dataset:
winzy-convert 0.0.2
Mimic's convert to convert images to pdf, ppt etc.
License: Apache-2.0

# winzy-convert

[![PyPI](https://img.shields.io/pypi/v/winzy-convert.svg)](https://pypi.org/project/winzy-convert/)
[![Changelog](https://img.shields.io/github/v/release/sukhbinder/winzy-convert?include_prereleases&label=changelog)](https://github.com/sukhbinder/winzy-convert/releases)
[![Tests](https://github.com/sukhbinder/winzy-convert/workflows/Test/badge.svg)](https://github.com/sukhbinder/winzy-convert/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/sukhbinder/winzy-convert/blob/main/LICENSE)

Mimic's convert to convert images to pdf, ppt etc.

## Installation

First [install winzy](https://github.com/sukhbinder/winzy) by typing

```bash
pip install winzy
```

Then install this plugin in the same environment as your Winzy application.
```bash
winzy install winzy-convert
```
## Usage

There are two commands ``topdf`` and another ``toppt``

### winzy topdf

```bash
usage: winzy topdf [-h] [-i IMAGEFILE] [-o OUTPUT] pattern

Mimic's convert to convert images to pdf.

positional arguments:
  pattern               Pattern matching the PNG images (e.g., e:\temp\*.png)

optional arguments:
  -h, --help            show this help message and exit
  -i IMAGEFILE, --imagefile IMAGEFILE
                        supply files with this option.
  -o OUTPUT, --output OUTPUT
                        Output pdf file name
```

### winzy toppt

```bash
usage: winzy toppt [-h] [-o OUTPUT] [-i IMAGEFILE] pattern

Mimic's convert to convert images to ppt

positional arguments:
  pattern               Pattern matching the PNG images (e.g., e:\temp\*.png)

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Output pdf file name
  -i IMAGEFILE, --imagefile IMAGEFILE
                        supply files with this option.

````

## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd winzy-convert
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```