Python CLI for reading metadata embedded in images generated by Stable Diffusion.
Project description
sd-geninfo
Python CLI for reading metadata embedded in images generated by Stable Diffusion.
Dependencies
Installation
$ pip install sd-geninfo
Usage
usage: sd-geninfo [-h] [-i INPUT] [-c COLOR] [-m] [-f {json,yaml}]
Python CLI for reading metadata embedded in images generated by Stable Diffusion.
options:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Path to input image from which to read metadata,
alternatively you can pass the input path on stdin
-c COLOR, --color COLOR
Whether or not the JSON output should be printed in
color, to pretty print the json result in color, defaults
to "--color=auto" which will pretty print when stdout is
detected as a terminal, pass "--color=never" to force
printing in plain text, pass "--color=always" to force
pretty printing
-m, --minify Whether or not to minify the json result, defaults to
False
-f {json,yaml}, --format {json,yaml}
The format to output the metadata in, json or yaml,
defaults to json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sd-geninfo-0.0.2.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for sd_geninfo-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75a129ef0becd45e344edd99d4bfe9255721235c1b6b3bbd40bd4561ba419a14 |
|
MD5 | 020df31201609d33fc4de45de7b710dc |
|
BLAKE2b-256 | d4074db998fddd6b70eb9588dc16a160138b1aaa3127bfcef83a0b696f941084 |