{
"info": {
"author": "Puria Nafisi Azizi",
"author_email": "puria.nafisi@axant.it",
"bugtrack_url": null,
"classifiers": [],
"description": "+------------+------------+-----------+-----------+\n| |ph| | |nc| | |pm| | |ss| |\n+------------+------------+-----------+-----------+\n\n\n.. |ph| image:: http://placehold.it/200\n.. |nc| image:: http://www.placecage.com/gif/200/200\n.. |pm| image:: http://www.fillmurray.com/200/200\n.. |ss| image:: https://www.stevensegallery.com/200/200\n \n.. image:: https://img.shields.io/pypi/v/tgapp-placeholder.svg \n :alt: PyPI \n :target: https://pypi.org/project/tgapp-placeholder/\n\nAbout tgapp-placeholder\n-------------------------\n\n**tgapp-placeholder** is a Pluggable application for `TurboGears2 `_ that allows placeholder images generation on the fly.\nInspired by http://dummyimage.com/ and https://github.com/darkrho/django-dummyimage.\n\nInstalling\n-------------------------------\n\nplaceholder can be installed both from pypi or from github::\n\n pip install tgapp-placeholder\n\nshould just work for most of the users\n\nPlugging placeholder\n----------------------------\n\nIn your application *config/app_cfg.py* import **plug**::\n\n from tgext.pluggable import plug\n\nThen at the *end of the file* call plug with placeholder::\n\n plug(base_config, 'placeholder')\n\nYou will be able to access the plugged application at\n*http://localhost:8080/placeholder*.\n\nUsing placeholder\n-----------------\n\nYou are now able to get your fake images by calling::\n\n http://you-application/placeholder/{width} #for a square image\n http://you-application/placeholder/{width}x{height}\n http://you-application/placeholder/{width}x{height}?text={some text value}\n\nactually the parameters you can play with are:\n * **text** : a custom online text wich size is calculated to fit your image width\n * **bgcolor** : the background color in HEX rgb form (default set to 'DDDDDD')\n * **color** : the text color in HEX rgb form (default set to '888888')\n * **format** : available formats available `here `_ (default set to PNG)\n * **font_size** : font_size of the eventtual text. If none is provided it is automagically calculated to fit the whole text in the image width.\n\n\nMoviestars\n----------\n\nYour movie stars by placeholder! Now you can generate custom-size placeholder images of Bill Murray, Steven Seagal and the\ngreatest artist of all times Nicolas Cage!\n\nJust add the name of you movie hero in the URL, like::\n\n http://you-application/placeholder/stevenseagal/{width} #for a square image\n http://you-application/placeholder/nicolascage/{width}x{height}\n http://you-application/placeholder/billmurray/{width}x{height}\n\nNo text, bgcolor, color, format or font size needed! Just the name of an hero, and see the magic!\n\nEXTRA: Nicolas Cage\n*******************\n\nNicolas The Great Cage images supports the gray or the gif mode. Just add the *mode* in your URL::\n\n http://you-application/placeholder/nicolascage/g/{width}x{height}\n http://you-application/placeholder/billmurray/gif/{width}x{height}\n\nAvailable modes:\n * **g** : gray mode\n * **gif**: gif mode\n * **c**: Wanna see some crazy stuff? Try the crazy Cage mode!\n\nBased on famous placeholder generator by Dave Cowart (*http://www.placecage.com*,\n*https://www.stevensegallery.com/*, *http://www.fillmurray.com*)\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://github.com/puria/tgapp-placeholder",
"keywords": "turbogears2.application placeholder dummy image",
"license": "WTFPL",
"maintainer": "",
"maintainer_email": "",
"name": "tgapp-placeholder",
"package_url": "https://pypi.org/project/tgapp-placeholder/",
"platform": "",
"project_url": "https://pypi.org/project/tgapp-placeholder/",
"project_urls": {
"Homepage": "http://github.com/puria/tgapp-placeholder"
},
"release_url": "https://pypi.org/project/tgapp-placeholder/1.0.1/",
"requires_dist": null,
"requires_python": "",
"summary": "Placeholder image on the fly for Turbogears2",
"version": "1.0.1"
},
"last_serial": 3716023,
"releases": {
"0.9": [
{
"comment_text": "",
"digests": {
"md5": "cd4f87f56d0f9140d700db8b83b6ece6",
"sha256": "f59075d748bb431d380dd5d93409eb5c66b8b5c34eba02213068e28d22414ca6"
},
"downloads": -1,
"filename": "tgapp-placeholder-0.9.tar.gz",
"has_sig": false,
"md5_digest": "cd4f87f56d0f9140d700db8b83b6ece6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25184,
"upload_time": "2014-04-08T18:07:57",
"url": "https://files.pythonhosted.org/packages/74/dd/56ed6d4679ea3fcbe994defc67b8a6a1217ab11ccbe8827bb860e4c64a23/tgapp-placeholder-0.9.tar.gz"
}
],
"0.9.1": [
{
"comment_text": "",
"digests": {
"md5": "6b2ebcfb6d0512eee22200dca934cd7b",
"sha256": "2705061a41ef96ac1b09f7ac18a6461727d7f5b3435d3f0e32ca9aadf652c599"
},
"downloads": -1,
"filename": "tgapp-placeholder-0.9.1.tar.gz",
"has_sig": false,
"md5_digest": "6b2ebcfb6d0512eee22200dca934cd7b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25441,
"upload_time": "2014-04-09T00:07:38",
"url": "https://files.pythonhosted.org/packages/ca/62/40bb624a04fcafd2026fc0b667a099261e779072c61859851af5e7ff81da/tgapp-placeholder-0.9.1.tar.gz"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "bb8c883967439183fb92069ab5d24cfa",
"sha256": "1a8de8fb3bf417021430d1ff72d2034fc917c87ea1b4e8733d1f97621c6eafa5"
},
"downloads": -1,
"filename": "tgapp-placeholder-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "bb8c883967439183fb92069ab5d24cfa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27400,
"upload_time": "2018-03-27T16:03:24",
"url": "https://files.pythonhosted.org/packages/69/e3/f6b14abaadd1437a224fb1f50695aebaca420dbcb5c5a238138c4debaf39/tgapp-placeholder-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "0125cbc405920aa32f1c9c8880c5905f",
"sha256": "2768190eeb956043cb3f596a784372be277fe92486185ded868715de20ec6e9d"
},
"downloads": -1,
"filename": "tgapp-placeholder-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "0125cbc405920aa32f1c9c8880c5905f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27769,
"upload_time": "2018-03-29T06:00:45",
"url": "https://files.pythonhosted.org/packages/31/5f/2b46f32cbadf9184ad1bddb5d0437ab0e2a91a79beebfc088e6f2d90d185/tgapp-placeholder-1.0.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "0125cbc405920aa32f1c9c8880c5905f",
"sha256": "2768190eeb956043cb3f596a784372be277fe92486185ded868715de20ec6e9d"
},
"downloads": -1,
"filename": "tgapp-placeholder-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "0125cbc405920aa32f1c9c8880c5905f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27769,
"upload_time": "2018-03-29T06:00:45",
"url": "https://files.pythonhosted.org/packages/31/5f/2b46f32cbadf9184ad1bddb5d0437ab0e2a91a79beebfc088e6f2d90d185/tgapp-placeholder-1.0.1.tar.gz"
}
]
}