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.0.tar.gz (3.9 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.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for placeholders-2.0.tar.gz
Algorithm Hash digest
SHA256 e33e64f8ae1c0bf558a22d7a7ce29f0d772b0b9c4a3cb93b3ab4a4e9ef2bc734
MD5 5152585074ed07e48210cc0221b00e88
BLAKE2b-256 e732e0cad168d7ce5ff2f3cbca792df1c757783c244c72fb575f3a8ecb8e5567

See more details on using hashes here.

File details

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

File metadata

  • Download URL: placeholders-2.0-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

Hashes for placeholders-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e9c8cf41ccc07d7bafca0e096290b2a566cfdfa8e7ef15f084e1cb26031e569
MD5 25d10f7a232bf517d8cfc41b3ed087c1
BLAKE2b-256 a7c69680d9359a7f774ec2bd407ea2ded16f368f5d3184bde251f67c270290cc

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