Skip to content

Instantly share code, notes, and snippets.

View muelli's full-sized avatar

muelli

View GitHub Profile
#!/usr/bin/env python
import argparse
import sys
from pgpdump import BinaryData
def main(args):
parser = argparse.ArgumentParser(description='Process OpenPGP files')
#parser.add_argument('integers', metavar='N', type=int, nargs='+',
#!/usr/bin/env python
# encoding: utf-8
"""Minimal python commad line."""
__version__ = '0.1'
import sys
import argparse
@muelli
muelli / stands.py
Created January 22, 2018 08:22
Parser for projects having a stand at FOSDEM
#!/usr/bin/env python3
import logging
import sys
from bs4 import BeautifulSoup
content = open(sys.argv[1])
bs = BeautifulSoup(content, 'html.parser')
@muelli
muelli / distros.py
Created January 22, 2018 23:10
distrowatch to CSV extractor
#!/usr/bin/env python
import logging
import pulldistros
log = logging.getLogger(__name__)
def main():
distros = pulldistros.distros()