Skip to main content

PIL plugin for hangar

Project description

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

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

hangar_pil-0.3.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

hangar_pil-0.3.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file hangar_pil-0.3.1.tar.gz.

File metadata

  • Download URL: hangar_pil-0.3.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for hangar_pil-0.3.1.tar.gz
Algorithm Hash digest
SHA256 34536eb5f533ee11c428dd5b8be1409b4f1e04652ad028fee8115c5808a21c4f
MD5 607ecc23175876d8b8c093e50b674cc1
BLAKE2b-256 d6f7c900ccda6152617ce71433f458099b0de9295b8a6be3a954c352bfd4de7b

See more details on using hashes here.

File details

Details for the file hangar_pil-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: hangar_pil-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for hangar_pil-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 063f410dcd7da18069b27eb94ca6b5f0ecbd84c8c637208e800c3a64b1d68de4
MD5 f40718c5075516386e043628b87b8488
BLAKE2b-256 5442d771109a38abb16b3b1e47d8106c1827f55cb96148ab293b7e75a04588f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page