npeg


Namenpeg JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummarySmall and blazingly fast python library for image processing.
upload_time2023-03-21 13:23:23
maintainer
docs_urlNone
authorNeoTheBestDeveloper
requires_python>=3.10,<4.0
licenseGPLv3
keywords img avx opencl cuda processing computation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Warning: project is unstable now.


# Npeg 
It is a small and blazingly fast python library for image processing.

Why is it fast?

- Npeg core written on C.
- Npeg support cpu hardware acceleration, for example, avx. (In the process)
- Npeg support gpu gardware acceleration, for example, cuda, opencl. (In the future)

## Supported formats

- PNG (In the future)
- JPG (In the future)
- WEBP (In the future)
- TIFF (In the future)
- PBM
- PGM (In the future)
- PPM (In the future)
- PPA (In the future)

## Examples
```python 
from npeg import img_read, Interpolation

# img rotation.
with img_read('cats.pbm') as img:
    img.rotate(10)
    img.rotate(-10, Interpolation.INTER_LINEAR)
    img.save('rotated_cat.pbm')

# Or you can read file manually.

img = img_read('dogs.pbm')
img.save('dods_cipy.bpm') # Kind of img copying.
img.close()
```

## Installation

```bash
$ pip install npeg
```

## Installation from source

Dependencies:
- poetry 
- meson
```bash
$ git clone https://github.com/neothebestdeveloper/npeg
$ poetry run build_pkg
$ pip install "dist/npeg-0.0.1-py3-none-any.whl"
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "npeg",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "img,avx,opencl,cuda,processing,computation",
    "author": "NeoTheBestDeveloper",
    "author_email": "kiankasey91n@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/7d/4b/bc01b8174adbf3c9210009a431ebee855b85717035b1ef9ae040848a9955/npeg-0.0.1.tar.gz",
    "platform": null,
    "description": "# Warning: project is unstable now.\n\n\n# Npeg \nIt is a small and blazingly fast python library for image processing.\n\nWhy is it fast?\n\n- Npeg core written on C.\n- Npeg support cpu hardware acceleration, for example, avx. (In the process)\n- Npeg support gpu gardware acceleration, for example, cuda, opencl. (In the future)\n\n## Supported formats\n\n- PNG (In the future)\n- JPG (In the future)\n- WEBP (In the future)\n- TIFF (In the future)\n- PBM\n- PGM (In the future)\n- PPM (In the future)\n- PPA (In the future)\n\n## Examples\n```python \nfrom npeg import img_read, Interpolation\n\n# img rotation.\nwith img_read('cats.pbm') as img:\n    img.rotate(10)\n    img.rotate(-10, Interpolation.INTER_LINEAR)\n    img.save('rotated_cat.pbm')\n\n# Or you can read file manually.\n\nimg = img_read('dogs.pbm')\nimg.save('dods_cipy.bpm') # Kind of img copying.\nimg.close()\n```\n\n## Installation\n\n```bash\n$ pip install npeg\n```\n\n## Installation from source\n\nDependencies:\n- poetry \n- meson\n```bash\n$ git clone https://github.com/neothebestdeveloper/npeg\n$ poetry run build_pkg\n$ pip install \"dist/npeg-0.0.1-py3-none-any.whl\"\n```\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "Small and blazingly fast python library for image processing.",
    "version": "0.0.1",
    "split_keywords": [
        "img",
        "avx",
        "opencl",
        "cuda",
        "processing",
        "computation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ce175dacf137c74c25336b991ac93ef41ffaa5ba18124c4e46de6730afa645e0",
                "md5": "8f435ed483f8cc9520e247e3289a7732",
                "sha256": "a8dd0e1dc079c015ebe6ef06318e2ec6d146a9d8b0d1cc061803ae5b87d40a42"
            },
            "downloads": -1,
            "filename": "npeg-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8f435ed483f8cc9520e247e3289a7732",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 51623,
            "upload_time": "2023-03-21T13:23:21",
            "upload_time_iso_8601": "2023-03-21T13:23:21.471841Z",
            "url": "https://files.pythonhosted.org/packages/ce/17/5dacf137c74c25336b991ac93ef41ffaa5ba18124c4e46de6730afa645e0/npeg-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7d4bbc01b8174adbf3c9210009a431ebee855b85717035b1ef9ae040848a9955",
                "md5": "b666abb75cbe033ba699d1c474c103db",
                "sha256": "e68e892f04a63e9714593009dd4c9e72e82538461f94ecc506257cd111c1fa53"
            },
            "downloads": -1,
            "filename": "npeg-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b666abb75cbe033ba699d1c474c103db",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 49613,
            "upload_time": "2023-03-21T13:23:23",
            "upload_time_iso_8601": "2023-03-21T13:23:23.815548Z",
            "url": "https://files.pythonhosted.org/packages/7d/4b/bc01b8174adbf3c9210009a431ebee855b85717035b1ef9ae040848a9955/npeg-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-21 13:23:23",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "npeg"
}
        
Elapsed time: 0.04594s