ironcalc / IronCalc

Main engine of the IronCalc ecosystem
Apache License 2.0
48 stars 2 forks source link

Create Python bindings for IronCalc #37

Open nhatcher opened 2 months ago

nhatcher commented 2 months ago

It should be possible to pip install ironcalc and the use the raw API from Python and perhaps also the user API.

IronCalc python bindings

To compile this and test it:

$ 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.