📁 Picsha Dropzone CLI
picsha-dropzone is an ultra-fast, concurrent CLI utility designed for photographers, developers, and AI researchers to upload, analyze, and catalog local media directories with Picsha AI.
It processes media files in parallel, triggers AI analysis pipelines (labels, descriptions, reverse-geocoding, and transcoding), generates a predictive Delivery CDN thumbnail set, and outputs local JSON sidecars along with a neat README.md catalog sheet.
🚀 Getting Started
Installation
Install globally via pip:
pip install picsha-dropzone
⚙️ CLI Command Reference
usage: picsha-dropzone [-h] [-k API_KEY] [-u API_URL] [-w WORKERS] [-c CONFIG] [-d] directory
Positional Arguments
directory: The path to the folder containing the images or documents you want to process. (Use.for the current active directory).
Optional Flags
-k, --api-key: Your Picsha API Key (e.g.sk_live_...). If not provided, the CLI will look for thePICSHA_API_KEYenvironment variable.-u, --api-url: The Picsha API endpoint. Defaults to the production serverhttps://api.picsha.ai. For local development testing, usehttp://localhost:3005.-w, --workers: Number of concurrent uploads and workers. Defaults to5to guarantee high speed without overloading servers.-c, --config: Customizes the ingestion pipeline. Accepts either a raw JSON string (e.g.,'{"auto_summarize": false}') or a path to a.jsonfile containing pipeline configurations.-d, --download-thumbnails: Tells the CLI to download small and medium thumbnails locally into a hidden.thumbnails/folder and link them as relative paths in the JSON sidecar instead of using CDN URLs.
🛠️ Ingestion Configuration
The -c / --config parameter maps directly to Picsha's Ingestion Pipeline schema. You can toggle individual AI capabilities on or off to balance speed, cost, and metadata richness:
| Key | Type | Default | Description |
|---|---|---|---|
auto_tag |
boolean |
true |
Runs AWS Rekognition for object, label, and face detection. |
auto_summarize |
boolean |
true |
Generates short descriptive AI captions/summaries (Claude 3 for images). |
vectorize |
boolean |
true |
Generates a Titan multimodal embedding vector for high-dimensional similarity search. |
location_lookup |
boolean |
true |
Reverse-geocodes EXIF GPS coordinates via Google Maps API. |
adaptive_stream |
boolean |
false |
Transcodes video uploads to adaptive HLS stream playlists using AWS MediaConvert. |
render_on_upload |
string |
null |
Semicolon-separated delivery parameters to pre-warm the CDN cache (e.g. "w=300; w=800"). |
Example JSON Config (settings.json):
{
"auto_summarize": true,
"auto_tag": false,
"location_lookup": true
}
💡 Practical Examples
1. Ultra-Fast Upload & Analyze (Default)
Standard run uploading files in parallel using the default API key:
export PICSHA_API_KEY="sk_live_..."
picsha-dropzone /Volumes/Photos/AdobeStock
2. Disabling Costly AI Features
Turn off summarization and Rekognition labels for a raw upload pipeline:
picsha-dropzone . -k sk_live_... -c '{"auto_summarize": false, "auto_tag": false}'
3. Local DAM Mode (Offline Thumbnails)
Downloads low-resolution thumbnails locally into the directory so other offline applications can display them immediately without network requests:
picsha-dropzone . -k sk_live_... --download-thumbnails
Creates a .thumbnails/ folder next to your photos, downloading <filename>_small.jpg (300px width) and <filename>_medium.jpg (800px width).
Metadata
Release files for picsha-dropzone 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| picsha_dropzone-1.2.1.tar.gz | 6.7 kB | Without provenance | Details for picsha_dropzone-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| picsha_dropzone-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for picsha_dropzone-1.2.1-py3-none-any.whl |
Total release size: 13.9 kB
Release files / picsha_dropzone-1.2.1.tar.gz
| Download URL | picsha_dropzone-1.2.1.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f07791bab389a98a251462f70703df8a4ee23803ef1fd87efee9e324c7ba6dba
|
|
BLAKE2b-256 checksum How to use checksums |
8c1086c8777ab25d205411a7b1ab043b76794ed17760b6dea674e9d2c90e76cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / picsha_dropzone-1.2.1-py3-none-any.whl
| Download URL | picsha_dropzone-1.2.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b788dca34e93ec5d32c1586d721eb6ea83411a4171579090a8332114bf6bb147
|
|
BLAKE2b-256 checksum How to use checksums |
b4a64b89fdb5296f46821c6f724f519b6812e1968d68fe4e56111c66200ca098
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for picsha-dropzone 1.2.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.