Skip to main content

Python API wrapper for Castor EDC to fetch data from you clinical study.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

# castorapi Python API wrapper for Castor EDC to fetch data from you clinical study.

## Usage First, make sure that save the client and secret from your Castor account in seperate client and secret files (without line endings) in a private folder on your PC. Do not share these files with anyone.

See also https://data.castoredc.com/api and https://helpdesk.castoredc.com/article/124-application-programming-interface-api

## Example code

import castorapi c = CastorApi(“/path/to/folder/with/secret_client”) c.select_study_by_name(“<castor_name_of_your_study>”)

# export data - fast method data = c.request_study_export_data()

# export data - slow method, but required if you have many records # or if you get a error 500 data = c.records_reports_all()

## NOTE I am not affiliated with Castor EDC in any way. Use this software at your own risk.

## TODO - implement POST endpoints of the api - implement PATCH endpoints of the api

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

castorapi-0.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

castorapi-0.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file castorapi-0.1.tar.gz.

File metadata

  • Download URL: castorapi-0.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for castorapi-0.1.tar.gz
Algorithm Hash digest
SHA256 4544ab11e1144c1a66a466f5ffc379ff1031babe6d74c0fba027f3d4fd6d3b0c
MD5 3290fddf683805189f857db9a8102a4f
BLAKE2b-256 7f5242738fa8c28c24e2b61d83e263d953bb6ca1e773951bab2c35f9cccd60e6

See more details on using hashes here.

File details

Details for the file castorapi-0.1-py3-none-any.whl.

File metadata

  • Download URL: castorapi-0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for castorapi-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1227fd4d0ea31536823db08f88613c755c3fabeefad23d2c75a2a888434378cf
MD5 cafadd5c0939e65ebc6ead2daf8232ca
BLAKE2b-256 0bab2a9e6bb90b8f21917c53e791b3f73f802c4d1bc1d071bec0d18233e96787

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