Create placeholder images by embedding keywords into regular jpg images.
Project description
Placeholders
A command-line tool to set and get variables embedded in image metadata
Getting Started
To get started clone this repo, and if you don't want to install all the dependencies globally (and you shouldn't want to), make sure you have something like Virtualenv installed on your machine.
Prerequisites
To avoid potential conflicts, create a virtual environment and activate it before following installation instructions.
virtualenv -p python3 env
. env/bin/activate
Installing
Follow these steps to setup Placeholders.
pip install placeholders
Basic Controls
Get variable embedded in image
placeholders image.py
Get variables for each image in a directory
placeholders ./example_directory
Set variable in image
placeholders test.jpg --tag variable_name
Set image variables according to yaml
placeholders tags.yaml
Example yaml
/absolute/path/image.png test
/absolute/test.jpg test2
Authors
- Austin Brown
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
Built Distribution
File details
Details for the file placeholders-2.2.tar.gz
.
File metadata
- Download URL: placeholders-2.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a49b774bf60db52bcdb353b7a49c476fe227dd878a94d729a558d26abef13a2e |
|
MD5 | 62dcbf6a1011f78f4e4e14673898b878 |
|
BLAKE2b-256 | cd72c182b08b13fde3d2b2c04d6ea48436821038b062e5120d397ea6ee3b7781 |
File details
Details for the file placeholders-2.2-py3-none-any.whl
.
File metadata
- Download URL: placeholders-2.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9745f2548c2bb993e030e1e363948e9ed3067e9c5e13993a445b832206909939 |
|
MD5 | ca89a3d1b99b3978adb24ea6d276f310 |
|
BLAKE2b-256 | 076b0ae914cb6188a5ef14549ab0dd859a24379364e9853f094995b2a87839b4 |