Skip to main content

EntryLib pages

PyPI version Tests Downloads License Python versions

How EntryLib shows the claimsets it publishes: the page of a paper, as entrylib.org draws it. The portal (https://github.com/entrylib/portal) draws its pages with this package, and claimset preview draws the same page on the author's machine before a claimset is submitted, so that what the author sees is what will be published.

What it draws

  • The paper view: the claims in reading order under the paper's sections, each with its evidence, proof or figures, the terms it uses and the assumptions it rests on.
  • The record: every object of the claimset by kind (claims, evidence, definitions, assumptions, limitations, artefacts, references), to check what the paper rests on.
  • The panel and the contents: the Support score and its parts when they are given (the scores are computed by EntryLib's rubric, not here), the claims by kind, conflicts of interest, and the sections of the page.

The format, its validation and the plain-text reading view for models belong to the claimset package; this package is EntryLib's presentation of it, with the site's stylesheet and script.

Install

pip install entrylib-pages

It needs Python 3.10 or later and the claimset package, nothing else. In Python, import it as entrylib_pages.

Use

Before submitting a claimset, see it as EntryLib will show it, with the claimset command-line tool:

claimset preview paper.claimset.json      # the paper view and the record, written beside the file, and opened
claimset preview paper.zip --no-open      # a submission package: unpacked beside it, so its figures show

From Python:

import json
import entrylib_pages

doc = json.load(open("paper.claimset.json"))
html = entrylib_pages.preview_html(doc)                    # the paper view, as one self-contained HTML document
html = entrylib_pages.preview_html(doc, view="record")     # the record
  • entrylib_pages.preview_html(doc, scores=None, view="paper", note="", paper_href=…, record_href=…): the page, with the site's stylesheets and script inlined. Figures the claimset names by relative path (files/figures/a.png) are shown from beside the page, so write it in the folder that holds the claimset and its files; figures already published on EntryLib are shown from there. scores: the rubric's, if the caller has them.
  • entrylib_pages.stylesheet(): the page view's stylesheet (claimset.css).
  • entrylib_pages.__version__: the version of the pages.

Changing the pages

A change here changes entrylib.org's pages: it is designed in the portal's design document first (https://github.com/entrylib/portal/blob/main/docs/design-v1.md, §7) and checked with the portal's tests (AGENTS.md). A release raises version in pyproject.toml and __version__ in src/entrylib_pages/__init__.py; the build workflow drafts it on GitHub, and publishing the draft uploads it to PyPI (release).

Licence

Apache 2.0.

Metadata

Release files for entrylib-pages 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entrylib-pages 0.1.0
File Size Uploaded Provenance Actions
entrylib_pages-0.1.0.tar.gz 100.8 kB With provenance Details for entrylib_pages-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for entrylib-pages 0.1.0
File Interpreter ABI Platform Actions
entrylib_pages-0.1.0-py3-none-any.whl Python 3 none any Details for entrylib_pages-0.1.0-py3-none-any.whl

Total release size: 205.3 kB

Release files / entrylib_pages-0.1.0.tar.gz

Download URL entrylib_pages-0.1.0.tar.gz
Size 100.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cbf8147e516a9271d8c5899641b1ea9942d300af5344d424d2f7631ed819cce8
BLAKE2b-256 checksum
How to use checksums
fc9ba1f6ec70c2d10d8166f3719313af92ff2ae46f00b00b77f14b493a7ef03f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / entrylib_pages-0.1.0-py3-none-any.whl

Download URL entrylib_pages-0.1.0-py3-none-any.whl
Size 104.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18d21619ea1e599239a419a67611edf0c1ba6880c83132b77e48728346f3b8ae
BLAKE2b-256 checksum
How to use checksums
a515a7e4b7da26ddf03a8cb6c7c1c025fff2ff9d6f35a0dc9f1dbd8238876a95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for entrylib-pages 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for entrylib_pages-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page