Skip to main content

PolicyEngine US

codecov PyPI version Code style: ruff

For microsimulation, use policyengine.py. Society-wide microsimulation — population aggregates and distributional or budgetary impacts — is moving to the managed policyengine.py bundle, which pins certified, calibration-gated datasets. Direct microsimulation via policyengine-us (Microsimulation()) is deprecated and being migrated to policyengine.py. This package remains the home of the US tax-benefit rules and household-level calculations. Microsimulation results are estimates — inspect dataset calibration at https://calibration-diagnostics.vercel.app/populace.

PolicyEngine US is a microsimulation model of the US state and federal tax and benefit system.

PolicyEngine US supports Python 3.11 through 3.14 and requires pandas 3 or later. To install, run pip install policyengine-us.

This release requires spm-calculator>=1.0.0,<=1.0.0.post1 (the canonical SPM threshold API). Previously published country versions retain their original dependency metadata; when reproducing one of those versions, include the compatible calculator explicitly, for example:

uv pip install "policyengine-us==1.824.7" "spm-calculator==0.3.1"

To install PolicyEngine US as part of a certified PolicyEngine bundle, use the bundle installer published by policyengine, for example:

uvx --from policyengine policyengine bundle install --country us --venv .venv

Metadata

Release files for policyengine-us 2.50.2

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

Source distribution (sdist)

Source distribution for policyengine-us 2.50.2
File Size Uploaded Provenance
policyengine_us-2.50.2.tar.gz 14.2 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for policyengine-us 2.50.2
File Interpreter ABI Platform
policyengine_us-2.50.2-py3-none-any.whl Python 3 none any Details

Total release size: 32.2 MB

Release files / policyengine_us-2.50.2.tar.gz

Download URL policyengine_us-2.50.2.tar.gz
Size 14.2 MB
Tags Source
SHA-256 checksum
How to use checksums
eb06c660eb20d9f25e530329be97072fa5626cb0df13d53c8ac38b9be7da352a
BLAKE2b-256 checksum
How to use checksums
a3781135cdbdfcd1f590e33d471e0120c82bc5329dac136d62c232409c5bd2be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / policyengine_us-2.50.2-py3-none-any.whl

Download URL policyengine_us-2.50.2-py3-none-any.whl
Size 18.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
53c465c7151332b4bf02d2d2e59681f3b828ea43faa37d8bb49e383f709ad99f
BLAKE2b-256 checksum
How to use checksums
1bcfb6e0c3c301091c3d5441ea3cc23099f22aa68c2d7ac8721b0940c31ccc10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Security for policyengine-us 2.50.2

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for policyengine_us-2.50.2.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 Oct 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.

Release history Release notifications | RSS feed

This release

2.50.2 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