flickr2markdown-0.3
توضیحات
A tool to get a number of flickr uploads or single pictures and create markdown strings out of them
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flickr2markdown-0.3 |
| نام | flickr2markdown |
| نسخه کتابخانه | 0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Marvin Steadfast |
| ایمیل نویسنده | marvin@xsteadfastx.org |
| آدرس صفحه اصلی | https://github.com/xsteadfastx/flickr2markdown |
| آدرس اینترنتی | https://pypi.org/project/flickr2markdown/ |
| مجوز | MIT |
Fetches last Flickr uploads and convert them to markdown syntax for using it in a markdown blogging environment. For example with `pelican <http://getpelican.com>`_.::
Usage: flickr2markdown [OPTIONS]
Options:
--version Show the version and exit.
--user TEXT Flickr Username
--count INTEGER Number of last pictures to fetch
--id TEXT ID of a single image
--url TEXT URL of a single image
--size [small|medium|large] Image size: small, medium, large
--help Show this message and exit.
Installation
------------
``pip install flickr2markdown``
Config
------
The config is needed for the flickr API key. It needs to be located in ``~/.flickr2markdown``. You can obtain a flickr API key `here <https://www.flickr.com/services/apps/create/apply>`_.
Example::
[API]
key = abc123
[Defaults]
user = marvinxsteadfast
size = large
Example
-------
Input::
$ flickr2markdown --user marvinxsteadfast --count 5
Output::
[](https://www.flickr.com/photos/8810721@N07/26272005452/)
[](https://www.flickr.com/photos/8810721@N07/25761633043/)
[](https://www.flickr.com/photos/8810721@N07/26364375095/)
[](https://www.flickr.com/photos/8810721@N07/26091495910/)
[](https://www.flickr.com/photos/8810721@N07/25761607033/)
نحوه نصب
نصب پکیج whl flickr2markdown-0.3:
pip install flickr2markdown-0.3.whl
نصب پکیج tar.gz flickr2markdown-0.3:
pip install flickr2markdown-0.3.tar.gz