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. The wheels include the OpenMP runtime and honor the sampler's workers argument. Building from source requires a C compiler with OpenMP support. With Apple Clang, install libomp and run python -m pip install . -Csetup-args=-Dopenmp_prefix="$(brew --prefix libomp)". Use version 0.3.1 or newer.

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,
)
print("Sampler workers:", result["workers_used"])
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. Use the replication guide to go from the Seçkin–Pote Zenodo campaign exports to the normalized inputs, rankings, and figures. Replication guide 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.1

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.1
File Size Uploaded Provenance Actions
coordinationz-0.3.1.tar.gz 263.0 kB With provenance Details for coordinationz-0.3.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for coordinationz 0.3.1
File Actions
coordinationz-0.3.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for coordinationz-0.3.1-cp312-cp312-win_amd64.whl
coordinationz-0.3.1-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.28+ x86-64, Linux glibc 2.17+ x86-64 Details for coordinationz-0.3.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
coordinationz-0.3.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for coordinationz-0.3.1-cp312-cp312-macosx_11_0_arm64.whl
coordinationz-0.3.1-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details for coordinationz-0.3.1-cp312-cp312-macosx_10_13_x86_64.whl
coordinationz-0.3.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for coordinationz-0.3.1-cp311-cp311-win_amd64.whl
coordinationz-0.3.1-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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
coordinationz-0.3.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for coordinationz-0.3.1-cp311-cp311-macosx_11_0_arm64.whl
coordinationz-0.3.1-cp311-cp311-macosx_10_13_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.13+ x86-64 Details for coordinationz-0.3.1-cp311-cp311-macosx_10_13_x86_64.whl
coordinationz-0.3.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for coordinationz-0.3.1-cp310-cp310-win_amd64.whl
coordinationz-0.3.1-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.17+ x86-64, Linux glibc 2.28+ x86-64 Details for coordinationz-0.3.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
coordinationz-0.3.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for coordinationz-0.3.1-cp310-cp310-macosx_11_0_arm64.whl
coordinationz-0.3.1-cp310-cp310-macosx_10_13_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.13+ x86-64 Details for coordinationz-0.3.1-cp310-cp310-macosx_10_13_x86_64.whl

Total release size: 3.6 MB

Release files / coordinationz-0.3.1.tar.gz

Download URL coordinationz-0.3.1.tar.gz
Size 263.0 kB
Tags Source
SHA-256 checksum
How to use checksums
da0221f1e955935c9a89302818d32e92aa5c37eef5f982b9d74af8a95bef8762
BLAKE2b-256 checksum
How to use checksums
d352d7cc4bdd368a6adebb25668800b69c56b64344bda66c4535322fc3e8b0ba
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.1-cp312-cp312-win_amd64.whl

Download URL coordinationz-0.3.1-cp312-cp312-win_amd64.whl
Size 90.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
b3c2e9812d3fea838b7832943dab4d0bbe417762b2aaa1b282c9228792a91fa5
BLAKE2b-256 checksum
How to use checksums
9699226c19debcdd456e9fa41509a5f806be70f18462f7717a4000532f9e5c5f
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.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL coordinationz-0.3.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 231.1 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9436a0ecf43402ace4e9dd432b29cd4756ae728b340296fe4dc4c1ab3f99efad
BLAKE2b-256 checksum
How to use checksums
3539b480106cf630af948153519bf05b5f2186d1172ed3b49fd06b90f0d0d354
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.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL coordinationz-0.3.1-cp312-cp312-macosx_11_0_arm64.whl
Size 376.3 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
143a2e4934465307de34c9c356fd59c4efeb1f0b77eee1a76339ea3830ef080d
BLAKE2b-256 checksum
How to use checksums
46ff1b50fe5f73d0a303a5f8a832073e6118f6592a364c2eeb222c6da88f067a
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.1-cp312-cp312-macosx_10_13_x86_64.whl

Download URL coordinationz-0.3.1-cp312-cp312-macosx_10_13_x86_64.whl
Size 425.9 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
315462a3cf7f65a0b3642e93974ea9746f0169adf656610988ac7f3b455eba80
BLAKE2b-256 checksum
How to use checksums
50e7d82031f6ccf5c25f8e539f57d5f96a2218bc17df07ff0162e40079bd6d8a
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.1-cp311-cp311-win_amd64.whl

Download URL coordinationz-0.3.1-cp311-cp311-win_amd64.whl
Size 89.9 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
01b464ee11d8ebddb2a2812e7320e2e601a421b1d0e41e28e6b5d65744b3533e
BLAKE2b-256 checksum
How to use checksums
a5702d344b741184a8fcea20c46ee23cf653a3f1de492f78f93f97a5ce0b4d29
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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL coordinationz-0.3.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 230.5 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4a511f1a25700297ade6e77e8ad50b6283c07f8454e8521d36ca82ac4d377918
BLAKE2b-256 checksum
How to use checksums
976cd9fe4ea2d045be98f75c05c2c5835923fd86bb85d04fc9a3aa7f7bb28eb0
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.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL coordinationz-0.3.1-cp311-cp311-macosx_11_0_arm64.whl
Size 376.7 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
85d609188dece4f921196847e7c07e48324ac4cb07f76afe5e484cd6b966d7de
BLAKE2b-256 checksum
How to use checksums
86292767132e5f9e72c8e523d0822ab55c6f48e169d35e810c5c166e6e73ef56
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.1-cp311-cp311-macosx_10_13_x86_64.whl

Download URL coordinationz-0.3.1-cp311-cp311-macosx_10_13_x86_64.whl
Size 426.0 kB
Tags CPython 3.11 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
9a236b791c66c27ffc7d8d1edc6bfbc47621065eef68b41f103d64fcfab1cbec
BLAKE2b-256 checksum
How to use checksums
9e68ebd6b93d9e4f3cce9e6af3b12fc7f6a20c2d4bef9453067e56fa91a28569
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.1-cp310-cp310-win_amd64.whl

Download URL coordinationz-0.3.1-cp310-cp310-win_amd64.whl
Size 90.0 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
d5dd29b1a033aefaeb7f4f60750fdeb2076e150c016834d6df7fe4885bc92bd3
BLAKE2b-256 checksum
How to use checksums
7f8cc6a90206e25ed698c001fdc2873eb8df878c18f0d0b112314c709d4b2421
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.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL coordinationz-0.3.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 230.4 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
39930b9e7f2dfbdd4049f0c62136e868b4d2363fd6e5d1d0f40b09a2eaaa4592
BLAKE2b-256 checksum
How to use checksums
61c64e645eba3ce7809fff4abaa629d88e01d4b5359180355dd710fcb7b81a9f
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.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL coordinationz-0.3.1-cp310-cp310-macosx_11_0_arm64.whl
Size 376.7 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
35173dff235d9201b244653dcd9075de5b62f062064fed58faed3f80a8b349d0
BLAKE2b-256 checksum
How to use checksums
500e5d717dcb3b13b68e6515a38764920560c6d61d71e0d9889924fac2d05735
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.1-cp310-cp310-macosx_10_13_x86_64.whl

Download URL coordinationz-0.3.1-cp310-cp310-macosx_10_13_x86_64.whl
Size 426.0 kB
Tags CPython 3.10 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
9eba0db483a5e647b3d47d9708a58ed23c56cba82b0abcc4abbd39cc6a116e9e
BLAKE2b-256 checksum
How to use checksums
b32ad757f4ca3d45640bdcaa2211befd93abd81a1e3977c32e8e20957603d6aa
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.1

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.1.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