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.

Design-family studies live 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 release notes. The support matrix remains authoritative.

Metadata

Release files for antecedent 2.4.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.4.0
File
antecedent-2.4.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
antecedent-2.4.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.4.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64 Details
antecedent-2.4.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
antecedent-2.4.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
antecedent-2.4.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.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details
antecedent-2.4.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
antecedent-2.4.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
antecedent-2.4.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.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
antecedent-2.4.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
antecedent-2.4.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
antecedent-2.4.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.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
antecedent-2.4.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size: 621.1 MB

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

Download URL antecedent-2.4.0-cp314-cp314-win_amd64.whl
Size 39.8 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
32e07b2090de637ff4f706bc6a54bc5a4203f3d74c4ca3ef7edef5aa0a564a94
BLAKE2b-256 checksum
How to use checksums
5a1732f4900aa332a9a915bc20d8d6d555bcbe00a79249a5915d2a1e5224a79a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL antecedent-2.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 40.9 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
aa5a7c222214df680bba28300f438255f1f88b23af5dfabd8342f98f2ee17d8e
BLAKE2b-256 checksum
How to use checksums
9b04b903f10762a9776090e5c150c91737ef65331cc2f1040952a1dd0bbf24a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL antecedent-2.4.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 38.3 MB
Tags CPython 3.14 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
0a83df4674e461c8ab099ed75c2fc6b8d6d0fd1e3a078d2d839a95e5a6e49a0a
BLAKE2b-256 checksum
How to use checksums
d3fa68314d2c5171ae4beffeef978b87fcecff74dc6fb6bd2e1b8d89828f3c92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL antecedent-2.4.0-cp314-cp314-macosx_11_0_arm64.whl
Size 36.2 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b3fb385f1df2793d78acdfd5657c3e5e5559736fa917899379276793b5d67f81
BLAKE2b-256 checksum
How to use checksums
9ba45e7d1b19738c079b347db46a76452ab8068ed420ead7aaed7dde4209faef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp313-cp313-win_amd64.whl

Download URL antecedent-2.4.0-cp313-cp313-win_amd64.whl
Size 39.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
429a70f46007d079c8320fa1d1e7701e6d3ba6fd2ac42ec3d184a0ee4e1bc383
BLAKE2b-256 checksum
How to use checksums
bdeaba6487c59b30af5aae7e515d96ac2cab1352b093efcac688fc8e908df8f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL antecedent-2.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 40.9 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
30766705e3aa58898ef556b8008beeecf795b5803d9f6c8b1d4873ad0beab716
BLAKE2b-256 checksum
How to use checksums
b7a2ae4a912843f72b3f4894ece1c944da174328a95bb18f604cfa8f693c02d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL antecedent-2.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 38.3 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
ac110c349d1f4396dbd513300bc08455becb584e689f8e09b070ffd645f10ead
BLAKE2b-256 checksum
How to use checksums
05d6c2a4896a8d97a9398b6580781ac121bd512b6701a3852983f64108c32344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL antecedent-2.4.0-cp313-cp313-macosx_11_0_arm64.whl
Size 36.2 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
dcec405f685b281a47fa06746388fe257efd7f1edaee487cc31411ac50ec4593
BLAKE2b-256 checksum
How to use checksums
f350b3ef6e1a70fb8d60f7761814beaf5c5295ebc4293f2a2dbead4a2a15f139
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp312-cp312-win_amd64.whl

Download URL antecedent-2.4.0-cp312-cp312-win_amd64.whl
Size 39.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
19426e0f316f7eed3588f4cf9ca6ca864aef87c871f0aeadf120fb5a999b8788
BLAKE2b-256 checksum
How to use checksums
ec225584d2de46eae6c41fab6ff5037b5e90624381a294f0b8bc1e232ac19300
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL antecedent-2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 40.9 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
05de952bc8057e67c26179cdf7576a1a8315d94a99cedd010c8fa3925ae7c7a5
BLAKE2b-256 checksum
How to use checksums
12bfa851be8a591832305aa096e52383c77a9f4f33c8341dd4e7dd4cb6bdf277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL antecedent-2.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 38.3 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
eea46ab4257dfb29812ccafabaf96e5328e3db4aa598889cf98a50d2f4d10f84
BLAKE2b-256 checksum
How to use checksums
506b2f058c3ec54d37ee3739de496218702b9494b899dd561c4b1a9d0248400e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL antecedent-2.4.0-cp312-cp312-macosx_11_0_arm64.whl
Size 36.2 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c9cee6d336ed39b32382d958fed8c7f7357fbc5766b8117f6643899877fec492
BLAKE2b-256 checksum
How to use checksums
989bb6b3b09bcdc440deebfcc69314d5c1371fdfbb1ae891190b2ec63f596177
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp311-cp311-win_amd64.whl

Download URL antecedent-2.4.0-cp311-cp311-win_amd64.whl
Size 39.8 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
25fe77b872e090a804696fe939d46e45b5dbd6ef64eeb65636ff3774b7b163d9
BLAKE2b-256 checksum
How to use checksums
5451d184a7e899c2fc08f144fc87be84d7338ebb37b6ae93a38895acabb93d7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL antecedent-2.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 41.0 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
cf0b644cce8cc9bc6afdb7d873e569e679f2e99611f1087cdd2abfdfaaff5189
BLAKE2b-256 checksum
How to use checksums
1731e57634b3302ae108bcb5f04080ff2bca6fe29848c65a10845febd2ad1ea8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL antecedent-2.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 38.3 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
1e88580e0dcbdd3c684732d639982465a8afc7edd0aeb0437b95e9af1b099434
BLAKE2b-256 checksum
How to use checksums
0161a28cc3b7c2b731c87e9ade3aaf5fed7f863ef1a57ca0e34e4b86c8c4dc7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL antecedent-2.4.0-cp311-cp311-macosx_11_0_arm64.whl
Size 36.3 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4e4418d77c6929df780f463dde67368424d28bd0fdac3d664be0287f43afceb2
BLAKE2b-256 checksum
How to use checksums
9787d72f24e50b492e28b97c8652d30508cdd449f6238b283153259f2367a704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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

This release

2.4.0 This release

16 release files

2.3.0

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