Modules

bson_lazy

Lazy BSON reader.

bson_lazy.__init__.load(fh, as_class=<type 'dict'>, tz_aware=True, uuid_subtype=3)[source]

Decode BSON data to multiple documents.

fh must be a file-like object of concatenated, valid, BSON-encoded documents.

Parameters :
  • fh: a file-like object supporting .read()
  • as_class (optional): the class to use for the resulting documents
  • tz_aware (optional): if True, return timezone-aware datetime instances

bson2json

Simple utility to display BSON files.

bson2json.main()[source]

Table Of Contents

Related Topics

This Page