Skip to content

Instantly share code, notes, and snippets.

@mpkocher
Last active October 2, 2019 14:55
Show Gist options
  • Save mpkocher/d3821910c1b9d51b5acd5d8b45f501fd to your computer and use it in GitHub Desktop.
Save mpkocher/d3821910c1b9d51b5acd5d8b45f501fd to your computer and use it in GitHub Desktop.
pbcommand SL-Client Template
import datetime
import json
import copy
import time
import functools
import itertools
import pickle
import requests
import iso8601
import matplotlib.pyplot as plt
plt.rcParams['figure.figsize'] = [16, 8]
import pandas as pd
import seaborn as sns
sns.set(color_codes=True)
import pbcommand
from pbcommand.models import FileTypes
from pbcommand.pb_io import load_report_from
# This is not a private interface, but it's reasonable for internal purposes (e.g., TS) to use this.
from pbcommand.services._service_access_layer import SmrtLinkAuthClient
print datetime.datetime.now()
print pbcommand.get_version()
%config InlineBackend.figure_format = 'retina'
# adding timing to the cell via `pip install ipython-autotime` package
%load_ext autotime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment