CLI for mirroring flickr photos of a specific user
Project description
Flickr Mirroring
Description
The project provide a Command-Line Interface for mirroring Flickr Photos of a Flickr user
How to use
End-users should be able to install it using pipenv and run tool with the Bash command mirror_flickr
-
Prequisite
python>=3.6
-
Installation
Setup a binary directory to install our Flickr mirroring utility
$ mkdir -p ~/.local/bin/flickr_mirroring $ cd ~/.local/bin/flickr_mirroring
Setup a Python virtual environment
$ pipenv shell --three
Install our Flickr mirroring utility
(flickr_mirroring) $ pipenv install python-flickr-mirroring
-
Usage
For example:
(flickr_mirroring) $ mirror_flickr --username manhhai --save-api-keys Enter your Flickr API key: <--Your Flickr API key--> Enter your Flickr API secret: <--Your Flickr API secret-->
You should read the docs for more information
(flickr_mirroring) $ mirror_flickr --help usage: mirror_flickr [-h] --username USERNAME [--cache-path CACHE_PATH] [--cache-directory-depth CACHE_DIRECTORY_DEPTH] [--save-api-keys] [--image-only | --info-only] [--info-level LEVEL] [--debug LEVEL] [--fifo | --lifo] Flickr Mirroring. optional arguments: -h, --help show this help message and exit --username USERNAME username of the account of a user on Flickr to mirror their photostream --cache-path CACHE_PATH The absolute path where the script saves photos downloaded from Flickr. --cache-directory-depth CACHE_DIRECTORY_DEPTH The depth of the directory structure --save-api-keys Specify whether to save the Flickr API keys for further usage --image-only Specify whether the script must only download photo's images --info-only Specify whether the script must only download photo's information --info-level LEVEL specify the level of information of a photo to fetch (value between 0 and 2) --debug LEVEL specify the logging level (value between 0 and 4, from critical to debug) --fifo specify the First-In First-Out method to mirror the user's photostream, from the oldest uploaded photo to the earliest --lifo specify the Last-In First-Out method to mirror the user's photostream, from the earliest uploaded photo
Contact
Email: long.nguyen@f4.intek.edu.vn
License
This project is licensed under the MIT License - see the LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python-flickr-mirroring-1.0.0.tar.gz.
File metadata
- Download URL: python-flickr-mirroring-1.0.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01630a307b2c1a499ca0e300b011c01fd62eccad3ac4f4291114fc14ba113521
|
|
| MD5 |
b63a7419f220228b556a91135fab82f6
|
|
| BLAKE2b-256 |
dec8b251a23f10ead639cba608f584dd640f792e1546e854a2e107628a6897dd
|
File details
Details for the file python_flickr_mirroring-1.0.0-py3-none-any.whl.
File metadata
- Download URL: python_flickr_mirroring-1.0.0-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a91f6aea7ce0478f71c851c759b1c5759411267b3775534bc1e55b3618bc3502
|
|
| MD5 |
1a22cf105746d72b39a50f9498a6f04d
|
|
| BLAKE2b-256 |
b4619860eb48c805443226b1898efb66dd5f3e99c77bae2ac7c8be39a1aef7fa
|