Hi folks,
We are happy to announce the release of PyQL [1], a new set of QuantLib wrappers for Python. The project is available here : * URL: http://github.com/enthought/pyql * License: BSD license. * Authores: Didrik Pinte, Enthought and Patrick Henaff, IAE Paris. Why another set of Python wrappers for QuantLib? The SWIG wrappers provide a very good coverage of the library but have a number of pain points: - few Pythonic optimisation in the syntax: the code a user must write on the Python side looks like the C++ version - no docstring or function signature available on the Python side - complex debugging and complex customization of the wrappers - monolithic build process - complete loss of the C++ code organisation with a flat namespace in Python - ... For those reasons and to have the ability to expose some of the QuantLib internals that could be very useful on the Python side, we chosed another road. PyQL is build on top of Cython and creates a thin Pythonic layer on top of QuantLib. It allows a tight control on the wrapping and provides higher level Python integration. Features: - Integration with standard datatypes (like datetime objects) and numpy arrays - Simplifed API on the Python side (e.g. usage of Handles completely hidden from the user) - Support full docstring and expose detailed function signatures to Python - Code organised in subpackages to provide a decent namespace, very close to the C++ code organisation - Easy extendibility thanks to Cython and shorter build time when adding new functionnalities - Sphinx documentation It supports QuantLib >= 1.1 and currently builds very nicely on MacOSX and Linux. The Windows builds will be there soon. Regarding the build process, make sure you read the build instruction! (Cython 0.15 needs a simple patch available in the repo) The library comes with a decent test suite and many examples: from the very basic option valuation to more complex heston model calibration within an IPython notebook. For more details, take a look at the code, contact the authors, or discuss on the list! We are looking forward questions, comments, contributions. Didrik [1] The name is still subject to modification as PyQL is already used by other projects unrelated to QuantLib. Suggestions are welcome! -- Didrik Pinte +32 475 665 668 +44 1223 969515 Enthought Europe [hidden email] Scientific Computing Solutions http://www.enthought.com ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Hi Didrik,
great news! Happy to know about PyQL. Please also post to: quantlib-announce at lists dot sourceforge dot net quantlib-users at lists dot sourceforge dot net I'm pretty sure Luigi will follow up with a link to PyQL on the quantlib.org web site thank you On Fri, Mar 23, 2012 at 8:42 AM, Didrik Pinte <[hidden email]> wrote: > Hi folks, > > We are happy to announce the release of PyQL [1], a new set of > QuantLib wrappers for Python. > > The project is available here : > > * URL: http://github.com/enthought/pyql > * License: BSD license. > * Authores: Didrik Pinte, Enthought and Patrick Henaff, IAE Paris. > > Why another set of Python wrappers for QuantLib? > > The SWIG wrappers provide a very good coverage of the library but have > a number of pain points: > - few Pythonic optimisation in the syntax: the code a user must write > on the Python side looks like the C++ version > - no docstring or function signature available on the Python side > - complex debugging and complex customization of the wrappers > - monolithic build process > - complete loss of the C++ code organisation with a flat namespace in Python > - ... > > For those reasons and to have the ability to expose some of the > QuantLib internals that could be very useful on the Python side, we > chosed another road. PyQL is build on top of Cython and creates a thin > Pythonic layer on top of QuantLib. It allows a tight control on the > wrapping and provides higher level Python integration. > > Features: > - Integration with standard datatypes (like datetime objects) and numpy arrays > - Simplifed API on the Python side (e.g. usage of Handles completely > hidden from the user) > - Support full docstring and expose detailed function signatures to Python > - Code organised in subpackages to provide a decent namespace, very > close to the C++ code organisation > - Easy extendibility thanks to Cython and shorter build time when > adding new functionnalities > - Sphinx documentation > > It supports QuantLib >= 1.1 and currently builds very nicely on MacOSX > and Linux. The Windows builds will be there soon. Regarding the build > process, make sure you read the build instruction! > (Cython 0.15 needs a simple patch available in the repo) > > The library comes with a decent test suite and many examples: from the > very basic option valuation to more complex heston model calibration > within an IPython notebook. > > For more details, take a look at the code, contact the authors, or > discuss on the list! > > We are looking forward questions, comments, contributions. > > > Didrik > > > [1] The name is still subject to modification as PyQL is already used > by other projects unrelated to QuantLib. Suggestions are welcome! > > > -- > Didrik Pinte +32 475 665 668 > +44 1223 969515 > Enthought Europe [hidden email] > Scientific Computing Solutions http://www.enthought.com > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > QuantLib-dev mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-dev ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
On Fri, Mar 23, 2012 at 10:58 AM, Ferdinando Ametrano
<[hidden email]> wrote: > I'm pretty sure Luigi will follow up with a link to PyQL on the > quantlib.org web site Done, it's in the "other languages" page. And since I'm so up-to-date (not), I've also posted it on the QuantLib page on Google+ (it's at <https://plus.google.com/u/0/118353968647088686229> if you want to add it to your circles). Luigi ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |