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 contains 56 names; 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, 2.0 adds 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.

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

Metadata

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

Total release size: 222.2 MB

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

Download URL antecedent-2.0.0-cp314-cp314-win_amd64.whl
Size 14.5 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
3733cb92723e69dda699b8450878e82272e60b174bf6211cd7ca6574e48b94c8
BLAKE2b-256 checksum
How to use checksums
6b84d9cb10b6d3ce2f3a2f2e535d4c1b085063ce9581f17f4c50e29dbf85c482
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.0.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

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

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

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

Download URL antecedent-2.0.0-cp313-cp313-win_amd64.whl
Size 14.5 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
1d75fc54d91b7badda6d60abc9242c3a8ccbd3d0aedf8bd1d7948ebec46465df
BLAKE2b-256 checksum
How to use checksums
ae83a0e49844c2d6c9b535aa9fc217868eda37f5c7bc419b0db0c4d55ae1c50f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL antecedent-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 14.8 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9d77f02ea78ed46b5607719b0c409b4dfcde5e64768996a5067f6d8a97dfcacf
BLAKE2b-256 checksum
How to use checksums
74b37d5131a59bad832ee5d211a97de9ef378a362d8838aeb13cacd400a4fab3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.0.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL antecedent-2.0.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 13.5 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
4827cd473eaacd96f974a1bd86e0999dc17e2f3fb0e56aa5acd645795edaff54
BLAKE2b-256 checksum
How to use checksums
603d6de1282791bb3b8b661d018c0a30432330facfc70e457ab90655a3f7241b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.0.0-cp313-cp313-macosx_11_0_arm64.whl

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

Download URL antecedent-2.0.0-cp312-cp312-win_amd64.whl
Size 14.5 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
94400c3c346081a079b6412312045062902d124ba53329cb4a08dc68d8168c80
BLAKE2b-256 checksum
How to use checksums
771ce6f686306fbeb2540c8fadf54de82123df080981cd789c3d2376dec05115
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL antecedent-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 14.8 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9d3b0be8bafec9e939b602bd453e4dd3eb0280d6ef91e8e0aa57e56c2d544bbb
BLAKE2b-256 checksum
How to use checksums
5910e8f9306052ae49e7c1c7afff64dbf6850d3fc31d8921bf94c0e543cb1c69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL antecedent-2.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 13.5 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
92d1f08285a78b25c1edb30ffb2904a238b16628246c21d5a935ed56f33d3901
BLAKE2b-256 checksum
How to use checksums
890bd3fe536918fdbda03dfc24d567b968d0bd2a5e034ae5258f94955d1e259d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.0.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL antecedent-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
Size 12.7 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6e941f1cabf8b368db6162cfa8239dbc2f4e876b6ba5588f54f8fdabe68b8446
BLAKE2b-256 checksum
How to use checksums
051a2135915ef32332a95d8e89f9aeb9184041acdab58363d0e90fab1c7a7a3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.0.0-cp311-cp311-win_amd64.whl

Download URL antecedent-2.0.0-cp311-cp311-win_amd64.whl
Size 14.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
4325e08eb99f45d1c58fc90f28afbc6301722fd9df6fde060a741d112981fffe
BLAKE2b-256 checksum
How to use checksums
7f70e18ea5a079f96ce69afeb643c391e31cc7ea968218e0401e153cc57e9282
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

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

Download URL antecedent-2.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 13.5 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
b716541de62af0b285724f595a15ccd0df1a634d481e7476809453a4263d43ba
BLAKE2b-256 checksum
How to use checksums
58d6654861d7d07c181825c7faee42c4501d151385b5459f99e95d6b8afce259
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.0.0-cp311-cp311-macosx_11_0_arm64.whl

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

2.3.0

16 release files

2.1.1

16 release files

2.1.0

16 release files

This release

2.0.0 This release

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