Skip to main content

DataSHIELD Interface Python

This DataSHIELD Client Interface is a Python port of the original DataSHIELD Client Interface written in R (DSI). The provided interface can be implemented for accessing a data repository supporting the DataSHIELD infrastructure: controlled R commands to be executed on the server side are garanteeing that non disclosive information is returned to client side.

Configuration

The search path for the DataSHIELD configuration file is the following:

  1. User general location: ~/.config/datashield/config.yaml
  2. Current project specific location: ./.datashield/config.yaml

The configurations are merged: any existing entry is replaced by the new one (for instance server names must be unique).

The format of the DataSHIELD configuration file is:

servers:
  - name: server1
    url: https://opal-demo.obiba.org
    user: dsuser
    password: P@ssw0rd
  - name: server2
    url: https://opal.example.org
    token: your-access-token-here
    profile: default
  - name: server3
    url: https://study.example.org/opal
    user: dsuser
    password: P@ssw0rd
    profile: custom
    driver: datashield_opal.OpalDriver

Each server entry in the list must have:

  • name: Unique identifier for the server
  • url: The server URL
  • Authentication: Either user and password, or token (recommended)
  • profile: DataSHIELD profile name (optional, defaults to "default")
  • driver: Connection driver class name (optional, defaults to "datashield_opal.OpalDriver")

Metadata

Release files for datashield 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datashield 0.5.1
File Size Uploaded
datashield-0.5.1.tar.gz 51.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datashield 0.5.1
File Interpreter ABI Platform
datashield-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 73.3 kB

Release files / datashield-0.5.1.tar.gz

Download URL datashield-0.5.1.tar.gz
Size 51.7 kB
Tags Source
SHA-256 checksum
How to use checksums
71cab0c21ce941eef950af02c7a4b596b1cf0badad58eb2d9df53a5489940fae
BLAKE2b-256 checksum
How to use checksums
eb174977611f3e6e3f8163cc124cd26607795773c7062787266a5331c003228e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / datashield-0.5.1-py3-none-any.whl

Download URL datashield-0.5.1-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07337b918b943f195e378581418f5bcffef96d05a8233ad903fc02262634e5f7
BLAKE2b-256 checksum
How to use checksums
3e996dac06f423763461e8202823d10f5eea42411019bc55a55e24b7e7d7fa5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page