alkali 0.7.2

Alkali, or AlkaliDB, is a database engine. Code can be found on github.

If you know anything about databases then you know that any real database is ACID (Atomic, Consistent, Isolation, Durable). If you know anything about chemistry then you know that an alkaline substance is the opposite of an acidic one.

I think you can see where this is going.

So alkali is basically the opposite of an ACID database. Except Durable. If alkali is not durable then we want to hear about it as soon as possible.

So knowing this, why would you use alkali?

  • If you need a simple, stand alone, database-like library
  • If you need a document store
  • Minimal disk io
  • “Advanced” features like foreign keys
  • You’d like a database but must control the on-disk format
  • If a list of dict is a main data structure in your program
  • You often search/filter your data
  • You like the Django ORM but aren’t making a web app
  • 100% test coverage
  • You’d like to treat a remote api (REST, RSS, etc) as a db like data source
  • You need to convert from one file format to another

Plus alkali is really easy to use, if you’ve ever used the Django ORM then alkali’s API will feel very familiar as Alkali’s API was based off of Django’s.

Alkali was featured on PythonBytes episode # 119

Indices and tables