This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
''' | |
recombine the multistream index file into an output | |
file path of your choice, for a given wiki and date | |
''' | |
import os | |
import re | |
import bz2 | |
import getopt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import getopt | |
import sys | |
import json | |
import time | |
import types | |
import requests | |
# pylint: disable=broad-except |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import sys | |
import getopt | |
import requests | |
def usage(message=None): | |
'display a usage message' | |
if message: | |
sys.stderr.write(message + "\n") |
NewerOlder