Interesting Python embedded databases


  • Not pure Python
  • Fixed columns: vw = db.getas(“urls[url:S,filename:S,headers:S]”)


  • Writes the full dataset on commit




  • Stores arbitrary JSON, auto-indexes all keys.

I wonder how well an API like the following would work for in-memory databases:

urls_dict = indexed({'': {'filename': 'index.html'}}, index=['filename'])
urls_dict.index('index.html') -> single entry

urls_list = indexed([{'': {'filename': 'index.html'}}], index=['filename'])
urls_list.index('index.html') -> multiple entries    

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s