prpy


Nameprpy JSON
Version 0.2.19 PyPI version JSON
download
home_pageNone
SummaryCollection of Python utils for signal, image, and video processing
upload_time2025-02-22 02:04:25
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License
keywords python numpy ffmpeg tensorflow torch
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# prpy

[![Tests](https://github.com/prouast/prpy/actions/workflows/main.yml/badge.svg)](https://github.com/prouast/prpy/actions/workflows/main.yml)
[![PyPI Downloads](https://static.pepy.tech/personalized-badge/prpy?period=total&units=international_system&left_color=grey&right_color=blue&left_text=pip%20downloads)](https://pypi.org/project/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` 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 .
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "prpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "python, numpy, ffmpeg, tensorflow, torch",
    "author": null,
    "author_email": "Philipp Rouast <philipp@rouast.com>",
    "download_url": "https://files.pythonhosted.org/packages/80/de/93c8392d6ec6983d3fdd5c0f6f4d2067e3bb48676f90afbe91bf0ec56407/prpy-0.2.19.tar.gz",
    "platform": null,
    "description": "\n# prpy\n\n[![Tests](https://github.com/prouast/prpy/actions/workflows/main.yml/badge.svg)](https://github.com/prouast/prpy/actions/workflows/main.yml)\n[![PyPI Downloads](https://static.pepy.tech/personalized-badge/prpy?period=total&units=international_system&left_color=grey&right_color=blue&left_text=pip%20downloads)](https://pypi.org/project/prpy/)\n\nA collection of Python utilities for signal, image, and video processing.\nIt contains subpackages for working with `numpy`, `ffmpeg`, `tensorflow`, and `torch`.\n\n## Installation\n\nGeneral prerequisites are `python>=3.8` and `ffmpeg` installed and accessible via the `$PATH` environment variable.\n\n- Please note: If using `numpy` or `tensorflow` options, we only support Python `<3.12` because of the dependencies. \n\nThe easiest way to install the latest version of `prpy`:\n\n```\npip install \"prpy[ffmpeg,numpy,tensorflow,torch,test]\"\n```\n\nAlternatively, it can be done by cloning the source:\n\n```\ngit clone https://github.com/prouast/prpy.git\npip install \"./prpy[ffmpeg,numpy,tensorflow,torch,test]\"\n```\n\nThe above run full installs of all dependencies.\nIt 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.\n\n## Linting and tests\n\nTo lint and run tests:\n\n```\nflake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\npytest\n```\n\n## Build\n\nTo build:\n\n```\npython -m build\n```\n\n## Re-build and re-install locally\n\n```\npip uninstall -y prpy && pip install -e .\n```\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Collection of Python utils for signal, image, and video processing",
    "version": "0.2.19",
    "project_urls": {
        "Issues": "https://github.com/prouast/prpy/issues",
        "Repository": "https://github.com/prouast/prpy.git"
    },
    "split_keywords": [
        "python",
        " numpy",
        " ffmpeg",
        " tensorflow",
        " torch"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "388c3b0ef8824d2dc738c1d4ca1082709f21cdc2b7950384d6289423001cd9ff",
                "md5": "553e961d21e9c5bf3a69a41458b2e6f6",
                "sha256": "742c27c03a09517cf71655e4b29753383b1d6cd3d84be2a5d3fc735ac2d53aac"
            },
            "downloads": -1,
            "filename": "prpy-0.2.19-cp310-cp310-macosx_10_15_x86_64.whl",
            "has_sig": false,
            "md5_digest": "553e961d21e9c5bf3a69a41458b2e6f6",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 72892,
            "upload_time": "2025-02-22T02:04:22",
            "upload_time_iso_8601": "2025-02-22T02:04:22.931838Z",
            "url": "https://files.pythonhosted.org/packages/38/8c/3b0ef8824d2dc738c1d4ca1082709f21cdc2b7950384d6289423001cd9ff/prpy-0.2.19-cp310-cp310-macosx_10_15_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "80de93c8392d6ec6983d3fdd5c0f6f4d2067e3bb48676f90afbe91bf0ec56407",
                "md5": "a388687f7119057d1d10499fd513711c",
                "sha256": "2ab42282e8c2ad734f1cbee202194fcc9fb9afc344684d4fdba1a22640175b9d"
            },
            "downloads": -1,
            "filename": "prpy-0.2.19.tar.gz",
            "has_sig": false,
            "md5_digest": "a388687f7119057d1d10499fd513711c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 65463,
            "upload_time": "2025-02-22T02:04:25",
            "upload_time_iso_8601": "2025-02-22T02:04:25.770515Z",
            "url": "https://files.pythonhosted.org/packages/80/de/93c8392d6ec6983d3fdd5c0f6f4d2067e3bb48676f90afbe91bf0ec56407/prpy-0.2.19.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-22 02:04:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "prouast",
    "github_project": "prpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "prpy"
}
        
Elapsed time: 0.40537s