|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
| class | BSON |
Namespaces | |
| bson | |
Functions | |
| def | get_data_and_view (data) |
| def | gen_list_name () |
| def | encode (document, check_keys=False, codec_options=DEFAULT_CODEC_OPTIONS) |
| def | decode (data, codec_options=DEFAULT_CODEC_OPTIONS) |
| def | decode_all (data, codec_options=DEFAULT_CODEC_OPTIONS) |
| def | decode_iter (data, codec_options=DEFAULT_CODEC_OPTIONS) |
| def | decode_file_iter (file_obj, codec_options=DEFAULT_CODEC_OPTIONS) |
| def | is_valid (bson) |
| def | has_c () |
Variables | |
| EPOCH_AWARE = datetime.datetime.fromtimestamp(0, utc) | |
| EPOCH_NAIVE = datetime.datetime.utcfromtimestamp(0) | |
| string | BSONNUM = b"\x01" |
| string | BSONSTR = b"\x02" |
| string | BSONOBJ = b"\x03" |
| string | BSONARR = b"\x04" |
| string | BSONBIN = b"\x05" |
| string | BSONUND = b"\x06" |
| string | BSONOID = b"\x07" |
| string | BSONBOO = b"\x08" |
| string | BSONDAT = b"\x09" |
| string | BSONNUL = b"\x0A" |
| string | BSONRGX = b"\x0B" |
| string | BSONREF = b"\x0C" |
| string | BSONCOD = b"\x0D" |
| string | BSONSYM = b"\x0E" |
| string | BSONCWS = b"\x0F" |
| string | BSONINT = b"\x10" |
| string | BSONTIM = b"\x11" |
| string | BSONLON = b"\x12" |
| string | BSONDEC = b"\x13" |
| string | BSONMIN = b"\xFF" |
| string | BSONMAX = b"\x7F" |
| def | decode_all = _cbson.decode_all |