SciTeX Rich PDF
Rich PDF is an embeddable PDF viewer with region overlays, comments, and a synchronized feed. The host supplies document access, feed content, and action handlers. The SciTeX SDK supplies PDF rendering and coordinate transforms.
Install
Install the Python distribution and locate its browser assets.
pip install scitex-rich-pdf
python -c 'import scitex_rich_pdf; print(scitex_rich_pdf.get_frontend_package_dir())'
Use the printed directory as an npm file dependency alongside a provider-capable
@scitex/sdk installation (0.3.25 or later). Both frontend packages can be
resolved from their Python distributions in the host's build. No npm registry
publication is required.
import { createPdfViewer } from "@scitex/sdk/ui/pdf-viewer";
import { createRichPdfViewer } from "@scitex/rich-pdf";
import "@scitex/rich-pdf/pdf-provider.css";
const viewer = createRichPdfViewer({
container: pdfElement,
feedContainer: feedElement,
createPdfViewer,
ports: {
documents: { resolve: resolveDocument },
overlays: { list: listRegions },
feed: { list: listEntries, renderEntry: renderEntryDetails },
events: { emit: handleEvent },
},
});
await viewer.load(documentKey);
The host places the PDF and feed containers in its layout. The feed is optional.
Use a document key that describes the current revision, and call load again
when the revision changes. Return a document with id, src, and optional
revision and readonly fields.
Regions have an id, a one-based page, and a bounding box
[x0, y0, x1, y1] in bottom-left PDF coordinates. Feed entries have an id,
label, and optional overlayId and data. An unanchored entry remains
selectable. Clicking a PDF rectangle selects the matching feed entry. Clicking
a feed entry selects and scrolls to its rendered rectangle when available.
The optional renderEntry callback returns DOM content for details and host
actions. The host can handle overlay-preview events from hover or keyboard
focus, as well as overlay-select and feed-select events.
The component also accepts comment, pen-input, and mutation-policy ports.
See the bundled TypeScript declarations for the complete interface. Perform
authorization and persistence in the host. Call destroy to remove component
UI and dispose of the renderer.
The provider originated in SciTeX Live Paper.
Metadata
Release files for scitex-rich-pdf 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scitex_rich_pdf-0.1.0.tar.gz | 22.9 kB | With provenance | Details for scitex_rich_pdf-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scitex_rich_pdf-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for scitex_rich_pdf-0.1.0-py3-none-any.whl |
Total release size: 44.3 kB
Release files / scitex_rich_pdf-0.1.0.tar.gz
| Download URL | scitex_rich_pdf-0.1.0.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df7ac7740342bc33664fc3f2c5bd156b34f30f8d6e3caf3a897d0b57ed891658
|
|
BLAKE2b-256 checksum How to use checksums |
db9d553f9e633cd444ffa175519b242ff9996925c6590ffd75c2bfc3cc87f80c
|
| 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 20, 2026.
Transparency logRelease files / scitex_rich_pdf-0.1.0-py3-none-any.whl
| Download URL | scitex_rich_pdf-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73d3813ad19bd47306dd1970015ceece19ba5222d43da3f6d24fe643047ff128
|
|
BLAKE2b-256 checksum How to use checksums |
d689f363c2733371859c6fb97e503ff3601f440a7b308cec486d5ca21cbcf337
|
| 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 20, 2026.
Transparency logSecurity for scitex-rich-pdf 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.
Attestation for scitex_rich_pdf-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 20, 2026.
Transparency logA 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.