Skip to main content

No project description provided

Project description

Photos-Drive-CLI-Client

PyPI - Version check-code-coverage

Description

The Photos-Drive-CLI-Client is the cli client for Photos Drive. This CLI helps set up your infrastructure, syncs, adds, and delete your pictures and videos from your machine to Photos Drive.

This CLI will never delete content from your machine - it should only mirror the content from your machine to the cloud.

Table of Contents

Getting Started

Refer to this doc on step-by-step instructions on how to get started with the Photos Drive CLI.

Getting Started to Contribute

  1. Ensure Python3, Pip, and Poetry are installed on your machine

  2. Install dependencies by running:

    poetry install
    
  3. To lint your code, run:

    poetry run mypy . && poetry run flake8 && poetry run isort . && poetry run black .
    
  4. To run all tests and code coverage, run:

    poetry run coverage run  --source=photos_drive -m pytest tests/ && poetry run coverage report -m
    
  5. To run tests and code coverage for a particular test file, run:

    poetry run coverage run --source=photos_drive -m pytest <insert-file-path> && poetry run coverage report -m
    

    For example,

    poetry run coverage run --source=photos_drive -m pytest tests/backup/test_backup_photos.py && poetry run coverage report -m
    
  6. To publish a new version of the app:

    1. First, bump up the package version by running:

      poetry version [patch|minor|major]
      

      For instance, if the app is on 0.1.0 and you want to increment it to version 0.1.1, run:

      poetry version patch
      
    2. Then, create a pull request with the new version number.

    3. Once the pull request is submitted, it will publish a new version of the app on https://pypi.org/project/photos_drive_cli_client/.

Usage

Please note that this project is used for educational purposes and is not intended to be used commercially. We are not liable for any damages/changes done by this project.

Credits

Emilio Kartono, who made the entire project.

CLI images were provided by https://ray.so/ in Ice theme.

License

This project is protected under the GNU licence. Please refer to the root project's LICENSE.txt for more information.

Project details


Download files

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

Source Distribution

photos_drive-8.2.5.tar.gz (68.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

photos_drive-8.2.5-py3-none-any.whl (121.4 kB view details)

Uploaded Python 3

File details

Details for the file photos_drive-8.2.5.tar.gz.

File metadata

  • Download URL: photos_drive-8.2.5.tar.gz
  • Upload date:
  • Size: 68.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.13.9 Linux/6.11.0-1018-azure

File hashes

Hashes for photos_drive-8.2.5.tar.gz
Algorithm Hash digest
SHA256 037486538d50e40f0da42a1d7e6d8983f4a5eea12ca2a89e9aa03e8f2ba3a0c8
MD5 f29d3a635fcc8742391d49ef59d5c289
BLAKE2b-256 a4096bbc8da69908d19b6380f12d9769cc8143ea637efa011266cb41059ff65e

See more details on using hashes here.

File details

Details for the file photos_drive-8.2.5-py3-none-any.whl.

File metadata

  • Download URL: photos_drive-8.2.5-py3-none-any.whl
  • Upload date:
  • Size: 121.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.13.9 Linux/6.11.0-1018-azure

File hashes

Hashes for photos_drive-8.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e4f9169400aa2c2bb36dd3eb0bcbb7349b6ca66cb9a15ba142db917c63157c68
MD5 d512a9b33925380d80013d675939992f
BLAKE2b-256 0b87269366058bcee4fd28c01711a6238d9a0d8ef8af2fe709d8718667172512

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page