semvec/pypi-packages huggingface dataset:
twitch-downloader 0.2
Simple twitch clips downloader
License: MIT

# Twitch Downloader

This script is designed to download video content from Twitch channels. It utilizes Selenium for web scraping and requests for downloading video content.

## Requirements:
- Selenium: Python library for browser automation
- requests: HTTP library for making requests
- toml: Library for parsing TOML configuration files

## Usage:
1. Ensure you have the necessary dependencies installed.
2. Create or download a TOML configuration file named 'config.toml' in the same directory as this script.
3. Configure the 'config.toml' file with appropriate values for 'main' and 'clips' paths.
4. Create an instance of the Downloader class and call the 'download' method with appropriate parameters.

## Methods:
    download: Downloads video content from the specified Twitch channel.
    get_clips_src: Retrieves the source URLs for video clips.
    get_urls: Retrieves the URLs of video clips for the specified channel.
    download_clip: Downloads a video clip from the provided source URL.

## Exceptions:
    ChannelNameInputError: Raised when the channel name is not provided.
    HTMLParsingError: Raised when there is an error parsing HTML content.
xyz2png 0.0.1
Convert .xyz file into .png file
License: MIT
Requires Python: <4.0,>=3.9

# xyz2png

[![PyPI version](
  <https://badge.fury.io/py/xyz2png.svg>
  )](
  <https://badge.fury.io/py/xyz2png>
) [![Maintainability](
  <https://api.codeclimate.com/v1/badges/3f5110d732ac79473f80/maintainability>
  )](
  <https://codeclimate.com/github/eggplants/xyz2png/maintainability>
) [![pre-commit.ci status](
  <https://results.pre-commit.ci/badge/github/eggplants/xyz2png/master.svg>
  )](
  <https://results.pre-commit.ci/latest/github/eggplants/xyz2png/master>
)

[![ghcr latest](
  <https://ghcr-badge.deta.dev/eggplants/xyz2png/latest_tag?trim=major&label=latest>
 ) ![ghcr size](
  <https://ghcr-badge.deta.dev/eggplants/xyz2png/size>
)](
  <https://github.com/eggplants/xyz2png/pkgs/container/xyz2png>
)

Convert [`.xyz` file](http://justsolve.archiveteam.org/wiki/XYZ_(RPG_Maker)) into `.png` file

_Reimplementation [vn-tools/xyz2png](https://github.com/vn-tools/xyz2png) in Python3._

## Install

```bash
pip install xyz2png
```

```bash
# OR
pipx install xyz2png
```

## Run

```bash
xyz2png <target dir> <output dir>
```

## Example

```shellsession
$ ls FooBar/GameFiles/Picture/*.xyz
FooBar/GameFiles/Picture/foo1.xyz    FooBar/GameFiles/Picture/bar1.xyz

$ xyz2png FooBar/GameFiles/Picture output_images
Done.

$ ls output_images
foo1.png    bar1.png
```

## Help

```shellsession
$ xyz2png -h
usage: xyz2png [-h] [-o] [-V] IN OUT

Convert .xyz file into .png file.

positional arguments:
  IN               directory of xyz files
  OUT              directory to output png files

options:
  -h, --help       show this help message and exit
  -o, --overwrite  overwrite if png file exists
  -V, --version    show program's version number and exit
```