\n\n## Installation\n\n#### pip\n\n```sh\n$ pip install chromatic\n```\n\n#### Manual\n\n```sh\n$ git clone https://github.com/prakashdanish/chromatic.git && cd chromatic\n$ python3 setup.py install\n```\n\n#### Imgur API\nIf you wish to use `--imgur` option which uploads the generated file to imgur and copies the image link to the clipboard, you'd need the API keys, namely `client_id` and `client_secret`\nThese are fairly easy to obtain.\n1. Register [here](https://imgur.com/signin?redirect=https%3A%2F%2Fapi.imgur.com%2Foauth2%2Faddclient)\n2. Copy your keys to `~/.chromatic.conf`\n\n```conf\n[DEFAULT]\nclient_id=\nclient_secret=\n```\n\nYour config file should already be present in your home dir `~/.chromatic.conf` and if it's not, then run `chromatic` once without any options or create the file manually.\n\n## Usage\n\n```sh\nusage: chromatic [-h] [--color COLOR] [--size SIZE] [--imgur] [--nosave] [--open]\n [--path PATH] [--name NAME]\n\noptional arguments:\n -h, --help show this help message and exit\n --color COLOR HEX color code\n --size SIZE size of the image in LxB\n --imgur upload image to imgur and return URL\n --nosave don't save file locally\n --open open imgur URL in browser\n --path PATH path to the file\n --name NAME name of the image file generated\n```\n\n## Why?\nI've had countless instances wherein I need a solid background image with a given size and color, and after going through the various solid background generators on the web, I end up using photoshop to do the same, which in itself is a tedious task.\n\n## Contributing\nDo you want to make this better? Open an issue and/or a PR on Github. Thanks!\n\n## License\nMIT License\n\nCopyright (c) 2018 [Danish Prakash](https://github.com/prakashdanish)\n\n---",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/prakashdanish/chromatic",
"keywords": "",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "chromatic",
"package_url": "https://pypi.org/project/chromatic/",
"platform": "",
"project_url": "https://pypi.org/project/chromatic/",
"project_urls": {
"Homepage": "https://github.com/prakashdanish/chromatic"
},
"release_url": "https://pypi.org/project/chromatic/1.0.3/",
"requires_dist": null,
"requires_python": "",
"summary": "Generate monochromatic backgrounds instantly",
"version": "1.0.3"
},
"last_serial": 4287928,
"releases": {
"1.0.3": [
{
"comment_text": "",
"digests": {
"md5": "d57a5d7da33a1ce296408e4fb6e62b04",
"sha256": "ab2fb64e3558f5610c4edde5bcde89f620ca8f94b7e05d1da55424588ac7abd3"
},
"downloads": -1,
"filename": "chromatic-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "d57a5d7da33a1ce296408e4fb6e62b04",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3352,
"upload_time": "2018-08-14T10:00:36",
"url": "https://files.pythonhosted.org/packages/46/56/c21807f4e7e8522b8cc1d2e2ffa6c7606edb58dc729bff12bd6ecfca3d02/chromatic-1.0.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "d57a5d7da33a1ce296408e4fb6e62b04",
"sha256": "ab2fb64e3558f5610c4edde5bcde89f620ca8f94b7e05d1da55424588ac7abd3"
},
"downloads": -1,
"filename": "chromatic-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "d57a5d7da33a1ce296408e4fb6e62b04",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3352,
"upload_time": "2018-08-14T10:00:36",
"url": "https://files.pythonhosted.org/packages/46/56/c21807f4e7e8522b8cc1d2e2ffa6c7606edb58dc729bff12bd6ecfca3d02/chromatic-1.0.3.tar.gz"
}
]
}