Skip to main content

Sphinx flicker API extention

Project description


This is a sphinx extension which inserts a flickr photo on your document.



$ pip install sphinxjp.tk0miya

Configure Sphinx

To enable this extension, add sphinxjp.tk0miya module to extensions option in

# Enabled extensions
extensions = ['sphinxjp.tk0miya']

You should get access token from Flickr and set filckr_api_key and flickr_secret in your



.. flickr-search:: marriage


flickr-search put only a first image. You can set :random: as option to put a randomized image.

.. flickr-search:: marriage


You can set search license by setting license option.

.. flickr-search:: marriage
   :license: 0,1

possible values are

If you want to search multiple licenses, use comma-separated.


.. flickr-search:: marriage
   :size: Small

Possible values are

  • “square”
  • “large Square” # note: Square is Uppwer case but large is Lower
  • “thumbnail”
  • “small”
  • “small 320”
  • “medium”
  • “medium 640”
  • “medium 800”
  • “large”
  • “original”


The BSD 2-Clause License.


This extention is created for marriage of “World tk0miya “. Congratulations on your wedding!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sphinxjp-tk0miya, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size sphinxjp-tk0miya-0.0.4.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page