Skip to content

Instantly share code, notes, and snippets.

@jasonmellone
jasonmellone / superCBPRO_AuthenticatedClient.py
Created May 9, 2021 23:56
Adding endpoints that are not part of the cbpro library.
import datetime
import json
import time
import cbpro.authenticated_client as cbpro_authenticated_client
class Extended_AuthenticatedClient(cbpro_authenticated_client.AuthenticatedClient):
def __init__(self, key, b64secret, passphrase):
@jasonmellone
jasonmellone / DynamoDataFrame
Last active September 8, 2020 15:09
A low memory dataframe native access point
import os
import pickle
class DynamoDataFrame:
def render_fhandle(self, mode='wb'):
return open(file=self.full_fpath, mode=mode)
def __init__(self, full_fpath=None, df=None):