Skip to content

Instantly share code, notes, and snippets.

View BobClaerhout's full-sized avatar

Bob Claerhout BobClaerhout

  • Antwerp, Belgium
View GitHub Profile
@BobClaerhout
BobClaerhout / file2mongo.py
Created November 25, 2020 16:03
Hono file to mongo device registry
#!/usr/bin/env python3
import json
import argparse
from uuid import uuid4
from enum import Enum
from typing import Dict
from datetime import datetime