Metadata-Version: 2.4
Name: datashield-opal
Version: 0.2.0
Project-URL: Homepage, https://www.datashield.org
Project-URL: Repository, https://github.com/datashield/datashield-opal-python
Project-URL: Documentation, https://datashield.github.io/datashield-opal-python
Project-URL: Bug Tracker, https://github.com/datashield/datashield-opal-python/issues
Author-email: Yannick Marcon <yannick.marcon@obiba.org>
Maintainer-email: Yannick Marcon <yannick.marcon@obiba.org>
License: GPL-3.0-only
License-File: LICENSE.txt
Keywords: data,datashield,obiba,opal
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Requires-Dist: datashield>=0.2.0
Requires-Dist: obiba-opal>=6.0.2
Provides-Extra: dev
Requires-Dist: matplotlib>=3.10.8; extra == 'dev'
Requires-Dist: pandas>=2.3.3; extra == 'dev'
Requires-Dist: ruff>=0.10.0; extra == 'dev'
Provides-Extra: test
Requires-Dist: pytest>=7.2.2; extra == 'test'
Description-Content-Type: text/markdown

# datashield-opal-python

DataSHIELD Client Interface implementation for OBiBa/Opal

## Installation

```
pip install datashield-opal
```

## Usage

```
from datashield import DSSession, DSLoginBuilder, DSError

url = 'https://opal-demo.obiba.org'
builder = DSLoginBuilder().add('server1', url, 'dsuser', 'P@ssw0rd').add('server2', url, 'dsuser', 'P@ssw0rd')
logins = builder.build()

session = DSSession(logins)
session.open()

# do some DataSHIELD analysis stuff

session.close()
```