Skip to main content

Using smugmug API v2 downloads all the files stored by smugmug for a user account.

Project description

SmugMug Downloader

A command-line tool to download all photos from a SmugMug account.

Features

  • Downloads all images at their highest available quality
  • Preserves folder and album structure locally
  • Skips already-downloaded files
  • OAuth 1.0a authentication with token caching

Prerequisites

  1. Python 3.14+ and uv package manager
  2. SmugMug API credentials - Create an API key at https://api.smugmug.com/api/developer/apply

Set your credentials as environment variables:

export SMUGMUG_API_KEY="your-api-key"
export SMUGMUG_API_SECRET="your-api-secret"

Installation

Using uv, add the project:

uv add smugmug-downloader

Usage

# Download all files from a user's account
uv run smugmug-downloader feldroy <username>

# Specify a custom output directory
uv run smugmug-downloader feldroy <username> --output /path/to/downloads

The default output directory is downloads/.

Authentication

On first run, the tool will:

  1. Display an authorization URL
  2. Prompt you to visit the URL and authorize access
  3. Ask for the 6-digit PIN from SmugMug

Tokens are cached in ~/.smugmug_tokens for subsequent runs.

License

MIT

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

smugmug_downloader-0.3.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

smugmug_downloader-0.3.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file smugmug_downloader-0.3.1.tar.gz.

File metadata

  • Download URL: smugmug_downloader-0.3.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for smugmug_downloader-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ff2c99d0eb7b136fe06da911792ef5c09a3cbacbc43ccbe89c32cf061eb4f05d
MD5 fe534275aaec896beded54bf9655c3b1
BLAKE2b-256 f89cb46472c80e2e164cbb99e166c0b504264de7cb5d33f3f258c3e35dcdc57d

See more details on using hashes here.

File details

Details for the file smugmug_downloader-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: smugmug_downloader-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for smugmug_downloader-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e5e55672b73a991f0a91fa0968d0f1c920e8b522a7542ec65aad87aaca62dd1
MD5 f33bf80524ffbd106b80ff2b5f312acd
BLAKE2b-256 6bf02098ca8187f2a66ef0bff6f693e81ab364bf652e374f6bcbce6f2b00104a

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