Python wrapper around the simctl utility
Project description
simctl
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 python3 -m tox
(can be installed by running python3 -m pip install tox
).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file isim-0.5.tar.gz
.
File metadata
- Download URL: isim-0.5.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4222f84a9ebbafbd546fd41663916b414c954c080de23b2cd0a2db685641e253 |
|
MD5 | b63eed9fe4d638a51687ce51338020ea |
|
BLAKE2b-256 | a3bcc4c3c15168b132f6d67227950f387aa0ab1d319e00303be09e2e279c83fb |