Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

placeholders-2.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

placeholders-2.2-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

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