I'm Ned Batchelder, a Python software developer and community organizer.
- My personal site is https://nedbatchelder.com.
- I work at edX on Open edX.
- I'm an organizer of Boston Python.
You can find me at:
- I'm @nedbat on Twitter.
- On Libera IRC, I'm nedbat in #python.
- I'm sometimes in the Python Discord.
My latest blog post:
- Why your mock still doesn’t work, 18 Feb 2022
If your mocks aren’t working, it might be because mocks are slippery. Make them strict. (read..)
More blog posts
- Moving a git branch to a new base, 10 Feb 2022
Suppose you have some work on a git branch that you started from one branch, and you want to move that work to be based on a different branch, as if you had started from there originally. The git rebase command gives you the tools to do it, but it’s complicated, and I can never remember the details, so I finally figured it out and made an alias to do it. (read..) - Refactoring Boston, 23 Jan 2022
Boston has undergone many changes. Where did Broadway go? (read..) - Cog resurgence, 14 Jan 2022
My cog tool has been having a resurgence of late: a number of people are discovering it’s useful to run a little bit of Python code inside otherwise static files. (read..) - Gem: exploding string alternatives, 28 Dec 2021
Here’s a Python gem: a small bit of Python that uses the power of the language and standard library well. (read..) - Load-balanced xdist, 11 Dec 2021
I wrote a pytest plugin to evenly balance tests across xdist workers. (read..) - and many more..
I maintain a few Python packages, including:
- Coverage.py: the code coverage tool for Python