Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

Measles

Continuous cookiecutter featuring mise.

cat <<'EOF' > .cookiecutter.yaml
default_context:
    languages: Node,Python
    python_dependencies:
        - django
        - gunicorn
EOF
mise use --global uv@latest
uv tool run cookiecutter --config-file .cookiecutter.yaml --no-input --overwrite-if-exists https://github.com/biobuddies/measles.git
mise trust --yes
mise install
mise pre-commit-all
mise test

Autoformat Excludes

To exclude files from autoformatting and linting, add extended regular expressions for relative paths from the repository root to .config/autoformat-excludes like:

^public/bundle\.min\.js$
^publickey\.asc$

Jinja Templates

Templates live in {{cookiecutter.dot}}/, which renders to .: cookiecutter assumes templates render into a codename folder, but measles renders into the repository root.

Each file ends with its final suffix, so editors offering one syntax highlighter pick the final form's. An infix marks the template syntax:

  • .j2. for regular Jinja2, such as pyproject.j2.toml
  • .hj. for Hash Jinja, such as act.hj.yaml, which hides Jinja in YAML comments so prettier can autoformat the template

Hash Jinja configuration, from measles/__init__.py:

hash_jinja = {
    'block_end_string': '%#',
    'block_start_string': '#%',
    'comment_end_string': '*#',
    'comment_start_string': '#*',
    'lstrip_blocks': True,
    'trim_blocks': True,
    'variable_end_string': '}#',
    'variable_start_string': '#{',
}

Workflow Tasks

.github/workflows/act.yaml runs these mise tasks, which can be overridden in mise.toml:

  • build takes no arguments, so it suits environment-agnostic steps like most Python wheels and Docker images. Put environment-specific steps in deploy.
  • test runs locally and on GitHub, so it suits unit and integration tests.
  • deploy takes the environment: the pull request branch or main. Put environment-specific JavaScript And Markup (JAM) builds here, and start end-to-end tests that need a real hosted environment. Guard production-only steps with [[ ${1-} == main ]].

First GitHub Action Run

Until main has .github/workflows/act.yaml, rendering adds TABR to its push triggers, so a bootstrap branch runs act before its pull request merges. Once origin/main has the workflow, the next render drops that branch.

GitHub Actions

flowchart TD
    Context[" `mise set-environment` ($ENVI, $GIHA, $TABR)"] --> Check[" `mise pre-commit-all` (check)"]
    Context --> Test[" `mise test`"]
    Check -- "Generated diff" --> Retry["Commit and rerun"]
    Retry --> Context
    Check -- Fail --> Stop["Stop"]
    Test -- Fail --> Stop
    Check -- "Clean pass" --> BuildDeploy["Check and test pass"]
    Test -- Pass --> BuildDeploy
    BuildDeploy -- "Push to main" --> Release[" `mise release` (build-deploy), refresh $TABR"]
    BuildDeploy -- Otherwise --> Build[" `mise build` (build-deploy)"]
    Release --> Build
    Build --> Deploy[" `mise deploy $ENVI` (build-deploy)"]
    Deploy -- "Terraform PR" --> Plan[" `mise tplan main` (PR comment)"]
    Plan --> Apply[" `mise tapply $ENVI`"]
    Deploy -- "Other Terraform runs" --> Apply
    Deploy -- "PyPI, ENVI=main" --> Publish[" `uv publish`"]

Agent Sandboxes

Set environment setup script to

grep -qs 'setup\.bash' .claude/hooks/session-start.sh || measles/.config/setup.bash

This accommodates Claude Code on the web's different single and multiple repository startups. Always include measles in multiple repository sessions: they start in the parent directory, where only this script can run setup.

TODO re-test on Codex Cloud, probably leveraging .codex/setup.sh

Metadata

Release files for measles 2026.47.1

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

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for measles 2026.47.1
File Size Uploaded Provenance Actions
measles-2026.47.1.tar.gz 82.7 kB Without provenance Details for measles-2026.47.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for measles 2026.47.1
File Interpreter ABI Platform Actions
measles-2026.47.1-py3-none-any.whl Python 3 none any Details for measles-2026.47.1-py3-none-any.whl

Total release size: 90.1 kB

Release files / measles-2026.47.1.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL measles-2026.47.1.tar.gz
Size 82.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9bbfac05e98585ceb18b64d8aa7a561697b9a7e699c9ad1d03a75000bb11706b
BLAKE2b-256 checksum
How to use checksums
702eca191770f3dbb43629dcc7cc628d4ef35b162fdbd2cd266c69bc8c549f5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / measles-2026.47.1-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL measles-2026.47.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef48ef68c3959ba7ed4414f2cb90decf43a24da9ed84ea6dc3833ee3233281fc
BLAKE2b-256 checksum
How to use checksums
4a85b491f4793bdbe6f56135cb794baa9f8f9fc0d945e93e54cb71697bdbeff5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for measles 2026.47.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.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 2026.45.4 2 files With provenance
  • Added 2026.47.1 2 files Without provenance

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