Skip to content

Instantly share code, notes, and snippets.

View gonvaled's full-sized avatar
💭
Working as senior backend python develper, and accepting requests

Daniel G. gonvaled

💭
Working as senior backend python develper, and accepting requests
View GitHub Profile
@wiebren
wiebren / locust-wrapper.py
Last active April 14, 2017 16:55
Locust MonKit wrapper for Jenkins
import argparse
import subprocess
import sys
import re
from collections import defaultdict
from lxml import etree
report = ["Min", "Avg", "Median", "95%", "99%"]
@aparrish
aparrish / simplecometclient.py
Created January 24, 2012 21:57
simple python comet client
import email.utils # for rfc2822 formatted current timestamp
import requests
class CometClient(object):
def __init__(self, last_modified=None):
if last_modified is None:
self.last_modified = email.utils.formatdate()
else:
self.last_modified = last_modified