pycap

REDCap in Python

https://github.com/redcap-tools/pycap

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    10 of 31 committers (32.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary

Keywords

python redcap redcap-api redcap-package

Keywords from Contributors

serializer pipeline-testing datacleaner data-profilers standards interactive rdf knowledge-graphs ecosystem-modeling mesh
Last synced: 6 months ago · JSON representation

Repository

REDCap in Python

Basic Info
Statistics
  • Stars: 189
  • Watchers: 17
  • Forks: 86
  • Open Issues: 11
  • Releases: 13
Topics
python redcap redcap-api redcap-package
Created over 14 years ago · Last pushed 8 months ago
Metadata Files
Readme Changelog Contributing Funding License

README.md

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

sh $ pip install PyCap

If you want to load REDCap data into pandas 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.

Features

Currently, these API calls are available:

Export

  • Arms
  • Data Access Groups
  • Events
  • Field names
  • Instruments
  • Instrument-event mapping
  • File
  • File Repository
  • Logging
  • Metadata
  • Project Info
  • PDF of instruments
  • Records
  • Repeating instruments and events
  • Report
  • Surveys
  • Users
  • User-DAG assignment
  • User Roles
  • User-Role assignment
  • Version

Import

  • Arms
  • Data Access Groups
  • Events
  • File
  • File Repository
  • 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
  • File Repository
  • 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

Owner

  • Name: redcap-tools
  • Login: redcap-tools
  • Kind: organization

GitHub Events

Total
  • Create event: 10
  • Release event: 1
  • Issues event: 7
  • Watch event: 26
  • Delete event: 8
  • Issue comment event: 20
  • Push event: 20
  • Pull request review event: 2
  • Pull request review comment event: 3
  • Pull request event: 18
  • Fork event: 4
Last Year
  • Create event: 10
  • Release event: 1
  • Issues event: 7
  • Watch event: 26
  • Delete event: 8
  • Issue comment event: 20
  • Push event: 20
  • Pull request review event: 2
  • Pull request review comment event: 3
  • Pull request event: 18
  • Fork event: 4

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 425
  • Total Committers: 31
  • Avg Commits per committer: 13.71
  • Development Distribution Score (DDS): 0.607
Past Year
  • Commits: 15
  • Committers: 2
  • Avg Commits per committer: 7.5
  • Development Distribution Score (DDS): 0.067
Top Committers
Name Email Commits
Scott Burns s****s@g****m 167
Paul Wildenhain w****p@c****u 164
Martin Burchell m****3@c****k 13
Jon Miller j****l@j****z 11
Paul Wildenhain W****P@E****U 10
sprenger j****r@u****r 9
Christopher Fonnesbeck c****k@v****u 7
Tyler Rivera r****2@e****u 5
Erik Harding e****k@p****g 5
dependabot[bot] 4****] 4
Will Beasley w****y@h****m 3
ugGit u****n@h****m 3
Nolan Nichols n****s@g****m 2
Chris Greer g****r@a****u 2
Sujay Patil s****l@g****m 2
patking02 p****2@g****m 2
Aaron Browne b****a@e****u 2
andyjessen 6****n 1
SlightlyUnorthodox g****1@g****m 1
Philipp 1****t 1
Nate Vack n****k@f****t 1
Aaron Browne a****e@g****m 1
Dan Connolly D****y 1
Scott Burns s****s@v****u 1
Stephen Damon s****n@c****m 1
Mary Carmack m****k@g****m 1
Leul Tesfaye l****1@g****m 1
Julia Sprenger j****r@r****e 1
David Allen f****n@g****m 1
Dan Connolly d****c@m****m 1
and 1 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 72
  • Total pull requests: 78
  • Average time to close issues: 3 months
  • Average time to close pull requests: 20 days
  • Total issue authors: 30
  • Total pull request authors: 10
  • Average comments per issue: 2.67
  • Average comments per pull request: 1.4
  • Merged pull requests: 55
  • Bot issues: 0
  • Bot pull requests: 19
Past Year
  • Issues: 5
  • Pull requests: 19
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 24 days
  • Issue authors: 4
  • Pull request authors: 4
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.68
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 7
Top Authors
Issue Authors
  • pwildenhain (34)
  • jthomas08 (3)
  • patking02 (3)
  • njvack (2)
  • camilovelez (2)
  • ugGit (2)
  • aanunez (2)
  • rmcbarnettahrc (2)
  • martinburchell (1)
  • tshanebuckley (1)
  • wibeasley (1)
  • sburns (1)
  • angus-lherrou (1)
  • herrlockskun (1)
  • aegoff (1)
Pull Request Authors
  • pwildenhain (46)
  • dependabot[bot] (23)
  • ugGit (3)
  • JuliaSprenger (2)
  • eingemaischt (2)
  • patking02 (2)
  • turkalpmd (1)
  • andyjessen (1)
  • wibeasley (1)
  • angus-lherrou (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (23) python (3) enhancement (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 14,108 last-month
  • Total dependent packages: 4
  • Total dependent repositories: 15
  • Total versions: 33
  • Total maintainers: 2
pypi.org: pycap

PyCap: Python interface to REDCap

  • Versions: 33
  • Dependent Packages: 4
  • Dependent Repositories: 15
  • Downloads: 14,108 Last month
Rankings
Dependent packages count: 1.9%
Dependent repos count: 3.7%
Downloads: 3.9%
Average: 4.1%
Forks count: 5.1%
Stargazers count: 6.0%
Maintainers (2)
Last synced: 6 months ago

Dependencies

poetry.lock pypi
  • astroid 2.11.2 develop
  • astunparse 1.6.3 develop
  • atomicwrites 1.4.0 develop
  • attrs 21.4.0 develop
  • black 22.3.0 develop
  • click 8.1.2 develop
  • colorama 0.4.4 develop
  • coverage 6.3.2 develop
  • dill 0.3.4 develop
  • ghp-import 2.0.2 develop
  • importlib-metadata 4.11.3 develop
  • iniconfig 1.1.1 develop
  • isort 5.10.1 develop
  • jinja2 3.0.3 develop
  • lazy-object-proxy 1.7.1 develop
  • markdown 3.3.6 develop
  • markupsafe 2.1.1 develop
  • mccabe 0.7.0 develop
  • mergedeep 1.3.4 develop
  • mkdocs 1.3.0 develop
  • mkdocs-autorefs 0.4.1 develop
  • mkdocs-material 8.2.9 develop
  • mkdocs-material-extensions 1.0.3 develop
  • mkdocstrings 0.17.0 develop
  • mypy-extensions 0.4.3 develop
  • packaging 21.3 develop
  • pandas-stubs 1.2.0.57 develop
  • pathspec 0.9.0 develop
  • platformdirs 2.5.1 develop
  • pluggy 1.0.0 develop
  • py 1.11.0 develop
  • pygments 2.11.2 develop
  • pylint 2.13.5 develop
  • pymdown-extensions 9.3 develop
  • pyparsing 3.0.8 develop
  • pytest 6.2.5 develop
  • pytest-black 0.3.12 develop
  • pytest-cov 3.0.0 develop
  • pytest-doctestplus 0.11.2 develop
  • pytest-mock 3.7.0 develop
  • pytest-pylint 0.18.0 develop
  • pytkdocs 0.16.1 develop
  • pyyaml 6.0 develop
  • pyyaml-env-tag 0.1 develop
  • responses 0.14.0 develop
  • toml 0.10.2 develop
  • tomli 2.0.1 develop
  • types-requests 2.27.16 develop
  • types-urllib3 1.26.11 develop
  • typing-extensions 4.1.1 develop
  • watchdog 2.1.7 develop
  • wrapt 1.14.0 develop
  • zipp 3.8.0 develop
  • certifi 2021.10.8
  • charset-normalizer 2.0.12
  • idna 3.3
  • numpy 1.22.3
  • pandas 1.4.2
  • python-dateutil 2.8.2
  • pytz 2022.1
  • requests 2.27.1
  • semantic-version 2.9.0
  • six 1.16.0
  • urllib3 1.26.9
pyproject.toml pypi
  • Jinja2 ~3.0.0 develop
  • mkdocs ^1.2.3 develop
  • mkdocs-material ^8.1.3 develop
  • mkdocstrings ^0.17.0 develop
  • pandas-stubs ^1.2.0 develop
  • pytest ^6.2.5 develop
  • pytest-black ^0.3.12 develop
  • pytest-cov ^3.0.0 develop
  • pytest-doctestplus ^0.11.2 develop
  • pytest-mock ^3.6.1 develop
  • pytest-pylint ^0.18.0 develop
  • responses ^0.14.0 develop
  • types-requests ^2.26.1 develop
  • pandas ^1.3.4
  • python ^3.8
  • requests ^2.20
  • semantic-version ^2.8.5
.github/workflows/ci.yml actions
  • abatilo/actions-poetry v2.0.0 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • codecov/codecov-action v2.1.0 composite