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:
- User general location:
~/.config/datashield/config.yaml - 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 serverurl: The server URL- Authentication: Either
userandpassword, ortoken(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)
| File | Size | Uploaded | |
|---|---|---|---|
| datashield-0.5.1.tar.gz | 51.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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}
|