datatailr 0.1.64__py3-none-any.whl → 0.1.65__py3-none-any.whl

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.
@@ -30,8 +30,6 @@
30
30
  # DATATAILR_BATCH_RUN_ID - the unique identifier for the batch run.
31
31
  # DATATAILR_BATCH_ID - the unique identifier for the batch.
32
32
  # DATATAILR_JOB_ID - the unique identifier for the job.
33
- # Important:
34
- # Python environment is installed and managed by uv and all installed scripts (datatailr_run, datatailr_run_excel, jupyter etc.) should be invoked with `uv run`.
35
33
 
36
34
 
37
35
  import subprocess
@@ -165,27 +163,24 @@ def main():
165
163
  "DATATAILR_LOCAL": local,
166
164
  } | env
167
165
  run_command_as_user("datatailr_run_excel", user, env)
168
- elif job_type == "ide":
169
- command = [
166
+ elif job_type == "workspace":
167
+ ide_command = [
170
168
  "code-server",
171
169
  "--auth=none",
172
- "--bind-addr=0.0.0.0:8080",
170
+ "--bind-addr=0.0.0.0:9090",
173
171
  f'--app-name="Datatailr IDE {get_env_var("DATATAILR_USER")}"',
174
172
  ]
175
- run_command_as_user(command, user, env)
176
- elif job_type == "jupyter":
177
- command = [
178
- "uv",
179
- "run",
180
- "jupyter",
181
- "lab",
173
+ jupyter_command = [
174
+ "jupyter-lab",
182
175
  "--ip='*'",
183
- "--port=8080",
176
+ "--port=7070",
184
177
  "--no-browser",
185
178
  "--NotebookApp.token=''",
186
179
  "--NotebookApp.password=''",
187
180
  ]
188
- run_command_as_user(command, user, env)
181
+ # TODO: run both commands in parallel
182
+ run_command_as_user(ide_command, user, env)
183
+
189
184
  else:
190
185
  raise ValueError(f"Unknown job type: {job_type}")
191
186
 
datatailr/wrapper.py CHANGED
@@ -33,13 +33,14 @@ else:
33
33
 
34
34
  def type_map(arg_type):
35
35
  mapping = {
36
- "String": "str",
36
+ "string": "str",
37
37
  "file": "str",
38
38
  "boolean": "bool",
39
39
  "int": "int",
40
+ "integer": "int",
40
41
  "float": "float",
41
42
  }
42
- return mapping.get(arg_type, "str")
43
+ return mapping.get(arg_type.lower(), "str")
43
44
 
44
45
 
45
46
  def add_quotes(arg):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datatailr
3
- Version: 0.1.64
3
+ Version: 0.1.65
4
4
  Summary: Ready-to-Use Platform That Drives Business Insights
5
5
  Author-email: Datatailr <info@datatailr.com>
6
6
  License-Expression: MIT
@@ -8,11 +8,11 @@ datatailr/logging.py,sha256=msr0vzIaOtXmKjxsPpMw0Zl7jX9C_W0IuUwNjmqhhcA,4146
8
8
  datatailr/user.py,sha256=tjIMbQ-tb2yFhgLBl_eTb47kKiy-RoM3KtYS3zmJiwc,6736
9
9
  datatailr/utils.py,sha256=0wEVD2UqBgfMRLO7DIL271ejSt-_0FU4ig1cSwnO5PI,2010
10
10
  datatailr/version.py,sha256=N9K8ZxlwFFSz8XSgbgaTWZY4k2J0JKfj698nZ_O2pIU,536
11
- datatailr/wrapper.py,sha256=K9ZD76cWey_ikA6C5sKejwRaYBDln4QMg-RcoRGiuFc,7991
11
+ datatailr/wrapper.py,sha256=2OEkMo6ls7sTddfS-ev-R1zKbYc194vDULQy7cm4Q8M,8025
12
12
  datatailr/build/__init__.py,sha256=_dA7b4L6wsaAFaSxUoYSJ1oaRqDHDMR20kqoCocSOss,487
13
13
  datatailr/build/image.py,sha256=YC8ML-l-sj6TcIBY-DCx_vaeI_7SmL9fPFhHnuxzRh0,5509
14
14
  datatailr/excel/__init__.py,sha256=IpXEPIFuu8IG3uQ8k7FDHqiHnChtyp-jgE8Plx2cWXQ,656
15
- datatailr/sbin/datatailr_run.py,sha256=Bi_X7g7yKQOwzeRc6RwLOtJc-THdg0cR0kkoJ_7LH2A,7477
15
+ datatailr/sbin/datatailr_run.py,sha256=8wZIeiqcbuZKC9K1HZnUo6iAbXcL0yQ7LG4YHAQ0XsM,7235
16
16
  datatailr/sbin/datatailr_run_app.py,sha256=itF76XC2F4RK9s6bkoEppEiYwSLHK_5Jai3yvC-kFhY,1501
17
17
  datatailr/sbin/datatailr_run_batch.py,sha256=UWnp96j_G66R_Cape7Bb-rbK6UBLF7Y5_mTlWyGJAVQ,1818
18
18
  datatailr/sbin/datatailr_run_excel.py,sha256=MY2XH-T5bWABR23C_15eLhjaxggGRgjRhA-ByS6CtMc,1422
@@ -25,9 +25,9 @@ datatailr/scheduler/batch_decorator.py,sha256=LqL1bsupWLn-YEQUvFJYae7R3ogrL5-Vod
25
25
  datatailr/scheduler/constants.py,sha256=5WWTsfwZ_BA8gVDOTa2AQX9DJ0NzfaWgtY3vrODS2-8,606
26
26
  datatailr/scheduler/schedule.py,sha256=0XJJen2nL1xplRs0Xbjwgq3T-0bFCOrJzkSALdio998,3741
27
27
  datatailr/scheduler/utils.py,sha256=up6oR2iwe6G52LkvgfO394xchXgCYNjOMGRQW3e8PQk,1082
28
- datatailr-0.1.64.dist-info/licenses/LICENSE,sha256=ikKP4_O-UD_b8FuNdKmbzTb6odd0JX085ZW_FAPN3VI,1066
29
- datatailr-0.1.64.dist-info/METADATA,sha256=xcMWoywhAXbQDizNJHMfXiC3fjmDgWy5lHJ8-Bc95og,5146
30
- datatailr-0.1.64.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
- datatailr-0.1.64.dist-info/entry_points.txt,sha256=YqXfk2At-olW4PUSRkqvy_O3Mbv7uTKCCPuAAiz3Qbg,312
32
- datatailr-0.1.64.dist-info/top_level.txt,sha256=75gntW0X_SKpqxLL6hAPipvpk28GAhJBvoyqN_HohWU,10
33
- datatailr-0.1.64.dist-info/RECORD,,
28
+ datatailr-0.1.65.dist-info/licenses/LICENSE,sha256=ikKP4_O-UD_b8FuNdKmbzTb6odd0JX085ZW_FAPN3VI,1066
29
+ datatailr-0.1.65.dist-info/METADATA,sha256=vH8meAy8rUxa_PDPtzOwU3bmKdmcYiP7zhgztPQtP2g,5146
30
+ datatailr-0.1.65.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
+ datatailr-0.1.65.dist-info/entry_points.txt,sha256=YqXfk2At-olW4PUSRkqvy_O3Mbv7uTKCCPuAAiz3Qbg,312
32
+ datatailr-0.1.65.dist-info/top_level.txt,sha256=75gntW0X_SKpqxLL6hAPipvpk28GAhJBvoyqN_HohWU,10
33
+ datatailr-0.1.65.dist-info/RECORD,,