← Software 1 min read

Python

My everyday language next to C++: quant frameworks, C++ bindings, data tools and the packages I maintain.

Python is the language I reach for next to C++. At BP I designed a Quantitative Analytics Framework in Python and C++ from scratch, I bind C++ libraries to Python with SWIG, and I use Databricks and Dask for data work at scale.

Packages I maintain

  • pyreadline3: GNU readline for Python on Windows. I revived the stale pyreadline package in 2020; PyPI now lists it as a critical project, in the top 1% of packages by downloads, at about 1.5 million downloads a month.
  • pyzmqrpc3: remote procedure calls over ZeroMQ, with JSON-serialized requests and a command and service structure.
  • pygitmirror: mirrors git repositories between two git servers.
  • pyexportvba: exports the VBA code inside Excel workbooks to .bas files, so macros can live in version control.
  • pysqlx: a generic SQL driver package.
  • pystochastic: realizations of stochastic processes, the building blocks of Monte Carlo models.

Contributions

  • A Protocol Buffers builder for the SCons build system (merged pull request).
  • Two proposals to CPython in 2017: a cache directory option for compileall, and unittest support for projects shipped as .pyc files.

The Open Source page tells the story of each project.