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.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

placeholders-2.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file placeholders-2.1.tar.gz.

File metadata

  • Download URL: placeholders-2.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for placeholders-2.1.tar.gz
Algorithm Hash digest
SHA256 62060cba9e70674785b84ad4d42da8a3dc9faae92f112b29447d4f2649d7b1d6
MD5 7cc237797ba513382a8dd1fd21880659
BLAKE2b-256 5d990478ac98c74677ee1936bd1c5e3afc08cdb2510231f5b14e6be41ef0a3a1

See more details on using hashes here.

File details

Details for the file placeholders-2.1-py3-none-any.whl.

File metadata

  • Download URL: placeholders-2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for placeholders-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16d04f75fc55f942903f4441bc79ffb8a2e53f73166394f7ddf762cdd99afe20
MD5 51da2e201280d69fef5cfbf736e5d19e
BLAKE2b-256 74ada0b441a76921a2a318c090178e71c17f5ef35c63918fafe0531d12c85a7f

See more details on using hashes here.

Supported by

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