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.0.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.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: piximport-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7955a3b00b8e310622405822475f5f0572baf80acaf4aab639bd27a6ac1fb970
MD5 225fccea5ceb7a11e9ef57c1828e5be1
BLAKE2b-256 479bd9cadd7dbd9a8d726dd56e44e23276b7eebaf083f38576ca19010e2a9711

See more details on using hashes here.

File details

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

File metadata

  • Download URL: piximport-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b093fb9c574c88b02d063437df752a945bd5c9974eb93dfc4788a6a150f0c0a
MD5 3bb2bf84b917bda52ca947b92fb81368
BLAKE2b-256 263da81ec709ab0cdced79b2a52596737daf2f2c1d4df68d39576b130f371755

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