Open-Source
84 posts
Building Python Libraries in Rust with PyO3 and Maturin
A practical guide to creating Python packages backed by Rust using PyO3 for bindings and Maturin for packaging. Performance without sacrificing usability.
How Date Inference Works, and Why Ambiguity Is the Problem
Guessing a strptime format from examples is a scoring problem with ties. The dangerous outputs are the wrong guesses that still parse cleanly.
PyGeoHash v3.3.2: Reliability at the Edges
PyGeoHash v3.3.2 continues the reliability run with antimeridian fixes and stricter validation, plus native ARM64 wheels and smoke-tested artifacts.
Stars, Views, and Clones Across 63 Repos
I ran stargazers 0.2.0 against my own GitHub account. The repos with the most stars and the repos with the most clones turned out to be different repos.
Rampart v0.8: Full Fleet Coverage and Better Ruleset Support
Rampart v0.8 audits your private repos, understands GitHub rulesets properly, validates your config strictly, and returns real exit codes for CI.
What a Month of Portfolio-Wide Engineering Looks Like
651 merged pull requests across 75 repositories in a month, two human gates, and what changes when the unit of maintenance stops being the repo.
PyGeoHash v3.3.1: A Round of Sharp-Edge Fixes
PyGeoHash v3.3.1 is a bugfix release that closes a buffer overrun, rejects bad coordinates, fixes distance and bounding box edge cases, and ships py.typed.
Into the C: Making PyGeoHash Decode Twice as Fast
Last time I optimized the Python wrapper around PyGeoHash. This time I went into the C extension and found it was building objects it immediately threw away.
Optimizing PyGeoHash Without Touching the C
A few days after benchmarking PyGeoHash against the field, I closed most of the gap to the C++ library without writing any C. Here is how.
Benchmarking PyGeoHash: Where It Lands Against the Field
I benchmarked PyGeoHash against six Python geohash libraries with pytest-benchmark. It trails the Rust and C++ options and beats pure Python by a mile.