Python bindings for iMessage and Contacts database access
Project description
Text Imp
Python bindings for iMessage and Contacts database access.
Installation
This package requires Python 3.8 or later. We use uv for package management.
uv pip install text_imp
Development Setup
- Clone the repository:
git clone https://github.com/yourusername/text_imp.git
cd text_imp
- Install uv if you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Create a virtual environment and install dependencies:
uv venv
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
# Install the package in editable mode with all dependencies
uv pip install -e .
Building from Source
The package uses Maturin for building the Rust extensions. To build from source in one line:
uv pip install -e .
Or if you want to build and verify the installation:
uv pip install -e . && uv run --with text_imp --no-project -- python -c "import text_imp"
Usage
See example.py
Requirements
- Python >= 3.8
- macOS (for iMessage database access)
- uv package manager
Project Structure
text_imp/
├── src/ # Rust source code
├── text_imp/ # Python package directory
├── examples/ # Usage examples
├── tests/ # Test files
├── Cargo.toml # Rust dependencies and configuration
└── pyproject.toml # Python package configuration
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file text_imp-0.1.1-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: text_imp-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0888ef27719db070981d46704d589a7f191c1ed44009365280dd3097e268a0d
|
|
| MD5 |
0fa95f3fa8660f097135f2f97e200f6d
|
|
| BLAKE2b-256 |
dfff07c97c612f3a6ae333ea09866a3b5f93e42a140db1ad1a8ee5e6fb0e0777
|