2023-01-09 20:24:32 +03:00
|
|
|
# pyckel
|
|
|
|
|
|
|
|
Python bindings to use Nickel.
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
```shell
|
2023-01-13 13:25:11 +03:00
|
|
|
pip install .
|
2023-01-09 20:24:32 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
## Use
|
|
|
|
|
|
|
|
```python
|
|
|
|
import pyckel
|
|
|
|
|
|
|
|
result = pyckel.run("let x = 1 in { y = x + 2 }")
|
|
|
|
print(result)
|
|
|
|
# {
|
|
|
|
# "y": 3
|
|
|
|
# }
|
|
|
|
```
|