Quantlib Python

  • Thread starter Thread starter pingu
  • Start date Start date
Visual Studio 2017 has Python support.
Yes, but it is also non-trivial to setup a "C++Python" project.
Anyway, I would prefer (if possible) to stay with PyCharm for Python-side.

Is that an alternative to SWIG which is getting long in the tooth?
To my knowledge there is none (I mean no open-source project, which is more or less complete or is being actively developed).
SWIG is indeed old but it allows to port to many languages (and there are SWIG interfaces not only for Python in QuantLib-SWIG)
 
Yes, but it is also non-trivial to setup a "C++Python" project.
Anyway, I would prefer (if possible) to stay with PyCharm for Python-side.


To my knowledge there is none (I mean no open-source project, which is more or less complete or is being actively developed).
SWIG is indeed old but it allows to port to many languages (and there are SWIG interfaces not only for Python in QuantLib-SWIG)

In .NET is it possible to wrap QL C++ in an assembly/dll and call it from C# Excel-DNA (yes, I've done it) without any SWIG. It's very easy.

I am not sure at this moment about Python-.NET interop.
 
In .NET is it possible to wrap QL C++ in an assembly/dll and call it from C# Excel-DNA (yes, I've done it) without any SWIG. It's very easy.

I am not sure at this moment about Python-.NET interop.
I don't know about .Net but you can work with Python and Excel VBA very easy using xlwings (for free). That's not the same as reading Excel workbooks in python. That's even easier using pandas or xlrd or any of the dozens of packages that achieved the same thing.

There used to be some other products that you have to pay for and achieve the same functionality.
 
I don't know about .Net but you can work with Python and Excel VBA very easy using xlwings (for free). That's not the same as reading Excel workbooks in python. That's even easier using pandas or xlrd or any of the dozens of packages that achieved the same thing.

There used to be some other products that you have to pay for and achieve the same functionality.

We use xlwings at work all the time.
 
Back
Top Bottom