Photos-Drive-CLI-Client
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
-
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
-
Install dependencies by running:
uv sync -
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
-
To run all tests and code coverage, run:
uv run coverage run --source=photos_drive -m pytest tests/ && uv run coverage report -m
-
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
-
To publish a new version of the app:
-
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
-
Then, create a pull request with the new version number.
-
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)
| File | Size | Uploaded | |
|---|---|---|---|
| photos_drive-9.2.2.tar.gz | 68.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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}
|