Skip to content

Instantly share code, notes, and snippets.

@drwelby
drwelby / mb2s3.py
Last active December 15, 2015 01:39 — forked from emacsen/mb2s3.py
#!/usr/bin/env python
"""Script to upload contents of an mbtile to an s3 storage bucket"""
from boto.s3.connection import S3Connection
from boto.exception import S3ResponseError
import sqlite3
import sys
import os
import time