DataSHIELD Client Interface in Python.
Project description
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")
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datashield-0.5.1.tar.gz.
File metadata
- Download URL: datashield-0.5.1.tar.gz
- Upload date:
- Size: 51.7 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71cab0c21ce941eef950af02c7a4b596b1cf0badad58eb2d9df53a5489940fae
|
|
| MD5 |
d58cc6175f99381bd2b50c70d14a98d9
|
|
| BLAKE2b-256 |
eb174977611f3e6e3f8163cc124cd26607795773c7062787266a5331c003228e
|
File details
Details for the file datashield-0.5.1-py3-none-any.whl.
File metadata
- Download URL: datashield-0.5.1-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07337b918b943f195e378581418f5bcffef96d05a8233ad903fc02262634e5f7
|
|
| MD5 |
91557688841b98471581a1eeec1e8673
|
|
| BLAKE2b-256 |
3e996dac06f423763461e8202823d10f5eea42411019bc55a55e24b7e7d7fa5f
|