pylantir 0.0.4__tar.gz → 0.0.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pylantir-0.0.4 → pylantir-0.0.5}/PKG-INFO +9 -1
- {pylantir-0.0.4 → pylantir-0.0.5}/README.md +8 -0
- {pylantir-0.0.4 → pylantir-0.0.5}/pyproject.toml +1 -1
- {pylantir-0.0.4 → pylantir-0.0.5}/src/pylantir/.env +0 -0
- {pylantir-0.0.4 → pylantir-0.0.5}/src/pylantir/__init__.py +0 -0
- {pylantir-0.0.4 → pylantir-0.0.5}/src/pylantir/cli/__init__.py +0 -0
- {pylantir-0.0.4 → pylantir-0.0.5}/src/pylantir/cli/run.py +5 -5
- {pylantir-0.0.4 → pylantir-0.0.5}/src/pylantir/config/mwl_config.json +0 -0
- {pylantir-0.0.4 → pylantir-0.0.5}/src/pylantir/db_setup.py +0 -0
- {pylantir-0.0.4 → pylantir-0.0.5}/src/pylantir/models.py +0 -0
- {pylantir-0.0.4 → pylantir-0.0.5}/src/pylantir/mwl_server.py +0 -0
- {pylantir-0.0.4 → pylantir-0.0.5}/src/pylantir/populate_db.py +0 -0
- {pylantir-0.0.4 → pylantir-0.0.5}/src/pylantir/redcap_to_db.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: pylantir
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.5
|
|
4
4
|
Summary: Python - DICOM Modality WorkList
|
|
5
5
|
Author-email: Milton Camacho <miltoncamachoicc@gmail.com>
|
|
6
6
|
Requires-Python: >=3.11.1
|
|
@@ -64,6 +64,14 @@ To get started simply install using:
|
|
|
64
64
|
pip install pylantir
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
+
You need to provide your REDCap API URL and API token before starting the server.
|
|
68
|
+
Set up environmental variables before starting the server:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
export REDCAP_API_URL=<your API url>
|
|
72
|
+
export REDCAP_API_TOKEN=<your API token>
|
|
73
|
+
```
|
|
74
|
+
|
|
67
75
|
Start a server called with AEtitle MWL_SERVER.
|
|
68
76
|
|
|
69
77
|
```bash
|
|
@@ -19,6 +19,14 @@ To get started simply install using:
|
|
|
19
19
|
pip install pylantir
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
You need to provide your REDCap API URL and API token before starting the server.
|
|
23
|
+
Set up environmental variables before starting the server:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
export REDCAP_API_URL=<your API url>
|
|
27
|
+
export REDCAP_API_TOKEN=<your API token>
|
|
28
|
+
```
|
|
29
|
+
|
|
22
30
|
Start a server called with AEtitle MWL_SERVER.
|
|
23
31
|
|
|
24
32
|
```bash
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -194,17 +194,17 @@ def main() -> None:
|
|
|
194
194
|
|
|
195
195
|
|
|
196
196
|
if (args.command == "start"):
|
|
197
|
-
from ..mwl_server import run_mwl_server
|
|
198
|
-
from ..redcap_to_db import sync_redcap_to_db_repeatedly
|
|
199
|
-
# Load configuration (either user-specified or default)
|
|
200
|
-
config = load_config(args.pylantir_config)
|
|
201
|
-
|
|
202
197
|
# Extract the database path (default to worklist.db if missing) &
|
|
203
198
|
# Extract the database echo setting (default to False if missing)
|
|
204
199
|
db_path = config.get("db_path", "./worklist.db")
|
|
205
200
|
db_echo = config.get("db_echo", "False")
|
|
206
201
|
update_env_with_config(db_path=db_path, db_echo=db_echo)
|
|
207
202
|
|
|
203
|
+
from ..mwl_server import run_mwl_server
|
|
204
|
+
from ..redcap_to_db import sync_redcap_to_db_repeatedly
|
|
205
|
+
# Load configuration (either user-specified or default)
|
|
206
|
+
config = load_config(args.pylantir_config)
|
|
207
|
+
|
|
208
208
|
# Extract the database update interval (default to 60 seconds if missing)
|
|
209
209
|
db_update_interval = config.get("db_update_interval", 60)
|
|
210
210
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|