Skip to main content


I've been working on the command-line API client, ap, for the #ActivityPub book I'm writing for O'Reilly Media. It's a Python program that implements commands like `ap inbox` (read the inbox) and `ap reject follower` (reject a pending follower).

https://github.com/evanp/ap

Originally, I was testing it live, just running it against onepage.pub. This weekend, I buckled down and wrote real unit tests with unittest.mock. It's been amazing; what a great tool.

This entry was edited (1 year ago)

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.