iCloud Paths
A Python module for accessing common iCloud paths on macOS and Windows.
Installation
uv add icloud-paths
Usage
iCloud class
from icloud_paths import iCloud
if iCloud.available:
drive = iCloud.drive
desktop = iCloud.desktop
documents = iCloud.documents
downloads = iCloud.downloads
photos = iCloud.photos
Standalone functions
from icloud_paths import (
get_icloud_drive_path,
get_icloud_desktop_path,
get_icloud_documents_path,
get_icloud_downloads_path,
get_icloud_photos_path,
is_icloud_available,
)
if is_icloud_available():
drive = get_icloud_drive_path()
desktop = get_icloud_desktop_path()
documents = get_icloud_documents_path()
API
iCloud class properties
iCloud.drive- iCloud Drive pathiCloud.desktop- iCloud Desktop pathiCloud.documents- iCloud Documents pathiCloud.downloads- iCloud Downloads pathiCloud.photos- Photos Library path (macOS) or iCloud Photos folder (Windows)iCloud.available-Trueif iCloud is accessible
Standalone functions
get_icloud_drive_path()- Returns iCloud Drive pathget_icloud_desktop_path()- Returns iCloud Desktop pathget_icloud_documents_path()- Returns iCloud Documents pathget_icloud_downloads_path()- Returns iCloud Downloads pathget_icloud_photos_path()- Returns Photos Library path (macOS) or iCloud Photos folder (Windows)is_icloud_available()- Checks if iCloud is accessible
All paths return None if the path is not available, or raise OSError if not on macOS/Windows.
Requirements
- Python 3.8+
- macOS or Windows with iCloud for Windows installed
Metadata
Release files for icloud-paths 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| icloud_paths-0.1.1.tar.gz | 2.5 kB | Without provenance | Details for icloud_paths-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| icloud_paths-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for icloud_paths-0.1.1-py3-none-any.whl |
Total release size: 6.1 kB
Release files / icloud_paths-0.1.1.tar.gz
| Download URL | icloud_paths-0.1.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d905af1c6ecd8ff8087f82eb7a079d9d5cd7c20c97260a7d0406cb5e7433edce
|
|
BLAKE2b-256 checksum How to use checksums |
79f3baa995d3ae4a0e4daf35081c347c4461ca2f694d38daf92a9809e954ee24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"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}
|
Release files / icloud_paths-0.1.1-py3-none-any.whl
| Download URL | icloud_paths-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1ea592c9700c844f3a147953ea70c43ae7e079db51dbb282e57f5562779494c
|
|
BLAKE2b-256 checksum How to use checksums |
43c92f3584402f1eefd5631e2e4157befec5d388041f3c83deb71050b0b4bfdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"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}
|
Security for icloud-paths 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.