sphinxjp.tk0miya
This is a sphinx extension which inserts a flickr photo on your document.
Setting
Install
$ pip install sphinxjp.tk0miya
Configure Sphinx
To enable this extension, add sphinxjp.tk0miya module to extensions option in conf.py.
# Enabled extensions extensions = ['sphinxjp.tk0miya']
You should get access token from Flickr and set filckr_api_key and flickr_secret in your conf.py
flickr_api_key="<YOUR_API_KEY_PUT_HERE>" flickr_secret="<YOUR_SECRET_PUT_HERE>"
usage
.. flickr-search:: marriage
random
flickr-search put only a first image. You can set :random: as option to put a randomized image.
.. flickr-search:: marriage :random:
license
You can set search license by setting license option.
.. flickr-search:: marriage :license: 0,1
possible values are
0 All Rights Reserved
If you want to search multiple licenses, use comma-separated.
size
.. 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”
Repository
License
The BSD 2-Clause License.
Note
This extention is created for marriage of “World tk0miya “. Congratulations on your wedding!
Metadata
Release files for sphinxjp-tk0miya 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sphinxjp-tk0miya-0.0.4.tar.gz | 4.5 kB | Without provenance | Details for sphinxjp-tk0miya-0.0.4.tar.gz |
Release files / sphinxjp-tk0miya-0.0.4.tar.gz
| Download URL | sphinxjp-tk0miya-0.0.4.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3a27f008eda7efd1f5a1d5a14adda4246a844ca40dfd9d022fb1dda15b5bc70
|
|
BLAKE2b-256 checksum How to use checksums |
48addbe4ebbeb878027e4600682a7224d1021cddb93f03feeca57fef65b108b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sphinxjp-tk0miya 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.