UPDATE: Adds python bindings (#90)

* UPDATE: Adds python bindings

Exclude pyroncalc and wasm from test coverage
This commit is contained in:
Nicolás Hatcher Andrés
2024-09-21 11:58:50 +02:00
committed by GitHub
parent 00b5b65588
commit 11df4a55c7
18 changed files with 2049 additions and 14 deletions

31
bindings/python/README.md Normal file
View File

@@ -0,0 +1,31 @@
# IronCalc python bindings
With IronCalc you can create, read and manipulate xlsx files.
You can manage sheets, add, remove, delete rename.
You can add cell values, retrieve them and most importantly you can evaluate spreadsheets.
## Installation
```bash
pip install ironcalc
```
## Compile and test
To compile this and test it:
```bash
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install maturin
$ maturin develop
$ cd examples
examples $ python example.py
```
From there if you use `python` you can `import ironcalc`. You can either create a new file, read it from a JSON string or import from Excel.
Hopefully the API is straightforward.