Skip to content

Instantly share code, notes, and snippets.

@ixtk
ixtk / books.json
Created March 31, 2024 06:58
Sample MongoDB data
[
{
"title": "Me month black bank.",
"author": "Andrew Terry",
"publisher": {
"$oid": "5deaf6f8eb8f44ffae902cdb"
}
},
{
"title": "Cup feeling fear street.",
from pathlib import Path
from hachoir.parser import createParser
from hachoir.metadata import extractMetadata
from datetime import datetime
import os
import time
# dictionary generated by chatGPT
c = {
"Apr 10": 51,