PutPlace Client
A command-line tool for scanning directories and uploading file metadata to a PutPlace server.
Installation
pip install putplace-client
Quick Start
# Scan a directory and send metadata to server
ppclient /path/to/scan --api-key YOUR_API_KEY
# With custom server URL
ppclient /path/to/scan --url http://your-server:8000/put_file --api-key YOUR_API_KEY
# Dry run (don't send to server)
ppclient /path/to/scan --dry-run
# With exclude patterns
ppclient /path/to/scan --exclude .git --exclude "*.log" --exclude __pycache__
Features
- Recursively scans directories
- Calculates SHA256 hashes for each file
- Auto-detects hostname and IP address
- Supports exclude patterns (wildcards, directory names)
- Progress bars and colored output
- Dry-run mode for testing
- Configuration file support
Configuration
ppclient supports configuration via:
- Command-line arguments
- Environment variables (
PUTPLACE_EMAIL,PUTPLACE_PASSWORD,PUTPLACE_API_KEY) - Config files (
~/ppclient.confor./ppclient.conf)
Config file example
[DEFAULT]
url = http://your-server:8000/put_file
api-key = your-api-key
exclude = .git
exclude = *.log
exclude = __pycache__
Command-line Options
ppclient [OPTIONS] PATH
Arguments:
PATH Directory or file to scan
Options:
--url URL Server URL (default: http://localhost:8000/put_file)
--api-key KEY API key for authentication
--email EMAIL Email for JWT authentication
--password PASSWORD Password for JWT authentication
--exclude PATTERN Exclude pattern (can be repeated)
--hostname NAME Override auto-detected hostname
--ip ADDRESS Override auto-detected IP
--dry-run Scan without sending to server
--verbose, -v Verbose output
--config FILE Config file path
--help Show help message
Related
- putplace-server - The PutPlace API server
License
Apache-2.0
Metadata
Release files for putplace-client 0.8.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| putplace_client-0.8.4.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| putplace_client-0.8.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.5 kB
Release files / putplace_client-0.8.4.tar.gz
| Download URL | putplace_client-0.8.4.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
312106346edb47586f36d4da162a2f1421d4cc60ed668bd5cb1aeeed70cab2e1
|
|
BLAKE2b-256 checksum How to use checksums |
a7118cf8aeddd82d611930a9fb3df7a2eb47107dbeae9e8709d63d48c7262af5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 5, 2025.
Transparency logRelease files / putplace_client-0.8.4-py3-none-any.whl
| Download URL | putplace_client-0.8.4-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e4936e5a5469c1d0860d496f33a397632fb98de23b1a9f7cf73f3d5a47fec40
|
|
BLAKE2b-256 checksum How to use checksums |
fde417f9e246b7754274250c0ed812abc2c9664eaf53a4a8c1c369475e527610
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 5, 2025.
Transparency log