Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redcap-tools/pycap
REDCap in Python
https://github.com/redcap-tools/pycap
python redcap redcap-api redcap-package
Last synced: about 8 hours ago
JSON representation
REDCap in Python
- Host: GitHub
- URL: https://github.com/redcap-tools/pycap
- Owner: redcap-tools
- License: mit
- Created: 2011-08-15T14:55:52.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-11-14T18:31:03.000Z (about 1 month ago)
- Last Synced: 2024-12-15T10:35:01.736Z (10 days ago)
- Topics: python, redcap, redcap-api, redcap-package
- Language: Python
- Homepage: http://redcap-tools.github.io/PyCap/
- Size: 2.37 MB
- Stars: 174
- Watchers: 18
- Forks: 80
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# PyCap
[![CI](https://github.com/redcap-tools/PyCap/actions/workflows/ci.yml/badge.svg)](https://github.com/redcap-tools/PyCap/actions/workflows/ci.yml)
[![Codecov](https://codecov.io/gh/redcap-tools/PyCap/branch/master/graph/badge.svg?token=IRgcPzANxU)](https://codecov.io/gh/redcap-tools/PyCap)
[![PyPI version](https://badge.fury.io/py/pycap.svg)](https://badge.fury.io/py/pycap)
[![black](https://img.shields.io/badge/code%20style-black-black)](https://pypi.org/project/black/)## Intro
`PyCap` is a python module exposing the REDCap API through some helpful abstractions. Information about the REDCap project can be found at https://project-redcap.org/.
Available under the MIT license.
## Installation
Install the latest version with [`pip`](https://pypi.python.org/pypi/pip)
```sh
$ pip install PyCap
```If you want to load REDCap data into [`pandas`](https://pandas.pydata.org/) dataframes, this will make sure you have `pandas` installed
```sh
$ pip install PyCap[all]
```To install the bleeding edge version from the github repo, use the following
```sh
$ pip install -e git+https://github.com/redcap-tools/PyCap.git#egg=PyCap
```## Documentation
Canonical documentation and usage examples can be found [here](https://redcap-tools.github.io/PyCap/).
## Features
Currently, these API calls are available:
### Export
* Arms
* Data Access Groups
* Events
* Field names
* Instruments
* Instrument-event mapping
* File
* Logging
* Metadata
* Project Info
* PDF of instruments
* Records
* Repeating instruments and events
* Report
* Survey participant list
* Users
* User-DAG assignment
* User Roles
* User-Role assignment
* Version### Import
* Arms
* Data Access Groups
* Events
* File
* Instrument-event mapping
* Metadata
* Records
* Repeating instruments and events
* Users
* User-DAG assignment
* User Roles
* User-Role assignment### Delete
* Arms
* Data Access Groups
* Events
* File
* Records
* Users
* User Roles### Other
* Generate next record name
* Switch data access group## Citing
If you use PyCap in your research, please consider citing the software:
> Burns, S. S., Browne, A., Davis, G. N., Rimrodt, S. L., & Cutting, L. E. PyCap (Version 1.0) [Computer Software].
> Nashville, TN: Vanderbilt University and Philadelphia, PA: Childrens Hospital of Philadelphia.
> Available from https://github.com/redcap-tools/PyCap. doi:10.5281/zenodo.9917