PK!C++pyhandsontable/__init__.pyfrom .app import generate_html, view_table PK!{_;pyhandsontable/app.pyfrom jinja2 import Environment, PackageLoader from threading import Timer import os from IPython.display import IFrame env = Environment( loader=PackageLoader('pyhandsontable', 'templates') ) def generate_html(data, **kwargs): template = env.get_template('sheet.html') return template.render(data=data, **kwargs) def view_table(data, width=800, height=500, autodelete=True, **kwargs): # A TemporaryFile does not work with Jupyter Notebook html_file = 'temp.handsontable.html' try: with open(html_file, 'w') as f: f.write(generate_html(data=data, width=width, height=height, **kwargs)) return IFrame(html_file, width=width, height=height) finally: if autodelete: Timer(5, os.unlink, args=[html_file]).start() PK!+#pyhandsontable/templates/sheet.html {{ title }}
PK!H_zTT$pyhandsontable-0.1.8.dist-info/WHEEL A н#Z;/"d&F[xzw@Zpy3Fv]n0H*J>mlcAPK!H[ 'pyhandsontable-0.1.8.dist-info/METADATAUQS8~؛$Lh!JrM{Wvz1Ӈow߮/3 \MְkS:CoB=[Wfhf$/,!3<Fl6#ڒPa<*!M\ؖM&6 &Z&0%U2w y>lq)b=?tehڨ( / KXaN/a!(x %[k%DMÃ(2-RAK\Jhc`%z"^HOMHW4sۜS[a }*+>+ܾȖ]@KS`]frc̓nuGnf %`2[ͫ,6bсb{b2C 0gN> L$4+_2Y:EitPQsٸ&l TUgGRs~/*ՔѪn!,X6l+}eնW*PK!Hm7%pyhandsontable-0.1.8.dist-info/RECORDлv0oA$ЁCA BHꃯ9wýJ=KX$I,I*R*ڸ[; yӀ棌. _s7fX4qttVN~sCWE,lRi)|X m UQ0b]R-I \BL|>De2_z)"D