tmc / pqstream

pqstream turns your postgres database into an event stream
MIT License
477 stars 24 forks source link

Improve testability of the Python example #64

Closed ofosos closed 7 years ago

ofosos commented 7 years ago

This commit will improve testability of the Python example, by creating a run method, that can be tested and calling that from a main method, when we run from the command line.

Prep for #63

And additionally make the code pylint clean and add documentation to the example.

tmc commented 7 years ago

Looking good!