{ "info": { "author": "Ren\u00e9 Tanczos", "author_email": "gravmatt@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Artistic Software", "Topic :: Terminals" ], "description": "# random-cat\n\nrandom-cat is a amazing modul to get cat images. This Project won't be\nposible without the great Cat API (http://thecatapi.com).\n\n## Big Thanks to the great Cat API\n\nGo and visit [http://thecatapi.com](http://thecatapi.com)\n\n![alt text](http://thecatapi.com/api/images/get?type=gif \"See? amazing!\")\n\n**Python 2 and 3 compatible**\n\n## Installation\n\nInstall through **pip**.\n\n```\n$ pip install random-cat\n```\n\nor get from source\n\n```\n$ git clone https://github.com/gravmatt/random-cat\n$ cd random-cat\n$ python setup.py install\n```\n\n## Usage\n\nThe cat module has just one function **getCat()** with three optional arguments.\n\n### Arguments\n\n**directory** - default is the current directory\n\n**filename** - default is a unique id\n\n**format** - default is _png_. optional _png_, _jpg_ and _gif_ is available\n\n```\nimport cat\n\n# cat.getCat(directory=None, filename=None, format='png')\n\ncat.getCat(directory='/users/tor', filename='cat', format='gif')\n\n# /users/tor/cat.gif\n```\n\nThe function return the image name (absolute path if directory is specified) of the image.\n\n### Command Line\n\nYou can also request an image on the terminal.\n\n```\n$ randomcat [format] [file]\n\n# Example:\n\n$ randomcat gif /users/tor/cat.gif\n```\n\nThe two arguments _format_ and _file_ are optional.\n\nYou can select the formats _png_, _jpg_ or _gif_.\n\nThe command return the filename/absolute path of the image to the standard output (stdout).\n\n### Licence\n\nThe MIT License (MIT)", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gravmatt/random-cat", "keywords": "cat kitten fun", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "random-cat", "package_url": "https://pypi.org/project/random-cat/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/random-cat/", "project_urls": { "Homepage": "https://github.com/gravmatt/random-cat" }, "release_url": "https://pypi.org/project/random-cat/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Modul/Command Line Tool to get cat images", "version": "1.0.1" }, "last_serial": 1988153, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "42e3a89a2dd6aefff68bf00a66cbd2c7", "sha256": "dd40e37a7ef0f3925e8646c2e6f2b0ebfba5d498c71696fd86558d9f33d16b0a" }, "downloads": -1, "filename": "random-cat-1.0.0.tar.gz", "has_sig": false, "md5_digest": "42e3a89a2dd6aefff68bf00a66cbd2c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2484, "upload_time": "2016-01-22T09:48:20", "url": "https://files.pythonhosted.org/packages/5f/92/0f807af4bfbffb5a9d4a960a327e96d00981ab349e37f4f0d6e660c2e0dd/random-cat-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "aa8ab5dd06f443a9380570c0abf35c44", "sha256": "de684000ef09616df507f961c8700a41ba792ba0a3e83b20f3e440d2c1024e26" }, "downloads": -1, "filename": "random_cat-1.0.1-py2.7.egg", "has_sig": false, "md5_digest": "aa8ab5dd06f443a9380570c0abf35c44", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4059, "upload_time": "2016-03-03T19:57:23", "url": "https://files.pythonhosted.org/packages/ca/09/f1df1d0553d577351a9bf0ea54e53a6f918d914a304ea024b90528c10a28/random_cat-1.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "cceb6db9b970c44676d42f8c62029331", "sha256": "22b55c6ba83ec2046af083ba15ee36538da366a4935fb49117ec64250993c70d" }, "downloads": -1, "filename": "random_cat-1.0.1-py3.4.egg", "has_sig": false, "md5_digest": "cceb6db9b970c44676d42f8c62029331", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 4101, "upload_time": "2016-03-03T19:57:29", "url": "https://files.pythonhosted.org/packages/e5/15/89163a68640d37632178d268b9bba783a06775ab7e9cd9ab64dffb3f8bf8/random_cat-1.0.1-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "2d86f6ecfcc5799f5c2ecb7411b7b57e", "sha256": "8b7df9382665696333d3a1a5e95bc4142d0b4b0c98b1b6b24c541143ffa820ca" }, "downloads": -1, "filename": "random-cat-1.0.1.tar.gz", "has_sig": false, "md5_digest": "2d86f6ecfcc5799f5c2ecb7411b7b57e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2982, "upload_time": "2016-03-03T19:57:18", "url": "https://files.pythonhosted.org/packages/3d/bb/6d2782f55b6d8c1cd57174440d005699e9f307bf6a6a61aab2d50abe9830/random-cat-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aa8ab5dd06f443a9380570c0abf35c44", "sha256": "de684000ef09616df507f961c8700a41ba792ba0a3e83b20f3e440d2c1024e26" }, "downloads": -1, "filename": "random_cat-1.0.1-py2.7.egg", "has_sig": false, "md5_digest": "aa8ab5dd06f443a9380570c0abf35c44", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4059, "upload_time": "2016-03-03T19:57:23", "url": "https://files.pythonhosted.org/packages/ca/09/f1df1d0553d577351a9bf0ea54e53a6f918d914a304ea024b90528c10a28/random_cat-1.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "cceb6db9b970c44676d42f8c62029331", "sha256": "22b55c6ba83ec2046af083ba15ee36538da366a4935fb49117ec64250993c70d" }, "downloads": -1, "filename": "random_cat-1.0.1-py3.4.egg", "has_sig": false, "md5_digest": "cceb6db9b970c44676d42f8c62029331", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 4101, "upload_time": "2016-03-03T19:57:29", "url": "https://files.pythonhosted.org/packages/e5/15/89163a68640d37632178d268b9bba783a06775ab7e9cd9ab64dffb3f8bf8/random_cat-1.0.1-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "2d86f6ecfcc5799f5c2ecb7411b7b57e", "sha256": "8b7df9382665696333d3a1a5e95bc4142d0b4b0c98b1b6b24c541143ffa820ca" }, "downloads": -1, "filename": "random-cat-1.0.1.tar.gz", "has_sig": false, "md5_digest": "2d86f6ecfcc5799f5c2ecb7411b7b57e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2982, "upload_time": "2016-03-03T19:57:18", "url": "https://files.pythonhosted.org/packages/3d/bb/6d2782f55b6d8c1cd57174440d005699e9f307bf6a6a61aab2d50abe9830/random-cat-1.0.1.tar.gz" } ] }