Avnst Util
A Python utility package for clinical trial data analysis
Features
- Time Alignment: Tools for aligning and comparing clinical trial event timings
- TEAE Flag Derivation: Utilities for determining Treatment Emergent Adverse Events
- Data Validation: Functions for checking missing or unknown values in clinical data
Installation
pip install avnst_util
Usage
Time Alignment
from avnst_util.time_alignment import align_time
# Align time for an event
start_time, end_time = align_time(
date="2023-01-01",
time="14:30",
event_name="First Dose"
)
TEAE Flag Derivation
from avnst_util.teae_flag_deriver import derive_teae_flag
# Determine if an AE occurred after first dose
teae_flag = derive_teae_flag(
first_dose_date="2023-01-01",
first_dose_time="14:30",
ae_start_date="2023-01-02",
ae_start_time="09:00",
opID="SUBJ001"
)
The TEAE flag returns:
1: AE definitely occurred after first dose0: AE definitely occurred before first dose2: AE timing overlaps with first dose timing or timing uncertainNone: Unable to determine timing
Requirements
- Python >= 3.6
- pandas >= 1.0.0
Development
To set up the development environment:
- Clone the repository
- Install development dependencies:
pip install -e .
Contact
- Author: Eric Liu
- Email: txender4@gmail.com
Metadata
Release files for avnst-util 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 | |
|---|---|---|---|---|
| avnst_util-0.1.tar.gz | 4.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| avnst_util-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / avnst_util-0.1.tar.gz
| Download URL | avnst_util-0.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8526e917cc8dbc981f561c2832ba8de43e5099e3cac5aff05879224452c8b65b
|
|
BLAKE2b-256 checksum How to use checksums |
8843d0e93218b925417e7835d6eb2f7612241edc94177935ef4ec5bf68888774
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.7
|
Release files / avnst_util-0.1-py3-none-any.whl
| Download URL | avnst_util-0.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33188cc65e8cb394218bd24047a93807ff6fd056880685f31ab0b1f3a2e108f6
|
|
BLAKE2b-256 checksum How to use checksums |
87fb7899488f7b204cf82a9828b280482d1168b5a5d3545c3c01f5e670b14cff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.7
|
Security for avnst-util 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.