This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
from pybean import SQLiteWriter, Store | |
import resource | |
def memory_usage(): | |
return resource.getrusage(resource.RUSAGE_SELF).ru_maxrss | |
class TestPybean(unittest.TestCase): |
OlderNewer