Skip to main content

Telegraphy

Build Quality Gate Status Bugs Code Smells Coverage Duplicated Lines (%) Technical Debt Maintainability Rating Vulnerabilities Reliability Rating Security Rating Lines of Code

License: MIT

Telegraphy is a Python package and command-line tool for generating structured story briefs from a versioned, data-driven canon dataset.

It exposes two user-facing entry points:

  • story-brief (CLI)
  • telegraphy-gui (desktop GUI)

Telegraphy does not write prose. It generates the feedstock: YAML front matter, scenario constraints, style guidance, date-aware character and setting selections, optional sexual-content metadata, and a Markdown drafting scaffold. The result is a repeatable prompt artifact that can be copied into a writing workflow or saved as a Markdown seed file.

Contents

What is this?

Telegraphy is the focused story-brief generator for the Commuted fiction universe.

At a practical level, it is:

  • a Python package named telegraphy;
  • a CLI named story-brief;
  • a packaged JSON dataset under telegraphy/story_brief/data/;
  • validation and linting tools for keeping that dataset usable;
  • tests and CI for preserving deterministic generation behavior.

A generated brief includes:

  • title;
  • protagonist and secondary character;
  • date;
  • setting;
  • weather;
  • central conflict;
  • inciting pressure;
  • ending type;
  • style guidance;
  • sexual content level;
  • sexual partner metadata when applicable;
  • sexual scene tags when applicable;
  • word-count target;
  • a Markdown story-draft heading.

The generator is date-aware. Character availability, setting availability, and partner distributions are constrained by configured date ranges. That is the point of the tool: it lets the fiction machine throw sparks without setting the continuity barn on fire.

Install

Telegraphy requires Python 3.14 or newer.

For normal local use from a clone:

git clone https://github.com/jeffreywevans/Telegraphy.git
cd Telegraphy
python -m pip install -e .

For development:

python -m pip install -e ".[dev]"

The development extra installs the tools used by the repository:

  • build
  • setuptools
  • packaging
  • pytest
  • pytest-cov
  • ruff
  • mypy
  • types-PyYAML

You can verify that the CLI is available with:

story-brief --help

You can also run it as a module:

python -m telegraphy.story_brief --help

You can verify that the GUI launcher is available with:

telegraphy-gui --help

If you prefer module execution:

python -m telegraphy.gui.tablet_app

Quickstart

Print a generated brief to the terminal:

story-brief --print-only

Generate a reproducible brief for a specific date:

story-brief --seed 42 --date 2000-01-01 --print-only

Write a brief to the default output directory:

story-brief

By default, Telegraphy writes Markdown files under:

output/story-seeds/

Use an explicit filename:

story-brief --filename brief.md

Overwrite an existing file only when you mean it:

story-brief --filename brief.md --force

Run dataset linting without generating a brief:

story-brief --lint-dataset

Example clean report:

Dataset lint: no blocking coverage gaps found.
Dataset lint: no warnings.

Run strict validation before generation:

story-brief --validate-strict --print-only

GUI quickstart

Start the GUI:

telegraphy-gui

Press Generate brief to run the same generator used by the CLI (python -m telegraphy.story_brief --print-only).

Use the Seed and Date fields to forward --seed and --date to the CLI for reproducible GUI runs.

Press Copy to copy the most recent successful brief to your clipboard.

Using the GUI

The GUI is a spacious Nord-themed reading workspace around the existing story-brief engine. Frost-blue controls sit above a read-only brief preview; the decorative tablet frame has been removed.

What happens when you click Generate brief

  1. The GUI disables Generate brief to avoid overlapping runs. The last successful brief remains visible and copyable.
  2. It starts a background worker thread so the window stays responsive.
  3. The worker executes: python -m telegraphy.story_brief --print-only.
  4. On success, a readable preview presents the brief’s title, metadata, characters, setting, and instructions. Copy puts the complete original Markdown, including YAML front matter, on the clipboard.
  5. On failure, diagnostics appear near the controls. The previous brief and its clipboard content are preserved.

GUI layout

  • Header: app title, version, and generation status.
  • Toolbar:
    • Generate brief: run generation.
    • Copy: copy last successful output.
    • Status: live state (Ready, Generating, Generated, Failed, Copied).
  • Reading pane: spacious, read-only preview with highlighted headings and a scrollbar.
  • Keyboard: Ctrl+Enter (Command+Enter on macOS) generates a brief. Tab moves between controls.

GUI behavior details

  • Uses your local Python interpreter (sys.executable) and inherited environment (os.environ) by design; this is convenient for virtualenv workflows, but also means local environment changes can alter behavior.
  • GUI CLI worker has a default 30-second timeout (override with telegraphy-gui --timeout <seconds>).
  • telegraphy-gui --help is supported without launching a window.
  • In headless environments, startup fails cleanly with a user-facing error instead of a tkinter traceback.
  • Decodes CLI output using your preferred locale encoding, then falls back to UTF-8 with replacement for robust display.
  • Never writes files directly; it always requests --print-only output from the CLI.
  • Clipboard copy only works after a successful generation.

GUI troubleshooting

  • If telegraphy-gui fails to launch, ensure tkinter is available in your Python build.
  • If generation fails, read the diagnostic near the controls; the previous successful brief remains available.
  • For reproducible debugging, run the CLI directly with explicit flags (for example story-brief --seed 42 --date 2000-01-01 --print-only).

CLI examples

CLI reference

Option Purpose
--print-only Print Markdown to the terminal and skip file writing.
--seed <int> Use deterministic randomness for reproducible briefs; omit it to use OS-backed entropy.
--date YYYY-MM-DD Force the story date for scenario testing.
-o, --output-dir <path> Choose the output directory. Defaults to output/story-seeds.
--filename <name.md> Choose the output filename; the final extension must be .md.
--force Allow overwriting an existing output file.
--validate-strict Validate date-range generation preconditions before generating.
--lint-dataset Run dataset lint diagnostics and exit.
-h, --help Show command help.

Print only

Use this when you want to copy the generated prompt directly from the terminal.

story-brief --print-only

Reproducible generation

Seeded output is intended for debugging, tests, reviews, and repeatable creative workflows.

story-brief --seed 8675309 --print-only

Lock both the random seed and the story date:

story-brief --seed 42 --date 2000-01-01 --print-only

That command produces Markdown shaped like this:

---
title: The Benefits of Posing for Playboy
protagonist: Jeremy Evans
secondary_character: Sarah Malcolm
time_period: '2003-01-25'
setting: Commonwealth Stadium – Edmonton, AB, Canada
weather: great
central_conflict: The protagonist’s sense of self starts dissolving inside the band’s
  found-family machinery.
inciting_pressure: Kathy wants the guys to care more about fashion
ending_type: bittersweet
style_guidance: cinematic third-person with escalating tension, personal safety fear,
  and dark accusations.
sexual_content_level: on_page_full
sexual_partner: third_party_female
sexual_scene_tags:
- backstage
- marathon
- detached
- affection
- delight
- downward_doggy
word_count_target: 9500
---

Interpret the YAML and write a deliciously wild short story, based on the material. You may indulge yourself in every regard. Use the canon, and writing style guidelines. Before writing the final story, use your writing style-book guidelines: 1. Scene headers use slug format. 2. Dialogue appears only in CHARACTER NAME blocks. 3. No dialogue appears inside prose paragraphs. 4. Character names in dialogue blocks are ALL CAPS.

# The Benefits of Posing for Playboy

## Story Draft

*Write a story of approximately 9500 words using the YAML brief above.*

Write to a specific directory

story-brief --output-dir output/story-seeds

The output directory is resolved under the current working directory. Telegraphy intentionally refuses output paths that escape that tree.

Pick the filename

story-brief --filename "first-pass.md"

Filenames are sanitized and checked for cross-platform safety. Telegraphy rejects path separators, dot-segments, leading or trailing spaces, Windows device names, and other file-system traps.

Validate before generating

story-brief --validate-strict --seed 42 --date 2000-01-01 --print-only

Strict validation checks generation preconditions across the configured date range before creating output.

Lint the dataset

story-brief --lint-dataset

Linting emits a concise report and exits without generating a brief.

A clean dataset reports:

Dataset lint: no blocking coverage gaps found.
Dataset lint: no warnings.

Data override

Telegraphy ships with its canonical dataset inside the package:

telegraphy/story_brief/data/

The packaged dataset contains fifteen required JSON files. Thirteen files own the fourteen generated fields; characters.json supplies both character fields. The remaining two files hold shared metadata and the writing preamble.

titles.json
characters.json
time_period.json
settings.json
weather.json
central_conflicts.json
inciting_pressures.json
ending_types.json
style_guidance.json
sexual_content_levels.json
sexual_partners.json
sexual_scene_tags.json
word_count_targets.json
config.json
writing_preamble.json

For experiments, alternate timelines, review fixtures, or private datasets, point Telegraphy at another directory:

TELEGRAPHY_DATA_DIR=/absolute/path/to/story-data story-brief --print-only

TELEGRAPHY_DATA_DIR is the only supported environment variable override. The legacy COMMUTED_STORY_BRIEF_DATA_DIR override was removed and is intentionally ignored.

Override directories must:

  • be absolute paths after optional current-user ~ expansion;
  • already exist;
  • contain all fifteen required JSON files in the field-file layout;
  • avoid parent-directory traversal;
  • avoid ~user expansion;
  • avoid NUL bytes.

Only the known dataset filenames are loaded. Telegraphy refuses unknown data-file requests and checks that resolved files remain inside the configured data directory.

Data-file responsibilities

Each generated field has a single owning file. Its choices, weights, availability windows, and selection rules stay together in that file.

Generated field File Contents
title titles.json Title templates.
protagonist, secondary_character characters.json Shared date-bounded character availability.
time_period time_period.json Inclusive story-date range (date_start, date_end).
setting settings.json Date-bounded setting availability.
weather weather.json Weather choices and optional explanatory comment.
central_conflict central_conflicts.json Conflict choices.
inciting_pressure inciting_pressures.json Inciting-pressure choices.
ending_type ending_types.json Ending choices.
style_guidance style_guidance.json Writing-style choices.
sexual_content_level sexual_content_levels.json Content-presence options and their weights.
sexual_partner sexual_partners.json Date-aware partner distributions and counting policy.
sexual_scene_tags sexual_scene_tags.json Tag groups, count weights, required groups, and optional groups.
word_count_target word_count_targets.json Word-count choices.

config.json contains only schema_version, dataset_version, and ordered_keys. The physical file layout uses schema version 2. writing_preamble.json contains only writing_preamble.

Supported title tokens in titles.json are:

@protagonist
@setting
@time_period

An empty partner list in sexual_partners.json means intentional celibacy for that era. A missing era means absent data and should be treated as a dataset problem. The dataset_version in sexual_partners.json must match the value in config.json so files from different dataset snapshots cannot be combined.

Every positive weight in sexual_scene_tag_count_weights_by_presence must name a count the corresponding presence level can produce. The count cannot be lower than that level's required-group count or higher than its combined required and optional group count. The none level supports only count 0.

The loader reads only the explicitly allowed filenames and rejects keys placed in the wrong file. It assembles the files in memory for the existing cross-field validation and generation pipeline. The CLI flags, front-matter keys, canon content, and seeded generation behavior are preserved by this storage refactor.

Migrating a custom dataset from the aggregate layout

Existing override directories need the new layout before use. Create a new directory and copy the listed keys into their owning files; keep the old directory as a backup.

  • Split entities.json into characters.json (character_availability) and settings.json (setting_availability).
  • Split prompts.json into central_conflicts.json, inciting_pressures.json, ending_types.json, and style_guidance.json, retaining each matching key.
  • Move date_start and date_end from the old config.json to time_period.json.
  • Move sexual_content_presence_options and sexual_content_presence_weights into sexual_content_levels.json.
  • Move every sexual_scene_* key into sexual_scene_tags.json.
  • Move word_count_targets and writing_preamble into their matching files.
  • Keep only schema_version, dataset_version, and ordered_keys in config.json, setting schema_version to 2.
  • Copy partner_distributions.json to sexual_partners.json without changing its contents or its internal schema version, then make its dataset_version match config.json.
  • Copy titles.json and weather.json unchanged.

The old aggregate filenames are no longer loaded. Run dataset lint and strict validation against the new directory before using it for generation.

Legacy tag-schema compatibility notes

Telegraphy now accepts only the canonical by-presence tag schema for sexual-scene tag counts.

Removed legacy keys:

  • sexual_scene_tag_count_options
  • sexual_scene_tag_count_weights

Canonical replacement key:

  • sexual_scene_tag_count_weights_by_presence

Manual update example in sexual_scene_tags.json (required):

Before (removed shape):

{
  "sexual_scene_tag_count_options": [1, 2, 3],
  "sexual_scene_tag_count_weights": [0.6, 0.3, 0.1]
}

After (canonical shape):

{
  "sexual_scene_tag_count_weights_by_presence": {
    "none": {"0": 1.0},
    "implied": {"2": 0.7, "3": 0.3},
    "on_page_full": {"6": 0.4, "7": 0.4, "8": 0.2}
  }
}

If legacy keys are present, schema validation fails fast and instructs you to use the canonical fields. Telegraphy does not perform runtime key migration for this schema.

Weighted position groups

In sexual_scene_tags.json, sexual_scene_tag_groups.position contains named groups with a percentage weight and a variants list. Group weights must be between 1 and 32 and total 100. Groups and their variants are alphabetized.

Whenever a position tag is needed, the generator selects a group by weight, then selects one variant uniformly. A variant's probability is its group's percentage divided by the number of variants in that group. These probabilities are conditional on a position being selected, not on every generated brief. For example, each Amazon variant has a 1% chance, and each of the seven Missionary variants has about a 4.57% chance. The brief includes the selected variant tag, without adding a separate group tag. Flat position lists in custom datasets remain supported with uniform selection.

Validation and linting

Telegraphy has two related safety nets: validation and linting.

Validation checks whether the dataset can be loaded and normalized. It rejects malformed schema, missing keys, unsupported title tokens, overlapping availability windows for the same entity, invalid dates, broken weight tables, bad ordered keys, invalid partner distributions, and other hard failures.

Strict validation goes farther:

story-brief --validate-strict --print-only

It checks date-range generation preconditions at availability checkpoints, including:

  • at least two distinct available characters for each checked date;
  • at least one available setting for each checked date.

Linting looks for dataset coverage gaps and fragile areas:

story-brief --lint-dataset

Lint exits with code 0 when no blocking issues are found and code 1 when the report contains errors. Strict validation also exits nonzero on hard failures.

Use linting before committing dataset edits. Use strict validation before trusting a new or heavily edited dataset.

A good minimum review loop for data changes is:

story-brief --lint-dataset
story-brief --validate-strict --seed 42 --date 2000-01-01 --print-only
pytest -q tests/story_brief

Software bill of materials (SBOM)

Telegraphy ships a CycloneDX SBOM at:

sbom.cdx.json

You can use this file for dependency transparency, supply-chain review, and security tooling that ingests CycloneDX JSON.

The source SBOM records each declared PEP 508 runtime requirement. Range requirements remain ranges rather than being presented as installed versions; exact pins include their version in the component package URL. It is a source dependency manifest, not an inventory of one particular installed environment.

To regenerate the SBOM after dependency or version changes, use a repository checkout with the development dependencies installed:

python -m scripts.generate_sbom

The repository includes sbom.cdx.json in source distributions via MANIFEST.in.

How the generator works

Telegraphy follows a small, deliberate pipeline:

JSON dataset
    -> data_io.load_data()
    -> validation.validate_story_data()
    -> normalized StoryData
    -> generation.pick_story_fields()
    -> rendering.to_markdown()
    -> terminal output or safe Markdown write

The main modules are:

Module Responsibility
telegraphy.story_brief.cli Argument parsing and CLI orchestration.
telegraphy.story_brief.data_io Dataset discovery, package resources, environment overrides, JSON loading, cache management.
telegraphy.story_brief.dataset_layout Field-file ownership, layout validation, and in-memory assembly.
telegraphy.story_brief.validation Schema validation, semantic validation, strict date-range preconditions.
telegraphy.story_brief.linting Dataset coverage diagnostics and human-facing lint reports.
telegraphy.story_brief.generation Date selection, availability filtering, weighted choices, field selection.
telegraphy.story_brief.partner_models Partner-distribution parsing and date-aware weighted partner pools.
telegraphy.story_brief.rendering YAML front matter and Markdown output.
telegraphy.story_brief.filenames Slugging, filename sanitization, output-path safety, write protection.
telegraphy.story_brief.generate_story_brief Compatibility facade over the refactored implementation.

Seeded generation is designed to be stable. When you supply --seed, Telegraphy uses a deterministic random source and sorted selection pools so that the same inputs produce the same brief.

When no seed is supplied, Telegraphy uses secrets.SystemRandom, so unseeded runs draw OS-backed entropy instead of using a deterministic PRNG.

Output files and safety

Telegraphy is conservative about writes.

By default it writes into:

output/story-seeds/

It refuses to overwrite existing files unless --force is provided.

It confines output to the current working directory tree. This is intentional: generated files should not be able to wander out of the project and bite the furniture.

It also performs filename checks and sanitization, including:

  • cross-platform unsafe characters;
  • path separators;
  • dot-segments;
  • leading or trailing spaces;
  • Windows reserved device names;
  • UTF-8 byte-length limits;
  • atomic same-directory publication and explicit symbolic-link target rejection.

On POSIX systems, newly created briefs use owner-only read/write permissions (0600) filtered by the current umask. Forced replacement preserves an existing destination's non-executable read/write permission mode.

Development

Create and activate a virtual environment, then install the development extra:

python -m pip install -e ".[dev]"

Run the local quality checks:

ruff check .
ruff format --check .
mypy telegraphy scripts tests
pytest

Install tox if it is not already available:

python -m pip install tox

Run the full tox workflow:

tox -e py314

Run fast tests only:

tox -e py314-fast

Run slow or integration tests:

tox -e py314-slow

The repository uses:

  • Ruff for linting and formatting;
  • mypy in strict mode for the package;
  • pytest for the test suite;
  • pytest-cov and coverage settings for branch coverage;
  • tox for repeatable local test environments;
  • GitHub Actions for CI;
  • SonarQube Cloud for quality reporting.

GitHub Actions pinning policy

This repository has a strong preference for pinning GitHub Actions to immutable commit SHAs. Pinned SHAs reduce supply-chain risk from mutable tags and make CI behavior easier to reproduce.

Where practical, workflow uses: references should follow this style:

- uses: owner/action@<40-character-commit-sha> # v1.2.3

In a small number of cases, we intentionally keep a trusted GitHub-maintained action (for example, from the actions/ or github/ organizations) on a major tag (for example @v4) instead of a SHA. When we do this, the trade-off is explicit: the repository chooses to trust GitHub's managed release process for that core toolchain, and to accept the small reduction in strict immutability in exchange for simpler maintenance.

Project metadata

The package metadata lives in pyproject.toml.

Current package facts:

Field Value
Package telegraphy
Current version 0.7.1
Python >=3.14
Runtime dependency PyYAML>=6.0.3
Console script story-brief = telegraphy.story_brief.cli:main
GUI script telegraphy-gui = telegraphy.gui.tablet_app:main
License MIT

Contribution expectations

Before opening a pull request, run the relevant checks and include the commands you ran in the PR notes.

For code changes, include tests that cover success and failure behavior.

For dataset changes, keep diffs focused and run:

story-brief --lint-dataset
story-brief --validate-strict --print-only

For generation changes, preserve deterministic seeded behavior unless the PR explicitly and intentionally changes it.

Release notes and status

Current version: 0.7.1.

The 0.7 series centers on the desktop experience. Version 0.7.1 refines the Nord-themed reading workspace, corrects partner availability boundaries, makes new story-brief files private by default on POSIX systems, and refreshes the build and review workflows for Python 3.15.

Highlights:

  • tightened reading-workspace spacing and underlined its major section headings;
  • aligned the Jim Brown/Kendall Weatherby and Sarah Malcolm/Gilley eras with partner availability;
  • changed new POSIX story-brief output to owner-only permissions while preserving forced-replacement modes;
  • repaired the manual Claude review workflow and pinned CodeQL actions to immutable revisions;
  • updated the shared build interpreter to Python 3.15.0 and refreshed pinned GitHub Actions.

See CHANGELOG.md for release notes.

Stability note

Telegraphy is usable as a local CLI and developer tool. The command-line interface and data schema are still young enough that maintainers should treat changes carefully and document migration impact in PRs.

Install the published distribution with python -m pip install Commuted_Telegraphy. For development, install from the repository as described above.

Maintainer docs

Start here:

Troubleshooting

story-brief is not found

Install the package in the current environment:

python -m pip install -e .

For development:

python -m pip install -e ".[dev]"

Then retry:

story-brief --help

The selected date is rejected

The date must be inside the configured dataset range. Use ISO format:

story-brief --date 2000-01-01 --print-only

The data override is rejected

Check that the override is absolute and contains the required JSON files:

ls /absolute/path/to/story-data

Expected files (all fifteen are required):

titles.json
characters.json
time_period.json
settings.json
weather.json
central_conflicts.json
inciting_pressures.json
ending_types.json
style_guidance.json
sexual_content_levels.json
sexual_partners.json
sexual_scene_tags.json
word_count_targets.json
config.json
writing_preamble.json

An output file already exists

Telegraphy will not overwrite files by accident. Use another filename or pass --force:

story-brief --filename brief.md --force

Output path is rejected

Keep --output-dir inside the current working directory tree. Absolute paths are allowed only when they resolve inside that tree.

Linting passes but generation still fails

Run strict validation:

story-brief --validate-strict --print-only

Linting reports dataset health. Strict validation checks generation preconditions across key date boundaries.

License

Telegraphy is released under the MIT License.

Metadata

Release files for Commuted-Telegraphy 0.7.1

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

Source distribution (sdist)

Source distribution for Commuted-Telegraphy 0.7.1
File Size Uploaded Provenance Actions
commuted_telegraphy-0.7.1.tar.gz 97.1 kB With provenance Details for commuted_telegraphy-0.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Commuted-Telegraphy 0.7.1
File Interpreter ABI Platform Actions
commuted_telegraphy-0.7.1-py3-none-any.whl Python 3 none any Details for commuted_telegraphy-0.7.1-py3-none-any.whl

Total release size: 182.3 kB

Release files / commuted_telegraphy-0.7.1.tar.gz

Download URL commuted_telegraphy-0.7.1.tar.gz
Size 97.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3cbc8f5ac6ca2e90b75c41e864ced978396a65a8ed26c4af6226d84f597fa9ed
BLAKE2b-256 checksum
How to use checksums
f792e2cf2a32fc542b160ae069af189eca10e8c0260c480e975be65017ff1c60
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 log

Release files / commuted_telegraphy-0.7.1-py3-none-any.whl

Download URL commuted_telegraphy-0.7.1-py3-none-any.whl
Size 85.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29606a68b0008ef6f40571a32e7810601cf79107c38b0b0b2d43d2cd06f354c1
BLAKE2b-256 checksum
How to use checksums
e9f4d314c8b26c796a3d765710ce40933904d5c66c23fc4f4eaceb00b4943f70
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 log

Security for Commuted-Telegraphy 0.7.1

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 commuted_telegraphy-0.7.1.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 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.

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