Just pushed some iteration of acme-not-a-joke, my #rfc8555 #acme library in-the-making library.
Besides some modularization of the code, I've introduced a "Dancer" object to facilitate writing a dance to request certificate orders, DNS challenges setups, and poll for ready statuses before eventually getting a certificate.