Skip to main content

A document-oriented database written purely in Python.

Project description

Blitz is a document-oriented database toolkit for Python that is backend-agnostic.

It comes with a flat-file database for JSON documents and provides MongoDB-like querying capabilities.

Key Features

  • Document-based, object-oriented interface.

  • Powerful and rich querying language.

  • Deep document indexes on arbitrary fields.

  • Compressed storage of documents.

  • Support for multiple backends (e.g. file-based storage, MongoDB).

  • Support for database transactions (currently only for the file-based backend).

Documentation

An extensive documentation, including tutorials and installation instructions is available on ReadTheDocs.

Source Code

The source code is available on GitHub.

Isssue Tracker

If you should encounter any problems when using BlitzDB, please feel free to submit an issue on Github.

Changelog

  • 0.2.2: Fix for slice operators in MongoDB backend.

  • 0.2.1: Better tests.

  • 0.2.0: Support for including additional information in DB references. Support for accessing document attributes as dictionary items.

    Added $regex parameter that allows to use regular expressions in queries.

  • 0.1.5: MongoDB backend now supports database transactions. Database operations are now read-isolated by default, i.e.

    uncommitted operations will not affect database queries before they are committed.

  • 0.1.4: Improved indexing of objects for the file backend, added support for automatic serialization/deserialization

    of object attributes when adding keys to or querying an index.

  • 0.1.3: Sorting of query sets is now supported (still experimental)

  • 0.1.2: Small bugfixes, BlitzDB version number now contained in DB config dict

  • 0.1.1: BlitzDB is now Python3 compatible (thanks to David Koblas)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blitzdb-0.2.2.tar.gz (25.7 kB view details)

Uploaded Source

File details

Details for the file blitzdb-0.2.2.tar.gz.

File metadata

  • Download URL: blitzdb-0.2.2.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for blitzdb-0.2.2.tar.gz
Algorithm Hash digest
SHA256 d2040ccac0c1762901ff58bcdf008bd8f71a335e2bd86f7311ccf83cb94b5366
MD5 9fc927addcace8c3caef93bdb455df8c
BLAKE2b-256 00fcf8a37318d03bc301f860cca903be008aac8907f4f806f8fce45f10bb2630

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page