see requirements.txt
https://github.com/samstav/cryptography/tree/rsa-bypass-hash-on-signer https://github.com/ryandub/pychef/tree/cryptofix
😆
The requests.session and CheckmateClient stuff I wrote does this exact thing under the hood.
from pawn import client
from pawn.rackspace import AuthRackspaceIdentity, AuthRacker| import os | |
| import random | |
| import tempfile | |
| def somebytes(length=512): | |
| return ''.join(chr(random.randint(0,255)) for _ in xrange(length)) | |
| def same(f1, f2): |
| master = true | |
| #vv = true | |
| port = 27017 | |
| bind_ip = 0.0.0.0 | |
| auth = false | |
| noauth = true | |
| jsonp = true | |
| rest = true | |
| fork = false | |
| #upgrade = true |
| """Who owns the fish? | |
| Einstein's riddle. | |
| """ | |
| import collections | |
| import itertools | |
| import math | |
To take any bunch of printed columns from stdout and turn them into lists of dictionaries...
def parse_block(block, headers=True, delimiter=None):
"""Return a list of items for each row.
If there are headers in the block of text, they will
be parsed out and a list of dicts will be returned.from multiprocessing import pool
import Queue
class CheckableQueue(Queue.Queue):
"""A Checkable Queue that makes room for new values automatically.
Based on the standard FIFO Queue, this class is good for keeping{
"cpu": {
"0": {
"cache_size": " KB",
"cores": 1,
"family": "1",
"mhz": "2594",
"model": "11527",
"model_name": "Intel64 Family 6 Model 45 Stepping 7",