Skip to main content

PyPgm

This package is for reading portable greymap files.

Functionality still to be added for writing pgm files.

Installation

pip install pgm_reader

Usage

from pgm_reader import Reader

f = 'pgm_file.pgm'
reader = Reader()
image = reader.read_pgm(f)
width = reader.width

Metadata

Release files for pgm-reader 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pgm-reader 0.0.1
File Size Uploaded
pgm_reader-0.0.1.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pgm-reader 0.0.1
File Interpreter ABI Platform
pgm_reader-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / pgm_reader-0.0.1.tar.gz

Download URL pgm_reader-0.0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
419b3a712a45bda43b35a898e680b526ca64dbac31907553114deb2d8d1669b5
BLAKE2b-256 checksum
How to use checksums
eff3d276b60f082cbffcd1f2ef9e7ff1f6a4e844a00a8c23c1a506ea24abd3a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

Release files / pgm_reader-0.0.1-py3-none-any.whl

Download URL pgm_reader-0.0.1-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d88b1ed23446570f016e866e4a6820292c6d1851a746dced4c482ba71c82ee9
BLAKE2b-256 checksum
How to use checksums
ff20815782b1ef1ab1bf923b3d94c7d6212ad9ca20f3755f206089e55e62d234
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page