Metadata-Version: 2.4
Name: pylitex
Version: 0.1.3
Summary: Python api for Litex core
Author-email: Hill Hong <scanfandprintf@icloud.com>
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-Expression: MIT
Classifier: Framework :: Jupyter
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Mathematics
License-File: LICENSE
Project-URL: Homepage, https://github.com/litexlang/litex-python-api
Project-URL: Issues, https://github.com/litexlang/litex-python-api/issues

# Python api for Litex core

This is a Python api library for Litex core, which aims to help Python users to interact with Litex core.

## installation

This reuqires Litex core and Python3, you could install Litex core follow the [Installation](https://litexlang.org/doc/Installation). 

After Litex core installation, you could install litex for your python environment:

```bash
# change your Python env to which your are using
# then run following commands
pip install pylitex
```

To use it:

```python
import pylitex

# regular runner
result = pylitex.run("code...")

# multi-process runner
results = pylitex.run_batch(["code1...", "code2..."], 2)
```
