prpy


Nameprpy JSON
Version 0.2.17 PyPI version JSON
download
home_pageNone
SummaryCollection of Python utils for signal, image, and video processing
upload_time2024-11-15 02:10:50
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/8a/7e/78a2f97567d59082cadfb5060dfbdffea09e3a3b0dace857b5970b75731c/prpy-0.2.17.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.17",
    "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": "55c91136bf7fe2cbe5cb85b5a93ea80832e897618123832cc50673f2025cf041",
                "md5": "28794f585c44067963c62987b0b32769",
                "sha256": "14f29a3584024e0484ecd9d4e7e1ef9c3300d71578903ac6bb3ce6dcab13de3b"
            },
            "downloads": -1,
            "filename": "prpy-0.2.17-cp310-cp310-macosx_10_15_x86_64.whl",
            "has_sig": false,
            "md5_digest": "28794f585c44067963c62987b0b32769",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 72183,
            "upload_time": "2024-11-15T02:10:47",
            "upload_time_iso_8601": "2024-11-15T02:10:47.739294Z",
            "url": "https://files.pythonhosted.org/packages/55/c9/1136bf7fe2cbe5cb85b5a93ea80832e897618123832cc50673f2025cf041/prpy-0.2.17-cp310-cp310-macosx_10_15_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8a7e78a2f97567d59082cadfb5060dfbdffea09e3a3b0dace857b5970b75731c",
                "md5": "afac3bbe264f911d97a2cef57659d1e0",
                "sha256": "8ccafcdf5882f9d6c479f53db65fd3d753db2cc9f1a707a146e7b9cf9b25366d"
            },
            "downloads": -1,
            "filename": "prpy-0.2.17.tar.gz",
            "has_sig": false,
            "md5_digest": "afac3bbe264f911d97a2cef57659d1e0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 64735,
            "upload_time": "2024-11-15T02:10:50",
            "upload_time_iso_8601": "2024-11-15T02:10:50.912943Z",
            "url": "https://files.pythonhosted.org/packages/8a/7e/78a2f97567d59082cadfb5060dfbdffea09e3a3b0dace857b5970b75731c/prpy-0.2.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-15 02:10:50",
    "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.47220s