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.17.tar.gz
.
File metadata
- Download URL: prpy-0.2.17.tar.gz
- Upload date:
- Size: 64.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ccafcdf5882f9d6c479f53db65fd3d753db2cc9f1a707a146e7b9cf9b25366d |
|
MD5 | afac3bbe264f911d97a2cef57659d1e0 |
|
BLAKE2b-256 | 8a7e78a2f97567d59082cadfb5060dfbdffea09e3a3b0dace857b5970b75731c |
File details
Details for the file prpy-0.2.17-cp310-cp310-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: prpy-0.2.17-cp310-cp310-macosx_10_15_x86_64.whl
- Upload date:
- Size: 72.2 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 | 14f29a3584024e0484ecd9d4e7e1ef9c3300d71578903ac6bb3ce6dcab13de3b |
|
MD5 | 28794f585c44067963c62987b0b32769 |
|
BLAKE2b-256 | 55c91136bf7fe2cbe5cb85b5a93ea80832e897618123832cc50673f2025cf041 |