Skip to main content

A translator of BibTeX to HTML.

Project description

pybib2web

Convert BibTeX .bib files into a directory of HTML files.

The created HTML provide individual HTML pages for publications by year, publication type (category), author, keyword, and funding. A single-page view is also available. pybib2web provides semantics and easy customizability of each BibTeX element through HTML ids and classes.

This makes it easy to choose the data to display and style the bibliography to your needs.

Send us a message or create an issue if you require any assistance and/or have feedback!

Examples

You can find a raw example in doc/example/index.html. This example is generated with:

pybib2web --config doc/example/config.yml --output doc/example doc/example/db.bib

Two pages that use pybib2web with styling:

Requirements

  • python 3.8

Optional requirements

detex is required to detexify BibTeX-entries that use LaTeX commands, e.g., \sc{} or ~. If detex is not installed, these LaTeX commands will be visible in the HTML output.

Installation

After cloning the repository, run pip install -e . to install pybib2web and its dependencies.

Usage

Run pybib2web --help to show all available command-line options.

Basic usage:

pybib2web BIBFILE(s)

This will write a directory of HTML files to bib/. The index of these files is bib/index.html.

This will, among other things, create an individual publication page for all authors that appear in the given BibTeX files. Often, one only wants to create these author-centered pages for individual authors- for example for oneself or a specific group of people. pybib2web can be configured through a config file to do this:

pybib2web --config CONFIG_YAML BIBFILE(s)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybib2web-0.5.1.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

pybib2web-0.5.1-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file pybib2web-0.5.1.tar.gz.

File metadata

  • Download URL: pybib2web-0.5.1.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for pybib2web-0.5.1.tar.gz
Algorithm Hash digest
SHA256 f337b4eb8c1a87cc6d4902fe170fc111e58d41f146c74ea077487ba5de5ae35d
MD5 d69a82f3d7efa172a297b67c272ae383
BLAKE2b-256 2dbb74b317e516c8281c9c0eefdfbb4cfc1dbd08359cefce0ddaf181de85ee68

See more details on using hashes here.

File details

Details for the file pybib2web-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: pybib2web-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for pybib2web-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 217c17faae738ee9c34fbb659108e41f7342cf64e46f56c8df9b5ab6c3ceb0e7
MD5 5a466aec28fbc8cbd4df2cd4dd827eb7
BLAKE2b-256 3639d281b687ad00afa662f2120b0c630e5394ed7162dad1aff954c7be95f25c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page