Metadata-Version: 2.4
Name: rcol
Version: 0.0.1
Summary: Pandas DataFrame templates for REDCap instruments, with stacking and upload functionality.
Author-email: Julius Welzel <julius.welzel@gmail.com>
Requires-Python: >=3.8
Requires-Dist: pandas>=1.5.0
Requires-Dist: pycap>=2.0.0
Requires-Dist: python-dotenv
Provides-Extra: develop
Requires-Dist: pytest; extra == 'develop'
Description-Content-Type: text/markdown

# rcol

A Python package for creating, stacking, and uploading pandas DataFrame templates for REDCap instruments. Includes tests for REDCap compatibility. Uses uv for packaging and publishing to PyPI.

## Features
- DataFrame templates for REDCap instruments
- Stack and upload to REDCap projects
- REDCap compatibility testing
- PyPI-ready with uv

## Usage
Install with uv:
```sh
uv pip install .
```

Example usage:
```python
from src.redcap_templates import get_instrument_template, stack_instruments, upload_to_redcap

df = get_instrument_template('demographics')
# ... fill in data ...
stacked = stack_instruments([df])
# upload_to_redcap(stacked, api_url, api_token)
```

## Development
- Run tests with `pytest`
- Publish with `uv publish`

## License
MIT
