Skip to main content

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

Release files for python-flickr-mirroring 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-flickr-mirroring 1.0.0
File Size Uploaded
python-flickr-mirroring-1.0.0.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-flickr-mirroring 1.0.0
File Interpreter ABI Platform
python_flickr_mirroring-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.3 kB

Release files / python-flickr-mirroring-1.0.0.tar.gz

Download URL python-flickr-mirroring-1.0.0.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
01630a307b2c1a499ca0e300b011c01fd62eccad3ac4f4291114fc14ba113521
BLAKE2b-256 checksum
How to use checksums
dec8b251a23f10ead639cba608f584dd640f792e1546e854a2e107628a6897dd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_flickr_mirroring-1.0.0-py3-none-any.whl

Download URL python_flickr_mirroring-1.0.0-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a91f6aea7ce0478f71c851c759b1c5759411267b3775534bc1e55b3618bc3502
BLAKE2b-256 checksum
How to use checksums
b4619860eb48c805443226b1898efb66dd5f3e99c77bae2ac7c8be39a1aef7fa
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page