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
Metadata
Release files for placeholders 2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| placeholders-2.2.tar.gz | 4.0 kB | Without provenance | Details for placeholders-2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| placeholders-2.2-py3-none-any.whl | Python 3 | none | any | Details for placeholders-2.2-py3-none-any.whl |
Total release size: 8.5 kB
Release files / placeholders-2.2.tar.gz
| Download URL | placeholders-2.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a49b774bf60db52bcdb353b7a49c476fe227dd878a94d729a558d26abef13a2e
|
|
BLAKE2b-256 checksum How to use checksums |
cd72c182b08b13fde3d2b2c04d6ea48436821038b062e5120d397ea6ee3b7781
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / placeholders-2.2-py3-none-any.whl
| Download URL | placeholders-2.2-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9745f2548c2bb993e030e1e363948e9ed3067e9c5e13993a445b832206909939
|
|
BLAKE2b-256 checksum How to use checksums |
076b0ae914cb6188a5ef14549ab0dd859a24379364e9853f094995b2a87839b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for placeholders 2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.