Skip to main content

CX contact tracing

libcx provides a Python abstraction for the data formats and operations defined by the CX contact tracing architecture.

import libcx

# Construct a Preseed Value and Preseed Key Pair
preseed = libcx.Preseed.value(libcx.CX_GEN_AES_128_CTR_2048)
key = libcx.Preseed.key()

# Construct a Seed Calculator
seedcalc = libcx.SeedCalculator(libcx.CX_GEN_AES_128_CTR_2048, preseed, key)

# Construct a Generator
gen = seedcalc.generator

# Construct a list of Contact Identifiers
ids = list(gen)

Metadata

Release files for libcx 0.1.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 libcx 0.1.0
File Size Uploaded Provenance Actions
libcx-0.1.0.tar.gz 543.7 kB Without provenance Details for libcx-0.1.0.tar.gz

Release files / libcx-0.1.0.tar.gz

Download URL libcx-0.1.0.tar.gz
Size 543.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f1149c4537fc1baeab8c80081a16bac8de5992f3b620934880b2c7b054d1babf
BLAKE2b-256 checksum
How to use checksums
37b0a5eebee5f7c85450d9165984a79c6147efca65c81beb7532f7fabbd913ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Security for libcx 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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