项目正处大重写,当前版本不稳定、许多功能被临时移除;iMessage API 尚未恢复,目前只有 APNs 客户端可用;采用 SSPL 许可,商用前需确认授权
pypush
JJTech0130更新放缓用 Python 实现 APNs 推送和 iMessage 协议客户端,可收发 iMessage 消息,适合研究苹果推送与 iMessage 通信机制的逆向工程。
Python APNs and iMessage client
逆向苹果内部 API 的 Python 库,当前可模拟 Apple 设备接入 APNs 接收推送
用 Python 实现 APNs 推送和 iMessage 协议客户端,可收发 iMessage 消息,适合研究苹果推送与 iMessage 通信机制的逆向工程。
核心能力
- 以客户端身份接入苹果内部 APNs API
- 可激活为 Apple 设备并接收推送通知
- 平台无关,部分 API 需设备标识符
- 目标覆盖苹果内部 API 全表面
容易踩的坑
- v2.0.2最新正式版2026-03-15 · 2026-03-15 04:05 UTC
What's Changed
- Fix reconnection with a cached base token by @akinazuki in https://github.com/JJTech0130/pypush/pull/107
New Contributors
- @akinazuki made their first contribution in https://github.com/JJTech0130/pypush/pull/107
Full Changelog: https://github.com/JJTech0130/pypush/compare/v2.0.1...v2.0.2
- v2.0.12025-07-16 · 2025-07-16 16:59 UTC
查看更新说明
Minor bugfixes
Full Changelog: https://github.com/JJTech0130/pypush/compare/v2.0.0...v2.0.1
- v2.0.0Initial PyPi release!pre-release2024-05-22 · 2024-05-22 12:36 UTC
查看更新说明
This is the first version that will be published at
pypushon PyPI! Note that as the rewrite is in progress, this only implements the APNs client, which is still pretty cool.
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
[!WARNING]
pypushis undergoing a major rewrite. The current version is not stable and may not work as expected. Many features have been temporarily removed.Versioning starts at 2.0.0 due to conflicts with the original package to have the
pypushname. Do not expect stability until 3.0.0.
pypush
pypush was originally a POC demo of my recent iMessage reverse-engineering.
It is now being developed into a community library aiming to cover all of Apple's internal API surface.
Currently, the rewritten version supports using the client side of Apple's internal APNs API, meaning it can activate as an Apple device and receive push notifications. Stay tuned for future updates as we bring back the iMessage API and more!
pypush is completely platform-independent, though it may require device identifiers to use some APIs.
Installation
Simple installation:
pip install pypush[cli]
Editable installation (for development):
git clone https://github.com/JJTech0130/pypush
cd pypush
pip install -e .
Licensing
This project is licensed under the terms of the SSPL
This project has been purchased by Beeper, please contact them with any questions about licensing.