Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

iMessage Exporter

A Python tool to search and export iMessages from your local macOS chat.db.

Installation

  1. Clone this repository.
  2. Install in editable mode:
    pip install -e .
    

Usage

The tool provides a CLI command imessage-exporter.

List Recent Chats

imessage-exporter --list-chats

Search Messages

Search for a specific term:

imessage-exporter --search "hello"

Filter by Date

Get messages from today:

imessage-exporter --today

Get messages from a specific date:

imessage-exporter --date 2023-10-27

Combine Filters

Search for "meeting" in messages from today:

imessage-exporter --search "meeting" --today

Permissions

This tool requires Full Disk Access for the terminal or IDE running it, as it reads directly from ~/Library/Messages/chat.db.

Metadata

Release files for imessage-exporter 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imessage-exporter 0.2.0
File Size Uploaded Provenance
imessage_exporter-0.2.0.tar.gz 6.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for imessage-exporter 0.2.0
File Interpreter ABI Platform
imessage_exporter-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / imessage_exporter-0.2.0.tar.gz

Download URL imessage_exporter-0.2.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c31bcb11cc63764d101b1899bb3b989b64aa76c8092808715d6c4c150d12bd94
BLAKE2b-256 checksum
How to use checksums
76ff2cb85d2bfe29f812b336fd6ee37427c9454b57e9ff1ac0175f313b478a86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / imessage_exporter-0.2.0-py3-none-any.whl

Download URL imessage_exporter-0.2.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bedd70b87f8bf81a0fc9e77f5f0d086132a5fbf573618088cf85118330fff64
BLAKE2b-256 checksum
How to use checksums
5d85485cce4dc18461a05157a9c7ab878ee21f7679a25021d3ce94d37c4affec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for imessage-exporter 0.2.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page