PYPI PACKAGE AUDIT v0.2.0 Incomplete

sttex

Venue-aware LaTeX paper templates, build modes, and reading themes

PyPkgScore sttex
Methodology & Criteria ♥ Donate
360 / 1000
Quick Install
pip install sttex
1. Governance
50/200
2. PEP Metadata
100/200
3. Security
150/200
4. Docs & SEO
60/200
5. CI Engineering
0/200
📣 Share Audit: Share this report and visual preview in the current language
Advertisement
PYPI TELEMETRY

Downloads & Community Adoption

Last 30 days (without mirrors)
Last 7 days
109
Last 30 days
109
Total (180 days)
109
Metric / Ecosystem Status / Value Source
Downloads (30d / 180d) — PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) ✓ Verified OIDC PyPI Integrity / Sigstore
Django Packages — djangopackages.org
PyTech / PyPkgScore 360 / 1000 PyPkgScore Engine

Health & Engineering Analysis (5 Pillars)

1. Governance & Community50 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✕ 0 pts
CONTRIBUTING.md✕ 0 pts
CODE_OF_CONDUCT.md✕ 0 pts
2. PEP Metadata & Packaging100 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✕ 0 pts
Trove Classifiers✕ 0 pts
3. Security & Supply Chain150 / 200 ▾
Zero CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✓ 50 pts
Snyk / Audit Link✓ 40 pts
HTTPS Repository✕ 0 pts
4. Documentation, SEO & Ecosystem60 / 200 ▾
Structured README✓ 60 pts
Read the Docs✕ 0 pts
Django Packages✕ 0 pts
Website / Technical Articles✕ 0 pts
5. Engineering, CI & Quality0 / 200 ▾
Automated Tests✕ 0 pts
GitHub Actions CI✕ 0 pts
CHANGELOG.md✕ 0 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)✕ 0 pts
Advertisement
README & DOCS

Official Documentation & Usage Guide — sttex

PyPI Metadata v0.2.0
Show full original documentation (English README) ▾

STTeX (sttex)

A pip-installable LaTeX paper build and template manager, built on the official publishers' TeX packages rather than replacing TeX or modifying journal styles.

Supported venues and publication modes

Venue preprint print incognito
basic One-column author-visible article Two-column article Two-column anonymous article
physrev REVTeX preprint REVTeX reprint REVTeX preprint, anonymized author placeholder
jhep Official JHEP layout, named authors Same official layout Anonymous author placeholder (not official blind mode)
neurips Official [preprint] Official [final], accepted papers only Official anonymous review (no option)
icml Official [preprint] Official [accepted], accepted papers only Official anonymous review (no option)
iclr Official \iclrfinalcopy, author-visible reading copy Official \iclrfinalcopy, accepted papers only Official anonymous review (no final-copy command)

The modes express intent, not a guarantee of submission eligibility. See the current venue rules before submitting. For example, print for NeurIPS / ICML / ICLR should not be used to imply acceptance when a manuscript is still under review. incognito for JHEP/REVTeX only masks the generated author block; it is not a full metadata, acknowledgments, figures, or self-citation anonymizer.

Independent appearance: light (default, submission-oriented) and night (personal reading copy). The night overlay does not modify official .sty files and changes colors but not venue layout. Explicitly colored images or artwork may still need adjustments.

Install and use

pip install .                     # in this repository (before PyPI publishing)
sttex list
sttex sources
sttex new my-paper --venue iclr --mode incognito --theme light
sttex fetch my-paper          # publisher-owned styles downloaded on demand
sttex doctor my-paper
sttex build my-paper

Use pip install sttex after the project is published to PyPI (not published yet).

Reuse an existing paper without editing its source

If xgemm-paper/paper/main.tex inputs the section files introduction.tex, xgemm.tex, fung.tex, etc.:

sttex prepare xgemm-paper --venue physrev --mode preprint --theme night \
  --output /tmp/xgemm-physrev-night
sttex build /tmp/xgemm-physrev-night

Output: /tmp/xgemm-physrev-night/paper-physrev-preprint-night.pdf. Copy the result to your repository root or upload it from Actions. The source xgemm-paper/paper/main.tex and sections remain unchanged. prepare reads standalone \input{...} directives in the original main.tex and copies the files in paper/ to a build copy. More complex custom document-class macros may need an extra adapter later.

Style layout within the installed wheel

src/sttex/resources/styles/
  sttex-common.sty      # math, graphics, TikZ, PGFPlots; avoids geometry changes
  sttex-theme.sty       # light/night color handling
  sttex-basic.sty
  sttex-physrev.sty
  sttex-jhep.sty
  sttex-neurips.sty
  sttex-icml.sty
  sttex-iclr.sty
src/sttex/resources/bib/
  sttex.bst             # LPPL-modified plainnat: optional linked metadata
  sttex-links.sty

The sttex-<venue>.sty adapter files load the common science packages and optional night overlay. Original official publisher files are not modified or bundled into the PyPI wheel. REVTeX is provided by TeX Live; other assets are downloaded by sttex fetch and recorded in sttex-official-assets.json with SHA-256 hashes.

Official asset sources

Sources and archive filenames are codified in src/sttex/assets.py. Official sources must be available on the machine running sttex fetch; checksums are created after downloading rather than falsely asserting predetermined hashes.

GitHub Actions

A manual workflow example is included in examples/xgemm-paper/.github/workflows/latexbuild.yml. Once you have published sttex to PyPI, copy it into xgemm-paper to select a venue and compile either a single mode/theme or all six combinations. No Modal GPU is needed for TeX compilation.

Notes

The basic bibliography sttex.bst is derived from plainnat.bst and retains its LPPL notice; the other original Python and TeX adapter files are MIT-licensed. Official venue bibliography styles always take precedence when the target is not basic.

Version 0.2.0 was tested offline for generated wrappers and for basic/REVTeX compilation. Downloading and building all four external venue archives is not validated in this environment; run sttex fetch and sttex doctor in an environment with internet access before relying on the resulting PDFs.

STTeX themes and notes migration (v0.2)

Your original dacnotes.sty became three layers:

  • sttex-common.sty imports safe math/graphics packages, without changing page layout.
  • sttex-theme.sty handles light/night colors, neon PGFPlots cycle, captions, hyperlinks, headers, and footnotes. Night mode uses background #1C1F24, foreground #D6D9DE, and cyan links #7FB4E6.
  • sttex-theorems.sty provides your semantic theorem/lemma/definition/corollary boxes; it is opt-in for publisher templates to avoid conflicting with venue theorem environments.
  • sttex-notation.sty provides your common mathematics macros.
  • sttex-notes.sty mirrors dacnotes for ordinary notes, accepting night, nothms, and nogeometry. Do not use it with official journal classes; prefer sttex-physrev, sttex-iclr, etc.
% Generic notes (geometry and theorem boxes included):
\usepackage[night]{sttex-notes}

% Physical Review (theme only; no venue layout override):
\documentclass[aps,preprint]{revtex4-2}
\usepackage[night]{sttex-physrev}

% Optional theorem boxes in venue papers when not already defined:
\usepackage{sttex-theorems}

In night mode, PGFPlots adopts a cyan/magenta/lime/amber/violet cycle unless you set explicit plot colors. The author identity mode is chosen by the CLI and venue wrapper, not by the palette package. --mode incognito is an optional anonymized draft for Physical Review, not a publisher-required blind review setting; it masks generated author blocks and metadata but cannot remove identifying references, acknowledgments, and user-supplied graphics.