PK?N K chartsh.py"""Seamlessly uploading altair charts to chartsh.com""" import requests import json __version__ = "0.1" def upload(chart, title = "null", description = "null"): """ Upload chart publically to chartsh.com """ url = "http://www.chartsh.com/ingest/submit/" data = {"json": chart.to_json(), "id": "null", "title": title, "description": description} page = requests.post(url = url, data = data) # print(page.content.decode("utf-8")) return(page.content.decode("utf-8"))PK!HMuSachartsh-0.1.dist-info/WHEEL HM K-*ϳR03rOK-J,/RH,szd&Y)r$[)T&UD"PK!H"hchartsh-0.1.dist-info/METADATAM0D`LLOz3*x yjZˁ$ؠ`r-4S%z2Pw$v3F1L*B(F788-cw#٫{JlNd0ZQ=E7\G>sy(ORmG83Ac/w'Mȣu7er޴PK!HE chartsh-0.1.dist-info/RECORDu;0Н,Uh|Q`F>8XPJO2Ar'.mՂ]O0gRSh1H>Pd$ BIjŪͻYDuxfLj#l=:w\5(DGVjD _J4ަk?+|#~lrA7@hg PK?N K chartsh.pyPK!HMuSa(chartsh-0.1.dist-info/WHEELPK!H"hchartsh-0.1.dist-info/METADATAPK!HE chartsh-0.1.dist-info/RECORDPK