talira

PyiCloud

A Python wrapper for accessing data from iCloud webservices

open sourceMITself-hostablefree

PyiCloud is a Python library, with an icloud command-line tool, that signs in to iCloud's web services with an Apple Account's username, password and two-factor code and calls them: Account, Find My, Calendar, Contacts, iCloud Drive, Photos, Hide My Email, Reminders and Notes. Its Photos service browses, downloads, syncs, watches, uploads and modifies the photo library, including the iCloud Shared Library, and its docs present icloud photos sync as the modern replacement for icloud_photos_downloader. An optional extra adds a local MCP server. The pyicloud package on PyPI is Tim Laing's actively maintained fork of the original picklepete/pyicloud.

Problems it solves

  • write a Python script that downloads the photos from my iCloud library
  • read my iCloud calendar, contacts or reminders from Python
  • locate my iPhone with Find My from a script
  • upload files to iCloud Drive from a Python program
  • automate my Apple account's iCloud data from a Linux server

Features

  • 2FA and 2SA sign-in with saved sessions
  • Find My devices
  • Calendar, Contacts, Reminders and Notes
  • iCloud Drive
  • Photos: browse, download, sync, watch, upload and modify, including the Shared Library
  • Hide My Email
  • icloud CLI
  • optional local MCP extension

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what PyiCloud does.

  1. iCloud Photos Downloader (icloudpd) A command-line tool to download photos from iCloud

Compare PyiCloud with the top 3