Skip to main content

PyCap: Python interface to REDCap

Project description

PyCap

CI Codecov PyPI version 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

$ pip install PyCap

If you want to load REDCap data into pandas dataframes, this will make sure you have pandas installed

$ pip install PyCap[all]

To install the bleeding edge version from the github repo, use the following

$ pip install -e git+https://github.com/redcap-tools/PyCap.git#egg=PyCap

Documentation

Canonical documentation and usage examples can be found here.

Features

Currently, these API calls are available:

Export

  • Arms
  • Data Access Groups
  • Events
  • Field names
  • Instrument-event mapping
  • File
  • Logging
  • Metadata
  • Project Info
  • 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
  • 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycap-2.6.0.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

pycap-2.6.0-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

Details for the file pycap-2.6.0.tar.gz.

File metadata

  • Download URL: pycap-2.6.0.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.9.6 Darwin/22.6.0

File hashes

Hashes for pycap-2.6.0.tar.gz
Algorithm Hash digest
SHA256 68d7403bf573b03ae24cb252fb1e5f73fe365b6c9d54c46199014edaffcc8f94
MD5 884add49e19f37d53e93ce0a5187f3e1
BLAKE2b-256 555310802062df533df169892da7f72d926d63af97bd354ae7fdff043db4d842

See more details on using hashes here.

File details

Details for the file pycap-2.6.0-py3-none-any.whl.

File metadata

  • Download URL: pycap-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 39.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.9.6 Darwin/22.6.0

File hashes

Hashes for pycap-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 404a7ba299fa57f0fcadd9f4b6df123e593deda1dcb12b341f39b416b6e83d6b
MD5 92cf1c2af2eb7672f1a6a02bad8c631e
BLAKE2b-256 e4c74f11e400a19523901f55da9a6f905d2b5e614621b3c53117107e858e9f18

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page