Skip to main content

utility created in order to access ipsw.me data easily using python/cli

Project description

Python application Pypi version

Description

pyipsw is a utility created in order to access ipsw.me data easily using python / cli.

Installation

Install the last released version using pip:

python3 -m pip install -U pyipsw

Or install the latest version from sources:

git clone git@github.com:matan1008/pyipsw.git
cd pyipsw
python3 -m pip install -U -e .

Usage

CLI

In order to show data about devices, just run the devices command:

pyipsw devices

If you require more or less data, add -c with column name:

pyipsw devices -c device -c version -c BoardConfig

Run pyipsw devices --help to see available columns:

Usage: pyipsw devices [OPTIONS]

  Show data about apple devices.

Options:
  -c, --columns [device|name|version|buildid|url|uploaddate|size|signed|sha1sum|releasedate|platform|md5sum|filename|cpid|bdid|BoardConfig]
                                  Data to show
  -f, --filters TEXT              Python code to act as filter to devices,
                                  e.g. "iPhone11" in device
  --help                          Show this message and exit.

You can also add python code to filter the printed data:

pyipsw devices -f "'iPhone10' in device and '14.4' in version"

Which will output:

------------------------------------------------------------------------------------
| device     | version | buildid | filename                                        |
------------------------------------------------------------------------------------
| iPhone10,1 | 14.4.2  | 18D70   | iPhone_4.7_P3_14.4.2_18D70_Restore.ipsw         |
| iPhone10,1 | 14.4.1  | 18D61   | iPhone_4.7_P3_14.4.1_18D61_Restore.ipsw         |
| iPhone10,1 | 14.4    | 18D52   | iPhone_4.7_P3_14.4_18D52_Restore.ipsw           |
| iPhone10,2 | 14.4.2  | 18D70   | iPhone_5.5_P3_14.4.2_18D70_Restore.ipsw         |
| iPhone10,2 | 14.4.1  | 18D61   | iPhone_5.5_P3_14.4.1_18D61_Restore.ipsw         |
| iPhone10,2 | 14.4    | 18D52   | iPhone_5.5_P3_14.4_18D52_Restore.ipsw           |
| iPhone10,3 | 14.4.2  | 18D70   | iPhone10,3,iPhone10,6_14.4.2_18D70_Restore.ipsw |
| iPhone10,3 | 14.4.1  | 18D61   | iPhone10,3,iPhone10,6_14.4.1_18D61_Restore.ipsw |
| iPhone10,3 | 14.4    | 18D52   | iPhone10,3,iPhone10,6_14.4_18D52_Restore.ipsw   |
| iPhone10,4 | 14.4.2  | 18D70   | iPhone_4.7_P3_14.4.2_18D70_Restore.ipsw         |
| iPhone10,4 | 14.4.1  | 18D61   | iPhone_4.7_P3_14.4.1_18D61_Restore.ipsw         |
| iPhone10,4 | 14.4    | 18D52   | iPhone_4.7_P3_14.4_18D52_Restore.ipsw           |
| iPhone10,5 | 14.4.2  | 18D70   | iPhone_5.5_P3_14.4.2_18D70_Restore.ipsw         |
| iPhone10,5 | 14.4.1  | 18D61   | iPhone_5.5_P3_14.4.1_18D61_Restore.ipsw         |
| iPhone10,5 | 14.4    | 18D52   | iPhone_5.5_P3_14.4_18D52_Restore.ipsw           |
| iPhone10,6 | 14.4.2  | 18D70   | iPhone10,3,iPhone10,6_14.4.2_18D70_Restore.ipsw |
| iPhone10,6 | 14.4.1  | 18D61   | iPhone10,3,iPhone10,6_14.4.1_18D61_Restore.ipsw |
| iPhone10,6 | 14.4    | 18D52   | iPhone10,3,iPhone10,6_14.4_18D52_Restore.ipsw   |
------------------------------------------------------------------------------------

You can also download the firmwares with:

pyipsw download-devices /tmp/firmwares -f "'iPhone10' in device and '14.4' in version"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyipsw-0.0.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

pyipsw-0.0.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file pyipsw-0.0.2.tar.gz.

File metadata

  • Download URL: pyipsw-0.0.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyipsw-0.0.2.tar.gz
Algorithm Hash digest
SHA256 000b67df3e3085aa7b88c566f7abe7b968a04ab1f882afdc37aa7c8a1e1c5ce8
MD5 de126f4b7cad1cbb12a2eaf9a6654927
BLAKE2b-256 c2aed776bac64092d2d68789b99c53ac16fe243a78f7aaab1e889eb0d70d7372

See more details on using hashes here.

File details

Details for the file pyipsw-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyipsw-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyipsw-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3ed01c61cafa5a322d8875c9fb9c25e910402bbbb082751cdd1da1d2a9ffae4a
MD5 1daec34ff3346bfadfc9a6d1f45faf47
BLAKE2b-256 dd6531afd8e9a98436b0dd3a7853164a8b37d56746d12d654290cccb86929b57

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page