A protocol for manipulating grayscale data.
Project description
grayscalelib.core
This project defines a protocol for working with grayscale images, videos and containers of arbitrary rank. It also provides a reference implementation in NumPy.
Installation
All releases are published on PyPi, so all the popular installation methods work out-of-the-box. For example, here is how you can install the library using pip.
python -m pip install grayscalelib.core
Usage
The main data structure of this library is the Pixels class. All other
functionality is accessible as methods and class methods of this class.
from grayscalelib.core import Pixels
px = Pixels([0.00, 0.25, 0.50, 0.75 1.00])
# List all methods defined on Pixels
dir(px)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grayscalelib_core-0.0.3.tar.gz.
File metadata
- Download URL: grayscalelib_core-0.0.3.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09e8c9364c7bae4936daa882a97c030a1a8ac834fc555f5f703e70ac4e20f6af
|
|
| MD5 |
1d35fa33b645b2b1b0af7c8575714e5a
|
|
| BLAKE2b-256 |
a6da67ad9f93f4e8a2321681fdaf41681762bd3e6602e81a0dd2777687d52d53
|
File details
Details for the file grayscalelib_core-0.0.3-py3-none-any.whl.
File metadata
- Download URL: grayscalelib_core-0.0.3-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc7e927d720575b7628da3ae5dae1adf260dd2591898afe4c9e9c91b6cd1731b
|
|
| MD5 |
27661def18d59aac5efc9b59de7601e7
|
|
| BLAKE2b-256 |
7fe73028716e9ea827740a0de4aedd2509d2416b8ea37b8de4eecf60b948fd0f
|