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.9 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=F,E9 --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.3.10.tar.gz (82.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prpy-0.3.10-cp310-cp310-macosx_10_9_x86_64.whl (89.0 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for prpy-0.3.10.tar.gz
Algorithm Hash digest
SHA256 246af2a13f62f90737f68f9bb6e949b5d56867c0539b8c101f2d351a92ed5b19
MD5 2b441d41772ee71e05aa2bfc5765cbdc
BLAKE2b-256 6b820105858a80a8054c773581bd46b0a31668236b3bab01709f15048d79689d

See more details on using hashes here.

File details

Details for the file prpy-0.3.10-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for prpy-0.3.10-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4d1565435acf00e09b0548c4e2976069ad9f1d3ad05ed84902986cd337965064
MD5 0b9b967e9ee34336fd1a2f1ca7fc9d17
BLAKE2b-256 46d544af1534288512ea3223498aa68893f6b70cfc3d97c941eca821ff0755be

See more details on using hashes here.

Supported by

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