Skip to content

Instantly share code, notes, and snippets.

import sqlite3
from pkg_resources import parse_version
__version__ = "0.2.1"
class SQLiteWriter(object):
"""
In frozen mode (the default), the writer will not alter db schema.
import unittest
from pybean import SQLiteWriter, Store
import resource
def memory_usage():
return resource.getrusage(resource.RUSAGE_SELF).ru_maxrss
class TestPybean(unittest.TestCase):