Skip to main content

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

Project description

piximport

CLI para importar fotos desde tarjetas SD a ~/Pictures, organizadas automáticamente por fecha EXIF y fabricante de cámara.

Estructura de destino

~/Pictures/
└── 2026/
    └── 01-15/
        └── SONY/
            ├── SOOC/    ← JPEG, HEIF, HIF
            ├── RAW/     ← ARW, RAF, NEF, CR2, CR3, DNG, ORF, RW2
            └── EDITED/  ← vacío, listo para tu flujo de edición

Instalación

Con pipx (recomendado — aislado, sin tocar el entorno global)

pipx install piximport

Directamente desde GitHub

pipx install git+https://github.com/suarez605/piximport.git
# o una versión concreta:
pipx install git+https://github.com/suarez605/piximport.git@v1.0.0

Con pip

pip install piximport

Con Homebrew (macOS)

brew install suarez605/tap/piximport

Uso

piximport

El CLI detecta automáticamente las tarjetas SD conectadas, muestra un selector interactivo de días a importar y copia las fotos preservando los metadatos del sistema de ficheros.

Formatos soportados

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

Requisitos

  • macOS (usa /Volumes y diskutil)
  • Python 3.11+

Desarrollo

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.0.0.tar.gz (12.0 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.0.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for piximport-1.0.0.tar.gz
Algorithm Hash digest
SHA256 44efd16755a2d9d9c7a64848c2ef5fb53e2fffe402c785a67d443b049f64a764
MD5 07969d695484584e034c464955ae91c4
BLAKE2b-256 50bfad1320395c864d0900e18d7d732a5cda959c88239f5ab7e7a4e246b7bbe4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: piximport-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97f3e9ac535378d9651f8e6e6a8374666f561a72db2ab1cfa5a8d1e88c05a0da
MD5 28fa30147c063d88861da93a60f830e3
BLAKE2b-256 1fa1cfa918aef7528c28b7c4967eaeee28379dd5555739baf384c99d2fa1d74e

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