{ "info": { "author": "Giacomo Montagner", "author_email": "kromg.kromg@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "==================\nPy Unsplash Source\n==================\n\npy_unsplash_source is a really really simple library to easily interface with\nthe source.unsplash.com service.\nTypical usage often looks like this::\n\n #!/usr/bin/env python\n\n from py_unsplash_source import PyUnsplashSourceClient\n\n su = PyUnsplashSourceClient(width=1920, height=1080)\n\n # Random \u221a\n image = (su.random_image()\n .daily() # Or .weekly()\n .search('nature,landscape')).get()\n\n image.save_as('/tmp/random.jpg')\n\n # Random from a specific user \u221a\n image = (su.image_from_user('gangdise')\n .from_likes()).get()\n\n image.save_as('/tmp/user.jpg')\n\n # Random from a collection \u221a\n image = su.image_from_collection(145698).get()\n\n image.save_as('/tmp/collection.jpg')\n\n # Random from featured collection \u221a\n image = (su.image_from_featured()\n .search('nature,landscape', 'sunset')).get()\n\n image.save_as('/tmp/featured.jpg')\n\n # Speficic image \u221a\n image = su.image(\"ieic5Tq8YMk\").get()\n\n image.save_as('/tmp/item.jpg')\n\n\n\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/kromg/py-unsplash-source", "keywords": "", "license": "GNU GENERAL PUBLIC LICENSE Version 3", "maintainer": "", "maintainer_email": "", "name": "py-unsplash-source", "package_url": "https://pypi.org/project/py-unsplash-source/", "platform": "POSIX", "project_url": "https://pypi.org/project/py-unsplash-source/", "project_urls": { "Homepage": "https://github.com/kromg/py-unsplash-source" }, "release_url": "https://pypi.org/project/py-unsplash-source/0.9.0/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Python library to get pictures from source.unsplash.com", "version": "0.9.0" }, "last_serial": 5494215, "releases": { "0.1.0.dev0": [ { "comment_text": "", "digests": { "md5": "407a9690c4f58c4c1d475ee135a1f5de", "sha256": "99de907039cd137d6f219eba51610511f8328e212d009c4d9af036d0960efadf" }, "downloads": -1, "filename": "py_unsplash_source-0.1.0.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "407a9690c4f58c4c1d475ee135a1f5de", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34367, "upload_time": "2019-07-05T21:05:49", "url": "https://files.pythonhosted.org/packages/bb/f2/2865b3965ba6f0d2929e8bd5e1e5e0e9c6a969eabaee17ea5f4398c035ec/py_unsplash_source-0.1.0.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9f4f1e196322f02135a2f90865fa0a12", "sha256": "17ee7404dbf624b02c5e7486c961a2690648b0f2b853e7c30345ee2a354a3d0c" }, "downloads": -1, "filename": "py_unsplash_source-0.1.0.dev0.tar.gz", "has_sig": false, "md5_digest": "9f4f1e196322f02135a2f90865fa0a12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6619, "upload_time": "2019-07-05T21:05:51", "url": "https://files.pythonhosted.org/packages/10/b8/4fa0a6ba7c70d49eb413137c02106d40e6c61d81c40dff4aa88b1fd037ec/py_unsplash_source-0.1.0.dev0.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "70cd0a00bda4592f63b83459e14bedfd", "sha256": "d44cc6d9a580e6da9af4434bb7fa1e447a80161536f0a204fb7745877fc74bc1" }, "downloads": -1, "filename": "py_unsplash_source-0.9.0-py3-none-any.whl", "has_sig": false, "md5_digest": "70cd0a00bda4592f63b83459e14bedfd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34378, "upload_time": "2019-07-06T07:23:01", "url": "https://files.pythonhosted.org/packages/17/ed/90bd3b060ed79fd29b64c71d420735e8b5a8831346759592cf2ba0fb78f1/py_unsplash_source-0.9.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f76e9eac5535294d7de9cf781e352061", "sha256": "e07417db8e43ab70c775702b07e0fcef6b344eba169485ee67389526505bb0d5" }, "downloads": -1, "filename": "py_unsplash_source-0.9.0.tar.gz", "has_sig": false, "md5_digest": "f76e9eac5535294d7de9cf781e352061", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6642, "upload_time": "2019-07-06T07:23:04", "url": "https://files.pythonhosted.org/packages/e8/42/40bd19fe4d5b946fee738e089451f25b5dfbe4ff0e8c650b57c911f8274c/py_unsplash_source-0.9.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "70cd0a00bda4592f63b83459e14bedfd", "sha256": "d44cc6d9a580e6da9af4434bb7fa1e447a80161536f0a204fb7745877fc74bc1" }, "downloads": -1, "filename": "py_unsplash_source-0.9.0-py3-none-any.whl", "has_sig": false, "md5_digest": "70cd0a00bda4592f63b83459e14bedfd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34378, "upload_time": "2019-07-06T07:23:01", "url": "https://files.pythonhosted.org/packages/17/ed/90bd3b060ed79fd29b64c71d420735e8b5a8831346759592cf2ba0fb78f1/py_unsplash_source-0.9.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f76e9eac5535294d7de9cf781e352061", "sha256": "e07417db8e43ab70c775702b07e0fcef6b344eba169485ee67389526505bb0d5" }, "downloads": -1, "filename": "py_unsplash_source-0.9.0.tar.gz", "has_sig": false, "md5_digest": "f76e9eac5535294d7de9cf781e352061", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6642, "upload_time": "2019-07-06T07:23:04", "url": "https://files.pythonhosted.org/packages/e8/42/40bd19fe4d5b946fee738e089451f25b5dfbe4ff0e8c650b57c911f8274c/py_unsplash_source-0.9.0.tar.gz" } ] }