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.2.0.tar.gz (11.8 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.2.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for piximport-1.2.0.tar.gz
Algorithm Hash digest
SHA256 95bfb7f9cd20e5af4117f21b05ce5884004d0ddf0f9206646a4d5929cf2755ee
MD5 e971b84c4661fe2f5720d380f0eb65e5
BLAKE2b-256 2d5176344466e399a9fb4289b238b17a31c8fd98d6a6422dfec101924baea84b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: piximport-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07850f39a8af32e3da2bb3a8ffca7ed2cdc6ae96136b460dadb567d31f89f0e8
MD5 6016673b9ecd8124232c913ee4a8bde2
BLAKE2b-256 6b86ccaa8ed8a8db7f1efb1f42fdad3be1926ecc6e06add943dca50246e5231b

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