Skip to main content

CoordinationZ

CoordinationZ estimates whether two accounts' shared activity is unusual given how active the accounts are and how often each item is shared. The package contains the activity-conditioned null model. The repository also provides the scripts for reproducing the figures in A null model to detect coordinated online behavior integrating evidence from multiple indicators. Preprint

Install

python -m pip install coordinationz

Wheels are built for CPython 3.10–3.12 on Linux x86-64, macOS (Apple Silicon and Intel), and Windows x86-64. Building from source requires a C compiler and, on Linux, OpenMP. The macOS and Windows wheels run the streaming sampler serially. Use version 0.3.0 for the code described here.

Run a small example

Each tuple represents one occurrence. Keep repeated account–item tuples to preserve counts.

from coordinationz.nullmodel import bipartiteNullModelSimilarity

occurrences = [
    ("a", "post-1"), ("a", "post-2"), ("a", "post-2"),
    ("b", "post-1"), ("b", "post-2"), ("c", "post-3"),
]
result = bipartiteNullModelSimilarity(
    occurrences,
    backend="c_streaming",
    idf="smoothlog",
    realizations=10_000,
    workers=2,
    seed=9999,
    showProgress=False,
)
for (i, j), similarity, p in zip(
    result["indexedEdges"], result["similarities"], result["pvalues"]
):
    print(result["labels"][i], result["labels"][j], similarity, p)

The output contains pairs with positive observed similarity. A missing indicator contributes a value of one in the ranking pipeline. Combined pair and account scores are ranking statistics. See the replication guide for the filters and scoring rules.

Reproduce the figures

From a Git checkout, install the plotting dependencies and run the figure scripts:

python -m pip install '.[figures]'
python reproduction/figures/make_all.py

This writes vector PDFs and SVGs to reproduction/rendered/ using the bundled aggregate figure inputs. See the replication guide for the figure index, raw benchmark workflow, optional co-word analysis, and verification commands. The historical INCAS and community workflows are available in the 0.2.2 source. See release instructions for PyPI publishing.

Metadata

Release files for coordinationz 0.3.0

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

Source distribution (sdist)

Source distribution for coordinationz 0.3.0
File Size Uploaded Provenance Actions
coordinationz-0.3.0.tar.gz 254.3 kB With provenance Details for coordinationz-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for coordinationz 0.3.0
File Actions
coordinationz-0.3.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for coordinationz-0.3.0-cp312-cp312-win_amd64.whl
coordinationz-0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for coordinationz-0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
coordinationz-0.3.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for coordinationz-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
coordinationz-0.3.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details for coordinationz-0.3.0-cp312-cp312-macosx_10_13_x86_64.whl
coordinationz-0.3.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for coordinationz-0.3.0-cp311-cp311-win_amd64.whl
coordinationz-0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for coordinationz-0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
coordinationz-0.3.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for coordinationz-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
coordinationz-0.3.0-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details for coordinationz-0.3.0-cp311-cp311-macosx_10_9_x86_64.whl
coordinationz-0.3.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for coordinationz-0.3.0-cp310-cp310-win_amd64.whl
coordinationz-0.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for coordinationz-0.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
coordinationz-0.3.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for coordinationz-0.3.0-cp310-cp310-macosx_11_0_arm64.whl
coordinationz-0.3.0-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details for coordinationz-0.3.0-cp310-cp310-macosx_10_9_x86_64.whl

Total release size: 1.6 MB

Release files / coordinationz-0.3.0.tar.gz

Download URL coordinationz-0.3.0.tar.gz
Size 254.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7245a761673288bdb63a30bb90e4a357750330cc42a9c31a3c281c26f3b55bbd
BLAKE2b-256 checksum
How to use checksums
0f9a0e1e833415403a0ae7baef1774252715ed28bc92dad85d0df14d0b46c0fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp312-cp312-win_amd64.whl

Download URL coordinationz-0.3.0-cp312-cp312-win_amd64.whl
Size 44.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f0047cbed63fb4d438d8a7cc6612d0c9a3f0ba5400a1d18d1361489ee752b240
BLAKE2b-256 checksum
How to use checksums
2fe336149e0042680322564d6ed7829fe0809b288a6828c6e191194a1e9c9bfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL coordinationz-0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 222.9 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c9b9de0767d75315c43486a23417ccb79613cad342614ce9cdfd609789baae7a
BLAKE2b-256 checksum
How to use checksums
276a728febbf427cf5114b04c4aa0590c0d207a1905102853d462a2ff124d8ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL coordinationz-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
Size 90.4 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
05e11e28e1b74aa9bb3b49a1588bbb605cfdc0ed26c121a7a6a6a217e4d956b1
BLAKE2b-256 checksum
How to use checksums
bb1b78b86d8b1e6c8db3c862ac4d55b694ef941197816370e9d36a6f02d5e24d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp312-cp312-macosx_10_13_x86_64.whl

Download URL coordinationz-0.3.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 97.1 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
8e16c7812f2de4f5e96b4851e6761c4ee9b69819ada5b270570e3df451770737
BLAKE2b-256 checksum
How to use checksums
c9a69c3a4c2da572aa2d2ca1cc10bfcbafa6c6b1ba7866b209f5508f96ba074b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp311-cp311-win_amd64.whl

Download URL coordinationz-0.3.0-cp311-cp311-win_amd64.whl
Size 44.3 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
167b971162ed6b6ff317063921195ad4dec7bb6702eb034cb3a7e843ddd7f1b0
BLAKE2b-256 checksum
How to use checksums
c34b9b30a5868a2c679805b1c15c3add94d316b4a75e2fdbf823a75e90186b12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL coordinationz-0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 222.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9e2fd80d69db79d7bb8bcd81ab2aaa46972b7b6948d7254884363fcdd02fbbc0
BLAKE2b-256 checksum
How to use checksums
1f446d6f12d3832872cce607a0c2930ae937344548e7945567f8454aeaf93610
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL coordinationz-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
Size 90.7 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5f401bdc32ddb43cfce0fcbbd88389b07f60048913bc03ec96b0524671b371c5
BLAKE2b-256 checksum
How to use checksums
a5811cd68afd3084385f9547f837a8e33e9100ffef04b0ced112b13869e46cd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp311-cp311-macosx_10_9_x86_64.whl

Download URL coordinationz-0.3.0-cp311-cp311-macosx_10_9_x86_64.whl
Size 97.5 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
3803063ef5c288f104fa66d2d99cde322488b896538ad04d1325d3fa10b593cc
BLAKE2b-256 checksum
How to use checksums
eb29f9f0aa2f34ddb894b4c7ac63e956c68eecb0ff001f292c13f0058ba42ef1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp310-cp310-win_amd64.whl

Download URL coordinationz-0.3.0-cp310-cp310-win_amd64.whl
Size 44.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
dc8f1f174ed872c8ed1cbaedf9d3b290c2799c8af81113ae706586489955f3e2
BLAKE2b-256 checksum
How to use checksums
4471c66bf09e60eec7b53d3e8f1e510cd95cb367afc59c6b4632e2493d72b06a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL coordinationz-0.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 222.3 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a0a2bd8daacf85de3a0a2a9a8367fe645d780efd84845dc5e646a6c4477e63da
BLAKE2b-256 checksum
How to use checksums
0c5787e61e7759f5410bdafd13b6b64d3d9ca07fb2fa51c07ecebf011e477717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL coordinationz-0.3.0-cp310-cp310-macosx_11_0_arm64.whl
Size 90.7 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fd93b3ae20877148ebe720d7814865bc1f9941d2e41addcc517becddeba28014
BLAKE2b-256 checksum
How to use checksums
c9c2950a2e76c984990ae8213e0aaa6a7ca1732e1cc4b243fe25575bfd9fa79a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / coordinationz-0.3.0-cp310-cp310-macosx_10_9_x86_64.whl

Download URL coordinationz-0.3.0-cp310-cp310-macosx_10_9_x86_64.whl
Size 97.5 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
54f196f240a591311d1666f123aca43c3e3ca5c72c02577e916f03ec80d3eddc
BLAKE2b-256 checksum
How to use checksums
9dfaa7081fd704ce5115f06d50c3303ada33e705c1462e07d3cf902278c04bae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Security for coordinationz 0.3.0

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 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for coordinationz-0.3.0.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 Nov 30, 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.

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