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.
- Please note: If using
numpy
ortensorflow
options, we only support Python<3.12
because of the dependencies.
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
File details
Details for the file prpy-0.2.14.tar.gz
.
File metadata
- Download URL: prpy-0.2.14.tar.gz
- Upload date:
- Size: 64.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de8546d009c82947de251a8d8a503a443178a983208219655be4b882e01dc77d |
|
MD5 | fb061dd4d38b9b09bb35c9182d89249d |
|
BLAKE2b-256 | 1983a92f8b1f07385c7d67a95d50c4dce16bab75bab71110bd44f735a4cb74d3 |
File details
Details for the file prpy-0.2.14-cp310-cp310-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: prpy-0.2.14-cp310-cp310-macosx_10_15_x86_64.whl
- Upload date:
- Size: 72.1 kB
- Tags: CPython 3.10, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ffe88c38c2303170afce4eebbc2be6c3b1045530eed3283c08125e45e53713a |
|
MD5 | ba64ed32306259c8b4b8458ed39116d6 |
|
BLAKE2b-256 | 21bf719854af5ce1a82c3c69d63ffae71b8458028a6da2c559b314220844b7da |