Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grayscalelib_core-0.0.3.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

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

grayscalelib_core-0.0.3-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

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

Hashes for grayscalelib_core-0.0.3.tar.gz
Algorithm Hash digest
SHA256 09e8c9364c7bae4936daa882a97c030a1a8ac834fc555f5f703e70ac4e20f6af
MD5 1d35fa33b645b2b1b0af7c8575714e5a
BLAKE2b-256 a6da67ad9f93f4e8a2321681fdaf41681762bd3e6602e81a0dd2777687d52d53

See more details on using hashes here.

File details

Details for the file grayscalelib_core-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for grayscalelib_core-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bc7e927d720575b7628da3ae5dae1adf260dd2591898afe4c9e9c91b6cd1731b
MD5 27661def18d59aac5efc9b59de7601e7
BLAKE2b-256 7fe73028716e9ea827740a0de4aedd2509d2416b8ea37b8de4eecf60b948fd0f

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