Skip to main content

Antecedent for Python

Install from PyPI: python -m pip install antecedent. calibrated still requires a coverage record that attests the installed build.

Antecedent exposes the same causal contract as the Rust facade. The root namespace has an explicit exported-name contract; see the naming dictionary. Start with a query and graph, identify it, estimate on data, inspect the claim, and export or refresh the study when appropriate.

import antecedent as ant

query = ant.AverageEffect("treatment", "outcome")
result = ant.analyze(data, graph=graph, query=query)
print(result.answer)
print(result.inspect().to_dict())

For large adjustment problems, Antecedent provides configured DML, DR-Learner, and causal-forest estimators. The standard wheel includes the CPU-native NeuralNet nuisance learner; no separate Python extra is needed. These estimators use held-out nuisance predictions and disclose their learner, folds, overlap, and uncertainty limitations; they do not make a CATE interval appear where none was estimated.

Structural transport uses antecedent.transport.Transport with explicit target and evidence information. Evidence availability is not inferred from a column name or a selection label.

2.1 adds design-family studies on their own stage modules — antecedent.experiment, antecedent.policy, antecedent.quasi, antecedent.survival, and antecedent.regimes — that prepare and analyze as retained studies. antecedent.factorial.estimate is a separate point utility, not a retained study. On the experiment, policy, regime, and interference queries, row-aligned inputs may be named by a data column; prepare resolves those names and freezes the design. Their interval claims are rows of the graphless support matrix, separate from the geometric matrix.

Read the Python workflow, supported analyses, and 2.1.0 release notes. The support matrix remains authoritative.

Metadata

Release files for antecedent 2.3.0

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

Built distributions (wheels)

Table of built distributions (wheels) for antecedent 2.3.0
File
antecedent-2.3.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
antecedent-2.3.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details
antecedent-2.3.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64 Details
antecedent-2.3.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
antecedent-2.3.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
antecedent-2.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
antecedent-2.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details
antecedent-2.3.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
antecedent-2.3.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
antecedent-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
antecedent-2.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
antecedent-2.3.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
antecedent-2.3.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
antecedent-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
antecedent-2.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
antecedent-2.3.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size: 508.7 MB

Release files / antecedent-2.3.0-cp314-cp314-win_amd64.whl

Download URL antecedent-2.3.0-cp314-cp314-win_amd64.whl
Size 32.2 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
4bff88fd2736dbebdb1240f1b3e526e6ab624c78dcee157e393dbe5cd31f86d1
BLAKE2b-256 checksum
How to use checksums
a1ab37ce3cb0efbc5c31fe3cbaed333fa28dd448e89306743e881bd7a2b8744d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL antecedent-2.3.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 33.7 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6c9380c65a3319e086d71ca221634adb15562c75c2e197cdb5c2a0be424640a0
BLAKE2b-256 checksum
How to use checksums
606d9a72c6deaf8d47ae0291cca95d7eaf479af9029a5c4d5b3ad79e12e06cd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL antecedent-2.3.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 31.5 MB
Tags CPython 3.14 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
b580ee3602e7b90938dad32943c878a50a8b4a11f4f4d9824ce8776bd5efdce8
BLAKE2b-256 checksum
How to use checksums
3d26c09e01807807abc6c99657b62e82d64117be086c1e306b6f264ed7193964
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL antecedent-2.3.0-cp314-cp314-macosx_11_0_arm64.whl
Size 29.5 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6d35c499b4140e4e0838ccf46a3571c6bc2fbd0b0e5ecf050aa8cb4efa32fe2f
BLAKE2b-256 checksum
How to use checksums
ea612cc2fbb59f69a2a8b668faa1421f8e9bddcba06ce4cc86618bda26f1e8ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp313-cp313-win_amd64.whl

Download URL antecedent-2.3.0-cp313-cp313-win_amd64.whl
Size 32.2 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
cd07a3ab3cb91dc75694c8d2eefdbdf6eb6684ed64efdf0c936ad09674ffecaf
BLAKE2b-256 checksum
How to use checksums
f432681e2343cd3a1c032c868d6eabdbd7e649792b73c2014509f4b7dff7db2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL antecedent-2.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 33.8 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
da7199f1e8fd86946ddfd6af7a9926ae3a768154f2808a5378fe5b9e6358945a
BLAKE2b-256 checksum
How to use checksums
1d364c5247adfe18b75cd7f0e987c8e0d1fb61a034b5cd7227e11a5d1f39b80c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL antecedent-2.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 31.6 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
2542df919d3afc8e27cbd930ce260ee6468e6c40b497ecb9cae3d4d7f12ed19f
BLAKE2b-256 checksum
How to use checksums
f12c7427d126ed40ed5e089a17abff3667a9972acaeb163e9116eefa2893efbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL antecedent-2.3.0-cp313-cp313-macosx_11_0_arm64.whl
Size 29.6 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f40b34cbda298598e7b2c5260e251a1f4d249605709cde698ec5251c395a23f5
BLAKE2b-256 checksum
How to use checksums
63a16aac7e898d3909bd46cf7dc0886eec9dc3184c408cf4bc0371709b738ac0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp312-cp312-win_amd64.whl

Download URL antecedent-2.3.0-cp312-cp312-win_amd64.whl
Size 32.2 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
af478afd48104c4fffdc2bd5810249e9be2dcb7772173e452c2e6f9d45d68d02
BLAKE2b-256 checksum
How to use checksums
067cd0c924c5352a05a599a24c7b10321deeb962154ba98487643639596adb46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL antecedent-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 33.8 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b81d610af940f5fa27cb9ff83ad868fd8b4b2cda46ddc4c719eb660994497d64
BLAKE2b-256 checksum
How to use checksums
1bf9584b0cd596e9985f86014919f385aa6e75935c1fcb3d5272b4441ecabbbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL antecedent-2.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 31.6 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
e0e3d3e8248284e1458861970356b89bb88c82cf64be84e9320d705b4ee9e8ec
BLAKE2b-256 checksum
How to use checksums
1accae9a37c4319c3287e181e2f6b6092b6b3170667405635e8885b5af4e4421
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL antecedent-2.3.0-cp312-cp312-macosx_11_0_arm64.whl
Size 29.6 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3092595c4c014d75adc5bfedf62f779ae1599b2a00e911f9f874ea7d440e92ad
BLAKE2b-256 checksum
How to use checksums
788e1fcb8d6c06e97f6493be3bd311998c5657287a3012929519b8c4431a2eb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp311-cp311-win_amd64.whl

Download URL antecedent-2.3.0-cp311-cp311-win_amd64.whl
Size 32.3 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
79d90b09ee64f027ee8e7c7c08134bc192fdf34f5c6deacf376b190e81f9e058
BLAKE2b-256 checksum
How to use checksums
7d8234199728da5fe000de8400dfd5ce201bc358ef94f009ba496d56ca6815c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL antecedent-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 33.8 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
362214f30b82611ac42030c010af5a5f0ef0a27a3908226f26a438b7e91ab273
BLAKE2b-256 checksum
How to use checksums
ebd3eb557b2bd1c7843b6ad84e7b88d075672e1c43fead377f77b5158ac4e6d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL antecedent-2.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 31.6 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
de8b1eb325f87d012d754160b47d8bdba1408794d53d955f7207041c214ec8ea
BLAKE2b-256 checksum
How to use checksums
f8eda6631bc05762043ca0e5ef12d911dc7949abf5801eab49766956e7de4474
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / antecedent-2.3.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL antecedent-2.3.0-cp311-cp311-macosx_11_0_arm64.whl
Size 29.7 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
18c7bdb2d481492187cf13d8f65ae29027a4c71a025cf1647f98a030d94fd3b6
BLAKE2b-256 checksum
How to use checksums
c1071d040961549f56b836dcea1895990c3fcaa8412dcdd87dc47a11645ede38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

2.4.0

16 release files

This release

2.3.0 This release

16 release files

2.1.1

16 release files

2.1.0

16 release files

2.0.0

16 release files

1.9.0

16 release files

1.7.0

16 release files

1.6.0

16 release files

1.5.0

16 release files

1.4.0

16 release files

0.9.0

16 release files

0.7.0

16 release files

0.6.1

16 release files

0.6.0

16 release files

0.5.2

16 release files

0.5.1

16 release files

0.5.0

16 release files

0.4.1

16 release files

0.4.0

16 release files

0.3.0

16 release files

0.2.0

16 release files

0.1.0

16 release files

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