nsaphx is a Python package designed for causal inference studies under the potential outcome framework. It provides a flexible and extensible framework for defining and applying computational instructions to input data, which should include outcome, exposure, and confounders. The package uses a directed acyclic graph and database storage to ensure efficient computation and storage of each object. Instruction handlers can be easily extended by defining new classes and methods, which can then be used to create new instructions that can be applied to data. Each object is computed only once and stored in the database, ensuring that computation is efficient and data is not duplicated.
Installation
PyPI
pip install nsaphx
Source
Please note that the package requires Python 3.7 or higher.
git clone https://github.com/NSAPH-Software/nsaphx
cd nsaphx
pip install .
Metadata
Release files for nsaphx 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nsaphx-0.0.1.tar.gz | 15.3 kB | Without provenance | Details |
Release files / nsaphx-0.0.1.tar.gz
| Download URL | nsaphx-0.0.1.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5f202ad3f82db2bc77fb534c81b06bc6f1ed09f1c86cd52f56d69d82bbedf2b
|
|
BLAKE2b-256 checksum How to use checksums |
f5e2e29087dc60ac54ed3e59039d224d9ade2ba1cda51798b44f8930fdc2ede9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for nsaphx 0.0.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.
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.