PK!Ûpubimport/__init__.pyimport pathlib import bibtexparser import click from click import command, Path, argument, File from dominate.tags import * @command() @argument('source_dir', type=click.Path(exists=True)) @argument('destination', type=File('w')) def cli(source_dir, destination): root = pathlib.Path(source_dir) container = div() for source in root.iterdir(): with source.open() as f: data = bibtexparser.load(f) container.add(section()) # for entry in data.entries: destination.write(container) # for topic in topics # section.topic-section # h2.h2.topic-title= topic.title # ul.paper-list # for paper in topic.papers # li # h3.paper-title= paper.title # p= paper.authors # p= paper.journal PK!H_%+*pubimport-0.1.0.dist-info/entry_points.txtN+I/N.,()*(M-/*s2PK!HڽTUpubimport-0.1.0.dist-info/WHEEL A н#Z;/"d&F[xzw@Zpy3Fv]\fi4WZ^EgM_-]#0(q7PK!H?!X"pubimport-0.1.0.dist-info/METADATAOO0=j5 ,W<,v-%ނF­y{ӗA8X3$r6|#R9pJİӏu~(Q_e^4R(Qҍ͗rZ}Y;/Ae_{aІۃ}2a ;ڀ]jU>^m+ʳdddg&B;0~rhY3V@,XXehK#:O \kP݉oB7=PK!HjP pubimport-0.1.0.dist-info/RECORD}B@}24d'*G̩L5afb8oe++cʨXhXyr^QddfB'bT洑 ew>%L2٨uBVr:׫Dihn 3Vq̿vTjw Ӑ|ӝkDݭ2;V,/EʎvT(ϭ e#G'Mok)I l, "opX0PK!Ûpubimport/__init__.pyPK!H_%+*Lpubimport-0.1.0.dist-info/entry_points.txtPK!HڽTUpubimport-0.1.0.dist-info/WHEELPK!H?!X"Jpubimport-0.1.0.dist-info/METADATAPK!HjP pubimport-0.1.0.dist-info/RECORDPK