semvec/pypi-packages huggingface dataset:
xcrun 0.4
Python wrapper around the xcrun utility
License: MIT
Keywords: xcode xcrun simctl ios simulator

# xcrun

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

## simctl

`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 print the result of:

    xcrun.simctl.listall.runtimes()

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:

    iPhone7 = xcrun.simctl.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`).
derby 0.7.2
A simple dice rolling library
License: MIT
Requires Python: >=3.6
Keywords: dice rolling games

# derby
simple dice rolling library

```python

from derby import roll

stats = ['str','int','wis','dex','con','cha']
character = { stat: roll('3d6').value for stat in stats } # roll('4d6h3') if your GM is nice enough

```

## examples

```python
roll('1d20+1')
roll('2d20h1+1') # rolling with advantage
roll('4d6h3+1')  # same as roll('4d6+1h3')

# also supports doing comparisons
roll('3d6=18')
roll('1d20>14')
```