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.5.0.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycap-2.5.0-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycap-2.5.0.tar.gz
  • Upload date:
  • Size: 24.4 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.5.0.tar.gz
Algorithm Hash digest
SHA256 3c61e5cab844e4dec1be6318eac2fe639161221cad62a0fa5526c573e07cc406
MD5 6ae43ac9aa31e7eae8408ecf8823774d
BLAKE2b-256 db7bb47758020caa6d6db6e03b585dce3638864df6e9ef3e1766e6de5baa5d14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycap-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 37.8 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f483e0c8405f4dc904932d79d4d6076bd508a29e0c1e4636443316844109e9b5
MD5 1f6d5ac433873c2d814b8965da94437b
BLAKE2b-256 b0d2e2bcffe5aed05506ee3605d7f729da3061b40cf964036cb1656f61877951

See more details on using hashes here.

Supported by

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