Skip to main content

Python wrapper around the simctl utility

Project description

isim

This is a Python wrapper around the xcrun simctl utility that Apple provides for interacting with the various Xcode developer tools.

xcrun simctl is the tool for interacting with the iOS simulator and is the main focus of this module. The syntax is designed to remain as close to that which would be used on the command line as possible. For example, to list all runtimes on the command line you would do:

xcrun simctl list runtimes

With this module you can simply do:

from isim import Runtime
print(Runtime.list_all())

Most functions are on the item that they affect. So instead of running something on a device like:

xcrun simctl do_thing <DEVICE_ID> arg1 arg2 ...

You can do this:

from isim import Device
iPhone7 = Device.from_name("iPhone 7")
iPhone7.do_thing(arg1, arg2, ...)

Testing

To run the tests, all you need to do is run python -m pytest tests from the root directory.

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

isim-0.7.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

isim-0.7.0-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file isim-0.7.0.tar.gz.

File metadata

  • Download URL: isim-0.7.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.10 CPython/3.7.3 Darwin/18.5.0

File hashes

Hashes for isim-0.7.0.tar.gz
Algorithm Hash digest
SHA256 cdbd715dfab796cee165c6308bd24189942153ed90baf78dba174660faef7a77
MD5 0f104c02e89306db8adccfa233cb41dd
BLAKE2b-256 ba60372889db5483082f9a19a5a64145af4282c3a204c76e6f225429ff4f3cd6

See more details on using hashes here.

File details

Details for the file isim-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: isim-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.10 CPython/3.7.3 Darwin/18.5.0

File hashes

Hashes for isim-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4aff7cbe80bf54dce7587dc3d6ff818f3409a163421ad60ebfe68408717d4b2f
MD5 241dd9f5c1500660dfc61feb7fb02afd
BLAKE2b-256 7e1afad48adf9672f150e8387bea971e5429100802e16773054e5db52171f553

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