Skip to content

Commit 3a1a7dd

Browse files
committed
README added
1 parent d1c3b8e commit 3a1a7dd

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# datashield-opal-python
2+
3+
DataSHIELD Client Interface implementation for OBiBa/Opal
4+
5+
## Installation
6+
7+
```
8+
pip install datashield-opal
9+
```
10+
11+
## Usage
12+
13+
```
14+
from datashield import DSSession, DSLoginBuilder, DSError
15+
16+
url = 'https://opal-demo.obiba.org'
17+
builder = DSLoginBuilder().add('server1', url, 'dsuser', 'P@ssw0rd').add('server2', url, 'dsuser', 'P@ssw0rd')
18+
logins = builder.build()
19+
20+
session = DSSession(logins)
21+
session.open()
22+
23+
# do some DataSHIELD analysis stuff
24+
25+
session.close()
26+
```

0 commit comments

Comments
 (0)