Skip to main content

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.

Metadata

Release files for photos_drive 9.2.2

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

Source distribution (sdist)

Source distribution for photos_drive 9.2.2
File Size Uploaded
photos_drive-9.2.2.tar.gz 68.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for photos_drive 9.2.2
File Interpreter ABI Platform
photos_drive-9.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 193.2 kB

Release files / photos_drive-9.2.2.tar.gz

Download URL photos_drive-9.2.2.tar.gz
Size 68.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4694c4352becf6d06bca3162a67f1c106aebf23d8b8d95c202c4e88afafc23fa
BLAKE2b-256 checksum
How to use checksums
577c251b1df5643924ca28b78c0661635459ec62dc0622d8c12e9c77818f7714
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / photos_drive-9.2.2-py3-none-any.whl

Download URL photos_drive-9.2.2-py3-none-any.whl
Size 125.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
919c99dc6432d575ca1e24380a2eef42b64b4998ecece32511576f8d23e99e51
BLAKE2b-256 checksum
How to use checksums
3b632fb938907b88b8b13616840390fbb9b03bbf23ceed313765836266bd7cc8
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

9.2.2 This release

2 release files

9.2.1

2 release files

9.2.0

2 release files

9.1.4

2 release files

9.1.3

2 release files

9.1.2

2 release files

9.1.1

2 release files

9.1.0

2 release files

9.0.0

2 release files

8.2.8

2 release files

8.2.7

2 release files

8.2.6

2 release files

8.2.5

2 release files

8.2.4

2 release files

8.2.3

2 release files

8.2.2

2 release files

8.2.1

2 release files

8.2.0

2 release files

8.1.0

2 release files

8.0.6

2 release files

8.0.5

2 release files

8.0.4

2 release files

8.0.3

2 release files

8.0.2

2 release files

8.0.1

2 release files

8.0.0

2 release files

7.0.0

2 release files

6.1.2

2 release files

6.1.1

2 release files

6.1.0

2 release files

6.0.0

2 release files

5.0.0

2 release files

4.0.0

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