# 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
Raw data
{
"_id": null,
"home_page": "https://github.com/austinbrown34/placeholders",
"name": "placeholders",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "image,exif,jpg",
"author": "Austin Brown",
"author_email": "austinbrown34@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/cd/72/c182b08b13fde3d2b2c04d6ea48436821038b062e5120d397ea6ee3b7781/placeholders-2.2.tar.gz",
"platform": null,
"description": "# Placeholders\n\nA command-line tool to set and get variables embedded in image metadata\n\n## Getting Started\n\nTo 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.\n\n### Prerequisites\n\nTo avoid potential conflicts, create a virtual environment and activate it before following installation instructions.\n\n```\nvirtualenv -p python3 env\n. env/bin/activate\n```\n\n### Installing\n\nFollow these steps to setup Placeholders.\n\n```\npip install placeholders\n```\n\n### Basic Controls\n\nGet variable embedded in image\n\n```\nplaceholders image.py\n```\n\nGet variables for each image in a directory\n\n```\nplaceholders ./example_directory\n```\n\nSet variable in image\n\n```\nplaceholders test.jpg --tag variable_name\n```\n\nSet image variables according to yaml\n\n```\nplaceholders tags.yaml\n```\n\n### Example yaml\n\n```\n/absolute/path/image.png test\n/absolute/test.jpg test2\n```\n\n## Authors\n\n- Austin Brown\n",
"bugtrack_url": null,
"license": "",
"summary": "Create placeholder images by embedding keywords into regular jpg images.",
"version": "2.2",
"split_keywords": [
"image",
"exif",
"jpg"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "076b0ae914cb6188a5ef14549ab0dd859a24379364e9853f094995b2a87839b4",
"md5": "ca89a3d1b99b3978adb24ea6d276f310",
"sha256": "9745f2548c2bb993e030e1e363948e9ed3067e9c5e13993a445b832206909939"
},
"downloads": -1,
"filename": "placeholders-2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ca89a3d1b99b3978adb24ea6d276f310",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4545,
"upload_time": "2023-04-22T13:41:54",
"upload_time_iso_8601": "2023-04-22T13:41:54.127903Z",
"url": "https://files.pythonhosted.org/packages/07/6b/0ae914cb6188a5ef14549ab0dd859a24379364e9853f094995b2a87839b4/placeholders-2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cd72c182b08b13fde3d2b2c04d6ea48436821038b062e5120d397ea6ee3b7781",
"md5": "62dcbf6a1011f78f4e4e14673898b878",
"sha256": "a49b774bf60db52bcdb353b7a49c476fe227dd878a94d729a558d26abef13a2e"
},
"downloads": -1,
"filename": "placeholders-2.2.tar.gz",
"has_sig": false,
"md5_digest": "62dcbf6a1011f78f4e4e14673898b878",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3977,
"upload_time": "2023-04-22T13:41:56",
"upload_time_iso_8601": "2023-04-22T13:41:56.014130Z",
"url": "https://files.pythonhosted.org/packages/cd/72/c182b08b13fde3d2b2c04d6ea48436821038b062e5120d397ea6ee3b7781/placeholders-2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-22 13:41:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "austinbrown34",
"github_project": "placeholders",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "placeholders"
}