Skip to main content

CLI to import photos from SD cards into ~/Pictures, organised by date and camera make

Project description

piximport

piximport

CLI tool to import photos from SD cards to ~/Pictures, automatically organised by EXIF date and camera make.

Destination structure

~/Pictures/
└── 2026/
    └── 01-15/
        └── SONY/
            ├── SOOC/    ← JPEG, HEIF, HIF
            ├── RAW/     ← ARW, RAF, NEF, CR2, CR3, DNG, ORF, RW2
            └── EDITED/  ← empty, ready for your editing workflow

Installation

With pipx (recommended — isolated, no changes to the global environment)

pipx install piximport

Directly from GitHub

pipx install git+https://github.com/suarez605/piximport.git
# or a specific version:
pipx install git+https://github.com/suarez605/piximport.git@v1.0.0

With pip

pip install piximport

Usage

piximport

The CLI automatically detects connected SD cards, shows an interactive day selector, and copies photos while preserving filesystem metadata.

Supported formats

Type Extensions
SOOC .jpg .jpeg .heif .heic .hif
RAW .arw .raf .nef .cr2 .cr3 .dng .orf .rw2

Requirements

  • macOS (uses /Volumes and diskutil)
  • Python 3.11+

Development

git clone https://github.com/suarez605/piximport
cd piximport
python3.11 -m venv env
source env/bin/activate
pip install -e .
python -m unittest tests -v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

piximport-1.1.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

piximport-1.1.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file piximport-1.1.1.tar.gz.

File metadata

  • Download URL: piximport-1.1.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for piximport-1.1.1.tar.gz
Algorithm Hash digest
SHA256 aa25e22746942f71a28a8dbdc52324eea9c2ea79371d6fd5d7350bc3035e7ab5
MD5 c9f9aba12ccb23e8ccc26841924cabdb
BLAKE2b-256 b1c1e17b21d5c849403495cfcb948527480c933d274e9014ee7a6c9b93748b84

See more details on using hashes here.

File details

Details for the file piximport-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: piximport-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for piximport-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f9cd370f9813cef46b5e97adc2965c1231618daf2e4982a4837c3b274dc6881
MD5 5ba2323be9f3745fa4a03b4d0d454d6a
BLAKE2b-256 ece9c9102a0f39e1173dd21ee8cda4af519eb4985bb8efcefb386c380a25cd9a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page