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.12+

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

Install pybib2web and its runtime dependencies:

pip install .

For development (includes linters, type checker, formatter, and test runner):

pip install -e ".[dev]"

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.7.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybib2web-0.7-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybib2web-0.7.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for pybib2web-0.7.tar.gz
Algorithm Hash digest
SHA256 877ea79d62eb733d8052ee02475367e503146a8cd5350adbf99cd16d62beb58d
MD5 bea4fd3bc587e2444f0df3fe39d34056
BLAKE2b-256 2d90b43560af30338692f37c80eed3ebf0d8d65876d94a868b253522d8863ce5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybib2web-0.7-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for pybib2web-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7c852e0904de647e4eaa97e45005964bb9bd07a98e1305b445c9733aef4f6a6f
MD5 cca123fb432be0a073e88a36795ea038
BLAKE2b-256 11f733c24d0cb1fdeb2dd5ff1fc089850583987b744a6889209b369e378b8b79

See more details on using hashes here.

Supported by

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