Metadata-Version: 2.4
Name: par2cmdline-turbo
Version: 1.4.0
Summary: Produce, verify and repair par2 files.
Author-email: Brent Huisman <brent@huisman.eu.org>
Maintainer-email: Brent Huisman <brent@huisman.eu.org>
License-Expression: GPL-2.0-or-later
Project-URL: Homepage, https://github.com/brenthuisman/par2cmdline-turbo.py
Project-URL: Issues, https://github.com/brenthuisman/par2cmdline-turbo.py/issues
Project-URL: Changelog, https://github.com/brenthuisman/par2cmdline-turbo.py/releases
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# par2cmdline-turbo.py

This package provides [par2cmdline-turbo](https://github.com/animetosho/par2cmdline-turbo) as a Python package for MacOS, Linux, and Windows; for Python 3.8 and later. Any feedback is welcome!

> [!NOTE]
> This distribution of `par2cmdline-turbo` is currently not affiliated with the official `par2cmdline-turbo` project.

## Motivation

`pip` is a convenient way to install small utilities, even if they aren't pure Python. It also means you can declare them as dependencies and have `pip` or other Python package managers handle the dependency for you. This is may be convenient if you live exclusively in Python-land, but still want to use the very excellent `par2cmdline-turbo`.

## Install

    $ pip install par2cmdline-turbo

## Build

    $ git checkout https://github.com/brenthuisman/par2cmdline-turbo.py.git
    $ pip wheel ./par2cmdline-turbo.py

Optionally, you can "cross-compile" the wheel for other platforms. It actually just downloads the right binary from the `par2cmdline-turbo` releases page. Just set the `TURBO_PLATFORM` environment variable with a supported platform. For instance:

    $ TURBO_PLATFORM=linux-x64 pip wheel ./par2cmdline-turbo.py

Supported platforms: linux-amd64, linux-arm64, linux-armhf, macos-arm64, macos-amd64, win-arm64, win-amd64. You can use `generate-wheels.sh` to generate them all.

## Usage

After install, `par2` should be in your path and usable as upstream `par2cmdline`. See [their usage documentation](https://github.com/Parchive/par2cmdline?tab=readme-ov-file#using-par2cmdline).

## Credits

- Thanks to `@animetosho` for creating ParPar and taking the time to wrap it up as `par2cmdline-turbo`.
- Thanks to `@agriyakhetarpal` for giving me the idea and code with their [hugo-python-distributions](https://github.com/agriyakhetarpal/hugo-python-distributions).
