{ "info": { "author": "Chris Streeter", "author_email": "chris@chrisstreeter.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing" ], "description": "Pelican Flickr Tag\n==================\n\nPelican Flickr Tag is a library to make it easy to display Flickr images in your Pelican_ blogs.\n\n\nInstallation\n------------\n\nTo install the plugin, simply:\n\n.. code-block:: bash\n\n $ pip install pelican-flickrtag\n\nThen add a bit of code to your blog configuration:\n\n.. code-block:: python\n\n PLUGINS = [\n # ...\n 'pelican_flickrtag',\n # ...\n ]\n\n\nUsage\n-----\n\nIn your articles, just add lines to your posts that look like:\n\n.. code-block:: html\n\n [flickr:id=5128831453]\n\nThis will tell the plugin to insert the image with id ``8152886277`` into your post. By default the resulting HTML will look like:\n\n.. code-block:: html\n\n

\n \n \"Sand\n \n Sand Dunes\n

\n\nIf you want a custom title, you can use:\n\n.. code-block:: html\n\n [flickr:id=5128831453,title=Sand dunes at Inyo, California]\n\nIf you want to change what the output looks like, you can create your own Jinja template and stick it in your theme directory. Then override the ``FLICKR_TAG_TEMPLATE_NAME`` setting to point to your template. See below for more information.\n\n\nSettings\n--------\n\n``FLICKR_TAG_TEMPLATE_NAME`` - Specifies the name of the template to be used to render each replaced tag. This uses Pelican's template lookup to find the name of the template. If the template is named `flickrtag.html`, then this setting should be set to `flickrtag`. (Optional) The default template looks like:\n\n.. code-block:: html\n\n

\n \n \"{{title}}\"\n\n \n {{title}}\n

\n\n``FLICKR_TAG_CACHE_LOCATION`` - The cache location which stores the looked up photo information. This dramatically speeds up building of the site and permits you to do it offline as well. Defaults to `/tmp/com.chrisstreeter.flickrtag-images.cache` (Optional)\n\n``FLICKR_TAG_INCLUDE_DIMENSIONS`` - Whether to include the dimensions on the image tag generated by the template. Default is ``False``. (Optional)\n\n``FLICKR_TAG_IMAGE_SIZE`` - The size alias used if ``FLICKR_TAG_INCLUDE_DIMENSIONS`` is set to ``True``. Default is 'Medium 640'. See the `Flickr getSizes documentation`_ for the valid values. (Optional)\n\n\nFlickr Settings\n---------------\n\nThe following two settings are required. In order to set them up, you will need to set up a Flickr API key. You can do this by `creating an app on Flickr`_. If the blog is a personal blog, then apply for a non-commercial key. Once you've got your key and secret, add them to your `Pelican configuration`_.\n\n``FLICKR_API_KEY`` - The API key for your app to access the Flickr API. (Required)\n\n``FLICKR_API_SECRET`` - The API secret for your app to access the Flickr API. (Required)\n\n\nFlickr Tokens\n-------------\n\nA Flickr API token is only required if you want to access photos that are private to your account and cannot be gotten through the public API. I'll assume you know what you're doing and how to get a Flickr API token for this setting.\n\n``FLICKR_API_TOKEN`` - The API token to access the Flickr API. (Optional)\n\n\nNotes\n-----\n\nUses portions of code from `flickrpy`_.\n\n\nLicense\n-------\n\nUses the `MIT`_ license.\n\n\n.. _Pelican: http://blog.getpelican.com/\n.. _`Pelican configuration`: http://docs.getpelican.com/en/latest/settings.html\n.. _flickrpy: http://code.google.com/p/flickrpy\n.. _MIT: http://opensource.org/licenses/MIT\n.. _`creating an app on Flickr`: http://www.flickr.com/services/apps/create/apply/\n.. _`Flickr getSizes documentation`: http://www.flickr.com/services/api/flickr.photos.getSizes.htm\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/streeter/pelican-flickrtag", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pelican-flickrtag", "package_url": "https://pypi.org/project/pelican-flickrtag/", "platform": "", "project_url": "https://pypi.org/project/pelican-flickrtag/", "project_urls": { "Homepage": "https://github.com/streeter/pelican-flickrtag" }, "release_url": "https://pypi.org/project/pelican-flickrtag/0.6.0/", "requires_dist": null, "requires_python": "", "summary": "Display Flickr images easily in your Pelican articles.", "version": "0.6.0" }, "last_serial": 2832847, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e6c1375e59421d2082c87166673a7a54", "sha256": "12248bd27997efca9c1315e122c7eff7346222492b1ab87d2b24da1c9a27fb09" }, "downloads": -1, "filename": "pelican-flickrtag-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e6c1375e59421d2082c87166673a7a54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15914, "upload_time": "2013-01-13T17:48:46", "url": "https://files.pythonhosted.org/packages/5b/05/053e51221220206c0271f25d0e6d69f8c852e5846f304a21f7cbeb590cd9/pelican-flickrtag-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3a63413f50532847c14ac481d3482392", "sha256": "6dfa1a35c04c092e61bfe12f63876fe112bf661fdb8dc091244a3e4ce5357546" }, "downloads": -1, "filename": "pelican-flickrtag-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3a63413f50532847c14ac481d3482392", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16560, "upload_time": "2013-01-15T05:07:24", "url": "https://files.pythonhosted.org/packages/16/6d/d6c5cf7d1cc21aff2dbd4a33bec4ef73e2c939a74038c8e4dcfc2ec946fb/pelican-flickrtag-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "a5edd5eca4ea53d74067ca2a74ed3982", "sha256": "95caf0dd1813f368a869471d42e868b40617b6eea1857a8742520a89745a8838" }, "downloads": -1, "filename": "pelican-flickrtag-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a5edd5eca4ea53d74067ca2a74ed3982", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16566, "upload_time": "2013-01-15T06:36:02", "url": "https://files.pythonhosted.org/packages/fb/6d/6e5aa83f36a4c70fef6bdaf50ba714eb4920876aae322e1f6ad5859d5029/pelican-flickrtag-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "6456cb15b7cce44b5c35f31ae65587dd", "sha256": "ddf2036b3f7e001a296cbdc7c1280c9966478e5be34f0c399a36e0a6072d31da" }, "downloads": -1, "filename": "pelican-flickrtag-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6456cb15b7cce44b5c35f31ae65587dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16789, "upload_time": "2013-01-18T21:33:01", "url": "https://files.pythonhosted.org/packages/fd/27/cd205f41eb5f711e1735c7fd56a8c3e67742cb1370f0736f095613c8a337/pelican-flickrtag-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "dc70b2c924084d342541f3c3cf8f2e82", "sha256": "4bf0f7c41e41dba35a18208b6e3c4c4a0352b645bf45986469dfb8239575b7f3" }, "downloads": -1, "filename": "pelican-flickrtag-0.3.1.tar.gz", "has_sig": false, "md5_digest": "dc70b2c924084d342541f3c3cf8f2e82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16842, "upload_time": "2013-01-18T21:41:00", "url": "https://files.pythonhosted.org/packages/ba/d2/00f7dcc1d19137f30c4975286d2ebbe02883928c3c6b89f812cd0cff0976/pelican-flickrtag-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "c6e8a37c57f49db9756da3621e02b2c6", "sha256": "36f7e5b794b0acdbf819ea5041951edde2ca4d1f51eaac9a5b834d8854bd4a23" }, "downloads": -1, "filename": "pelican-flickrtag-0.3.2.tar.gz", "has_sig": false, "md5_digest": "c6e8a37c57f49db9756da3621e02b2c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17181, "upload_time": "2013-01-18T22:30:24", "url": "https://files.pythonhosted.org/packages/cb/1e/28ba209f186e66f619263dd7f5253a0636c071e76c12847babf4ce3e81f0/pelican-flickrtag-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "23a601a48da06fccada6dbae3ea5f545", "sha256": "faf9691ab1ac4709e62640b49ba0c07704d6d24f809a8291469ca21a454d40a4" }, "downloads": -1, "filename": "pelican-flickrtag-0.4.0.tar.gz", "has_sig": false, "md5_digest": "23a601a48da06fccada6dbae3ea5f545", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16642, "upload_time": "2014-10-07T22:06:28", "url": "https://files.pythonhosted.org/packages/30/4d/4716cfc8e815912c75ec717d4bcbe17302d7fd2382f9909d9c83c6a562f0/pelican-flickrtag-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "562a74add220201d96e471f957354762", "sha256": "5a611e7abd2f5be5cf8699c39d99751d47113d29cc1eab25d3a42d80c0adf6f5" }, "downloads": -1, "filename": "pelican_flickrtag-0.4.1-py2-none-any.whl", "has_sig": false, "md5_digest": "562a74add220201d96e471f957354762", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19226, "upload_time": "2014-12-27T04:55:53", "url": "https://files.pythonhosted.org/packages/5a/d0/e78a97612bf81644a23ab396fee4487db6e1e11350a513483d92f8a8ce09/pelican_flickrtag-0.4.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a4a57e4cc32dd3100fa5b2d2b193a05f", "sha256": "b4a28404a557a6bd01beea18842587b096156ddbe19a99811a1399b2c71bea6e" }, "downloads": -1, "filename": "pelican-flickrtag-0.4.1.tar.gz", "has_sig": false, "md5_digest": "a4a57e4cc32dd3100fa5b2d2b193a05f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16631, "upload_time": "2014-10-07T22:18:44", "url": "https://files.pythonhosted.org/packages/26/d8/a8c101447e5b94cbb72bbc8faab162025cc997910f0b64b15a0707cd3c63/pelican-flickrtag-0.4.1.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "8e3a4a1718cb834a74b1a99425a08d07", "sha256": "19da2cbad9f5d3400913c6cb111b899a7e663de43563a86de50ae3f2e02e93fd" }, "downloads": -1, "filename": "pelican_flickrtag-0.5.0-py2-none-any.whl", "has_sig": false, "md5_digest": "8e3a4a1718cb834a74b1a99425a08d07", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19222, "upload_time": "2014-12-27T04:59:08", "url": "https://files.pythonhosted.org/packages/2f/af/671de0a7cc1d80193e57987f97c06d282d6aed9d913a78528261bfa2cf21/pelican_flickrtag-0.5.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b713af7001b113c5cb151143bdb82f6", "sha256": "2c874d59d10efad96689b88b30614fd9bf38244583c7c7e42e3c2115ae3a0049" }, "downloads": -1, "filename": "pelican-flickrtag-0.5.0.tar.gz", "has_sig": false, "md5_digest": "4b713af7001b113c5cb151143bdb82f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16628, "upload_time": "2014-12-27T04:54:53", "url": "https://files.pythonhosted.org/packages/84/18/2c16659df7a553a0f65425e82f9f2d83d737c020b68835b8e61aa0a412d5/pelican-flickrtag-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "9a6be5f51737c4f1022ea325273db384", "sha256": "0c27b1193c14b1e7d0c92b14a66320e8b441c42f20bbd621100890bb2aa9ed10" }, "downloads": -1, "filename": "pelican_flickrtag-0.6.0-py2-none-any.whl", "has_sig": false, "md5_digest": "9a6be5f51737c4f1022ea325273db384", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19373, "upload_time": "2017-04-26T20:36:46", "url": "https://files.pythonhosted.org/packages/bd/96/d94efeea56ae72eb96624154ed34efb0860aa195a3cc3943fa29d2eaab63/pelican_flickrtag-0.6.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd8c0c0477457c8a885a302ac79c6e62", "sha256": "ad42b7373dad5e0cd7304505af04ee2e14dd12d8ea64002d9f154c2a093566d2" }, "downloads": -1, "filename": "pelican-flickrtag-0.6.0.tar.gz", "has_sig": false, "md5_digest": "cd8c0c0477457c8a885a302ac79c6e62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16693, "upload_time": "2017-04-26T20:36:44", "url": "https://files.pythonhosted.org/packages/0e/c8/02fba6449aaa7270240cf4b85a5538824d748c573e2d726345ebe40b9215/pelican-flickrtag-0.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a6be5f51737c4f1022ea325273db384", "sha256": "0c27b1193c14b1e7d0c92b14a66320e8b441c42f20bbd621100890bb2aa9ed10" }, "downloads": -1, "filename": "pelican_flickrtag-0.6.0-py2-none-any.whl", "has_sig": false, "md5_digest": "9a6be5f51737c4f1022ea325273db384", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19373, "upload_time": "2017-04-26T20:36:46", "url": "https://files.pythonhosted.org/packages/bd/96/d94efeea56ae72eb96624154ed34efb0860aa195a3cc3943fa29d2eaab63/pelican_flickrtag-0.6.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd8c0c0477457c8a885a302ac79c6e62", "sha256": "ad42b7373dad5e0cd7304505af04ee2e14dd12d8ea64002d9f154c2a093566d2" }, "downloads": -1, "filename": "pelican-flickrtag-0.6.0.tar.gz", "has_sig": false, "md5_digest": "cd8c0c0477457c8a885a302ac79c6e62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16693, "upload_time": "2017-04-26T20:36:44", "url": "https://files.pythonhosted.org/packages/0e/c8/02fba6449aaa7270240cf4b85a5538824d748c573e2d726345ebe40b9215/pelican-flickrtag-0.6.0.tar.gz" } ] }