This code can be used to synchronize your Gumroad subscritions with ChartMogul.
Make sure to replace the variables in chartmogulSync.py file.
dbhelper.py will create and manage Sqlite tables. This is to avoid creating duplicate invoices in CharMogul.