semvec/pypi-packages huggingface dataset:
akinator.py 0.2.5
Python bindings for akinator-rs
License: MIT
Requires Python: >=3.7
Keywords: akinator,python,async,game,pyo3

# Akinator-py
Python bindings for ``akinator-rs``, a wrapper around the undocumented akinator API, made using [pyo3](https://pyo3.rs)

designed for easy implementation of an akinator game in code, providing a simple and easy to use API.

### Installation
Prebuilt wheels are uploaded onto pypi, if you platform is supported, you can install with:

```bash
$ py -m pip install akinator.py
```

You can also build from source yourself if you have `rust` installed

### Examples
- refer to the [tests](https://github.com/Tom-the-Bomb/akinator.py/tree/master/tests) for full examples on usage
- Refer to the **documentation** [here](https://akinatorpy.readthedocs.io/en/latest/) for more information
tsxml 0.1.0
Parse TestStand XML to Python dictionary
License: MIT
Requires Python: >=3.8,<4.0

# tsxml
TestStand XML Parser for Python. Converts the XML string of variable exported using 'GetXML(0,0)' function in TestStand to Python dictionary.

# Install
Install using pip
```
pip install tsxml
```
Supports Python >= 3.8

# Usage
```
import tsxml

input_xml = """
<?TS version="2019 (19.0.0.170)"?>
    <Prop Name='MyContainer' Type='Obj' Flags='0x4'>
        <Prop Name='MyNumber' Type='Number' Flags='0x0'>
            <Value>5</Value>
        </Prop>
        <Prop Name='MyString' Type='String' Flags='0x0'>
            <Value>xTLDR.com</Value>
        </Prop>
        <Prop Name='MyBoolean' Type='Boolean' Flags='0x0'>
            <Value>True</Value>
        </Prop>
    </Prop>
"""

result = tsxml.parse(input_xml)

# result = {'MyContainer': {'MyNumber': 5.0, 'MyString': 'xTLDR.com', 'MyBoolean': True}}
```
# License
MIT License