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.2.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.2-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file grayscalelib_core-0.0.2.tar.gz.

File metadata

  • Download URL: grayscalelib_core-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7e568e948d01d5d9d60656cfaf46d89f1460ed53ce6edd5cc26da54da4ba6970
MD5 e526c6db29a4323dc9c75e8823bf0a8a
BLAKE2b-256 67c9bf2736a267a1531cbd06a56b11393e4408d1e870110847ebe90c2f405d32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grayscalelib_core-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1d080fa3f25c410390944dd94af99abcd5f9396dcdbccdfed1770a950beccedd
MD5 e45eec81afd616b6864f0d55e0c2919e
BLAKE2b-256 c0ee542c1970024cc3766365e9220f770462ba6474d2da413ccbe877bdfdb730

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