Skip to main content

Collection of Python utils for signal, image, and video processing

Project description

prpy

Tests PyPI Downloads

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 or tensorflow 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prpy-0.2.13.tar.gz (63.5 kB view details)

Uploaded Source

Built Distribution

prpy-0.2.13-cp310-cp310-macosx_10_15_x86_64.whl (71.1 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

File details

Details for the file prpy-0.2.13.tar.gz.

File metadata

  • Download URL: prpy-0.2.13.tar.gz
  • Upload date:
  • Size: 63.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for prpy-0.2.13.tar.gz
Algorithm Hash digest
SHA256 afa66e56ee092a9c4e0a11f3edfac529f86f82274e3fb52db24a377a1b15ace6
MD5 9d257b6b11c4ed3cad1f72f7d6f1db7a
BLAKE2b-256 a84ec6e69a9c94a9b39f2c4c7224b2235e9b84583d82352e8a1959519cb51cc4

See more details on using hashes here.

File details

Details for the file prpy-0.2.13-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for prpy-0.2.13-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6064ccca8fb177e88bd0474429a51170c610f548b6672fa9b94da54cc87b5932
MD5 a90799b98d12d3b9f1b045f86826adac
BLAKE2b-256 f15438522b58f53f3c5da9713612f21e0d620a8a9ca824fd35f74be571eee3cd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page