Open source
Open source
Most of my open-source work comes from the same habit as my day job: when a tool I depend on stops being maintained or doesn't quite fit, I fix it and share the fix. It runs from Python packaging to C++ statistics and build tools, and it follows the fields of my career: numerical computing, HPC tooling and quantitative finance.
Projects I maintain
PyPI critical project · about 1.5 million downloads a month
GNU readline for Python on Windows. It brings line editing, history and tab completion to Python programs on Windows, where the standard library has no readline module.
The original pyreadline had gone stale and stopped working on modern Python. I revived it as pyreadline3 in October 2020, and in 2024 moved it to pyproject.toml, updated the supported Python versions and cleaned up the code. PyPI now lists it as a critical project, a status it gives to the top 1% of packages by downloads.
GitHub ↗PyPI ↗
pyzmqrpc3
Maintainer · since 2020
Remote procedure calls over ZeroMQ for Python: a small client and server that exchange JSON-serialized requests, with a command and service structure that can carry complex user-defined data.
A Python 3 continuation of Jan Verhoeven's pyzmqrpc.
GitHub ↗PyPI ↗
Generates realizations of stochastic processes in Python: Brownian motion, Poisson and other continuous and discrete processes, the building blocks of Monte Carlo models.
A continuation of crflynn's stochastic package, which I'm refactoring for modern Python and a uv-based build.
GitHub ↗
pygitmirror
Author · since 2024
Mirrors git repositories between two git servers, so the same projects stay in sync across them.
GitHub ↗PyPI ↗
pyexportvba
Author · since 2024
Exports the VBA code embedded in Excel workbooks to separate .bas files, so spreadsheet macros can be diffed, reviewed and kept in version control like any other code.
GitHub ↗PyPI ↗
pysqlx
Author · since 2022
A generic SQL driver package for Python.
GitHub ↗PyPI ↗
5 crates on crates.io · about 39,000 downloads in total
A lightweight framework for command query responsibility segregation (CQRS) and event sourcing in Rust, published as a family of crates: the core (cqrs-es2, about 20,700 downloads), synchronous and Tokio-based async event stores, and SQL and PostgreSQL backends.
Started as a fork of serverlesstechnology/cqrs, which I split into separate crates, gave pluggable stores and published on crates.io.
GitHub ↗crates.io ↗
Contributions to other projects
-
2021
kthohr/stats
merged
Fixed the Weibull density and the F distribution at x = ∞ in this header-only C++ library of statistical distributions.
-
2017 – 2021
-
2017
SCons
merged
Implemented the Protoc builder, which compiles Google Protocol Buffers definitions inside SCons builds, and made its Java logic more robust.
-
2017
CPython
proposed
Proposed a cache directory option for the compileall module and unittest support for projects shipped as .pyc files.
-
2016
SWIG
merged
Fixed a casting warning on Linux in the tool that connects C++ libraries to Python and other languages. Proposed Node.js 12 support in 2020.
Projects I star
The projects I star are a map of what I read and use: numerical libraries, quant tools, C++ infrastructure and the software that runs my home lab.
Numerical methods and HPC
- oneTBBThreading Building Blocks for parallel C++
- xsimdC++ wrappers for SIMD intrinsics
- autodiffAutomatic differentiation for C++
- TiledArrayMassively parallel block-sparse tensors
- SeisSolSimulation of seismic wave phenomena
- Elmer FEMMultiphysics finite element software
- sparselizardhp-adaptive multiphysics FEM in C++
- PolyFEMA polyvalent C++ FEM library
- CanteraChemical kinetics
- NWChemHigh-performance computational chemistry
- ENGRIDMesh generation for CFD
- PAPIHardware performance counters
Quantitative finance and statistics
- QuantLibThe quantitative finance library in C++
- statsHeader-only C++ statistical distributions
- gcemCompile-time math for C++
- GSLGNU Scientific Library with a CMake build
- eventsourcingEvent sourcing in Python
C++ and developer tools
- SWIGConnects C and C++ to Python and other languages
- AbseilGoogle's common C++ libraries
- Crypto++C++ cryptographic schemes
- RestbedAsynchronous REST services in C++
- btopA resource monitor
- code-serverVS Code in the browser
- SpyderThe scientific Python IDE
Self-hosting and the home lab