Collection of Python utils for signal, image, and video processing
Project description
prpy
A collection of Python utilities for signal, image, and video processing.
It contains subpackages for working with numpy
, ffmpeg
, tensorflow
, and torch
.
Installation
General prerequisites are python>=3.8
and ffmpeg
installed and accessible via the $PATH
environment variable.
The easiest way to install the latest version of prpy
:
pip install "prpy[ffmpeg,numpy,tensorflow,torch,test]"
Alternatively, it can be done by cloning the source:
git clone https://github.com/prouast/prpy.git
pip install "./prpy[ffmpeg,numpy,tensorflow,torch,test]"
The above run full installs of all dependencies.
It is possible to customize the install of the dependencies by only listing the desired subpackages out of ffmpeg
, numpy
, tensorflow
, torch
, and test
in the square brackets above.
Linting and tests
To lint and run tests:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
pytest
Build
To build:
python -m build
Re-build and re-install locally
pip uninstall -y prpy && pip install -e .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for prpy-0.2.8-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5badbf288b924306725d64116f539492f44044701df07208a944592f7eddc8ee |
|
MD5 | b20416a5a8c872b3510a5fffa29d5d4c |
|
BLAKE2b-256 | bc7bde3e13a24154caaf893b2e03bf21a54b5a14bc75ebf82cfcf266581427bd |