Metadata-Version: 2.4
Name: pharmadata
Version: 0.2.0
Summary: CDISC SDTM and ADaM test datasets in Python for clinical programming
Keywords: cdisc,adam,sdtm,clinical-trials,test-data,pyarrow,polars
License-Expression: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Classifier: Development Status :: 3 - Alpha
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering
Classifier: Typing :: Typed
Requires-Dist: pyarrow>=15
Requires-Dist: polars>=1.31
Requires-Dist: tzdata>=2024.1
Requires-Dist: pandas>=3.0 ; extra == 'pandas'
Requires-Python: >=3.11
Project-URL: Homepage, https://github.com/ynsec37/pharmadata
Project-URL: Repository, https://github.com/ynsec37/pharmadata
Project-URL: Documentation, https://ynsec37.github.io/pharmadata/
Project-URL: Issues, https://github.com/ynsec37/pharmadata/issues
Project-URL: Changelog, https://github.com/ynsec37/pharmadata/blob/main/docs/changelog.md
Provides-Extra: pandas
Description-Content-Type: text/markdown

<div align="center">

<h1>CDISC SDTM and ADaM Test Datasets in Python for Clinical Programming</h1>

[![CI](https://github.com/ynsec37/pharmadata/actions/workflows/ci.yml/badge.svg)](https://github.com/ynsec37/pharmadata/actions/workflows/ci.yml)
[![Coverage](https://codecov.io/gh/ynsec37/pharmadata/branch/main/graph/badge.svg)](https://codecov.io/gh/ynsec37/pharmadata)
[![PyPI](https://img.shields.io/pypi/v/pharmadata?cacheSeconds=30)](https://pypi.org/project/pharmadata/)

</div>

## Installation

```bash
pip install pharmadata
```

## Quick start

```python
from pharmadata import pharmaverseadam as adam

adsl = adam.adsl
adsl_meta = adam.adsl_meta

# Other datasets
from pharmadata import pharmaversesdtm, cdiscpilotadam, cdiscpilotsdtm
```

Default output is polars, `set_output_pandas()` switches to pandas.

## Credits

Data from the following projects. They are gratefully acknowledged for making the data available.

- [pharmaverseadam](https://github.com/pharmaverse/pharmaverseadam)
- [pharmaversesdtm](https://github.com/pharmaverse/pharmaversesdtm)
- [phuse-org/phuse-scripts](https://github.com/phuse-org/phuse-scripts)

See [NOTICE](NOTICE)
