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
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
Built Distribution
File details
Details for the file isim-0.6.0.tar.gz
.
File metadata
- Download URL: isim-0.6.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.2 Darwin/18.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c448d7d8c276ffa6164fa339b1910774a9ddd88c627d17aa5351c1642abd07d2 |
|
MD5 | 31ee19a01ba15ccedcf75343e0421a91 |
|
BLAKE2b-256 | 14b7ea8893b0c84534196f935ef3f8439f4f3f96610c7232ac18ccfe6eeda791 |
File details
Details for the file isim-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: isim-0.6.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.2 Darwin/18.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5100c051cc6a3cb049ee4f2b6aadb50b9a27ae3d33d72d85fce32916f81f956 |
|
MD5 | 9be72e541de4733e2337e51528770849 |
|
BLAKE2b-256 | d14d7dd136f140e8e0995a7c2baa264c551c40292285fc9005334e58559e65c7 |