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 Python, UV, Exiftool, and Libmagic are installed on your machine

    Note: if you are using homebrew, you can install them via:

    brew install uv exiftool libmagic
    
  2. Install dependencies by running:

    uv sync
    
  3. To lint your code, run:

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

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

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

    For example,

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

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

      uv version --bump [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:

      uv version --bump 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-9.2.2.tar.gz (68.1 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-9.2.2-py3-none-any.whl (125.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: photos_drive-9.2.2.tar.gz
  • Upload date:
  • Size: 68.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for photos_drive-9.2.2.tar.gz
Algorithm Hash digest
SHA256 4694c4352becf6d06bca3162a67f1c106aebf23d8b8d95c202c4e88afafc23fa
MD5 4184d319f3bffb71a5da043da730afc8
BLAKE2b-256 577c251b1df5643924ca28b78c0661635459ec62dc0622d8c12e9c77818f7714

See more details on using hashes here.

File details

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

File metadata

  • Download URL: photos_drive-9.2.2-py3-none-any.whl
  • Upload date:
  • Size: 125.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for photos_drive-9.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 919c99dc6432d575ca1e24380a2eef42b64b4998ecece32511576f8d23e99e51
MD5 73a0af946ddea1f2dc03975f46c6b9b5
BLAKE2b-256 3b632fb938907b88b8b13616840390fbb9b03bbf23ceed313765836266bd7cc8

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