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.3.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sd-geninfo-0.0.3.tar.gz.
File metadata
- Download URL: sd-geninfo-0.0.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8f1b0c4adc656016951278210ec7277522b6cd2798d8aed05d6bef092aaf76a
|
|
| MD5 |
575bc0e279212e67b546d185b1e0a1f3
|
|
| BLAKE2b-256 |
73efdcd367f31b35ef7c971614c907573222e5ff0e06630642bc1eb80379d419
|
File details
Details for the file sd_geninfo-0.0.3-py3-none-any.whl.
File metadata
- Download URL: sd_geninfo-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba0773dda2bd444b27dc9113375e6bba40c525fa8bab6c34cdc45f6c4edc7e2b
|
|
| MD5 |
5b573d5cb1a28a1d684d3fa825b8b027
|
|
| BLAKE2b-256 |
0e19d0e600e82049a97ebfb5cae7d051d330845bc31c0078373ffd5d0ab998f2
|