Skip to main content

hangar_pil

Hangar PIL plugin

hangar_pil provides load, save and board_show methods and supports jpg, jpeg, png, ppm, bmp, pgm, tif, tiff and webp files

installation

pip install hangar_pil

Usage - CLI

Examples here are with minimal options possible, checkout the hangar documentation for all available options

  • Importing a directory full of images into hangar. Hangar uses hangar_pil to figure out which file formats are supported by hangar_pil and auto infer plugin at runtime. Note that --height and --width are plugin specific arguments
 hangar import aset images_directory --height 299 --width 299
  • Exporting: This exports the sample to the current directory
hangar export aset --format jpg --sample sample_name

Usage - programmatically

Metadata

Release files for hangar-pil 0.3.2

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

Source distribution (sdist)

Source distribution for hangar-pil 0.3.2
File Size Uploaded
hangar_pil-0.3.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hangar-pil 0.3.2
File Interpreter ABI Platform
hangar_pil-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / hangar_pil-0.3.2.tar.gz

Download URL hangar_pil-0.3.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
532dcc348d1f6620e5777375850a88766ac28f4dd9585152d09ad27c8244e002
BLAKE2b-256 checksum
How to use checksums
169d16b74ac1f1172b50cdcfaad394963035a16bed4b171ccaa87dd650de631c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / hangar_pil-0.3.2-py3-none-any.whl

Download URL hangar_pil-0.3.2-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be2b14127faacfd25c7047780afd57976d3dba6c730440bfe9ce2f73cad0e469
BLAKE2b-256 checksum
How to use checksums
ed4cedf0c8f9116e863a121ab8961e86bd9b525ed5b10c1c170043bcfdcbf4c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

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