Previously the library was only callable from the command line. This moves the code into a module (without changing it at all) so that it can be called from other places, such as an HTTP handler.
This code is still very prototype-y, so I don't think this PR needs reviewing.
Previously the library was only callable from the command line. This moves the code into a module (without changing it at all) so that it can be called from other places, such as an HTTP handler.
This code is still very prototype-y, so I don't think this PR needs reviewing.
This replaces #30
Fixes #29