No project description provided
Project description
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
-
Install dependencies by running:
uv sync -
To lint your code, run:
uv run mypy ./src && uv run flake8 ./src && uv run isort ./src && uv run black ./src
-
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file photos_drive-9.1.3.tar.gz.
File metadata
- Download URL: photos_drive-9.1.3.tar.gz
- Upload date:
- Size: 67.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6447768cae08a790938644ccfc4611d1db890f972a2305e8532587c85ddb555
|
|
| MD5 |
f3a4953731a1d71dfe092c99c72696ea
|
|
| BLAKE2b-256 |
1792f98223bd5ac6a119d82f643694aa8f7f605f03f5f0132528a1aba9405b4c
|
File details
Details for the file photos_drive-9.1.3-py3-none-any.whl.
File metadata
- Download URL: photos_drive-9.1.3-py3-none-any.whl
- Upload date:
- Size: 122.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ccdcf7dcb6326f98e90c3fd1d7590fadf178bf1c15ae582e8d87edc5f04dc4e
|
|
| MD5 |
53fbf3b633d0cfc09f1090c86e085dab
|
|
| BLAKE2b-256 |
80e5d81554488dfc1bf64d506eb3a0ed0075e56fe4ba6deb2bd37961d0867ae5
|