rgwfuncs 0.0.36__py3-none-any.whl → 0.0.38__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.
rgwfuncs/df_lib.py CHANGED
@@ -434,7 +434,7 @@ def load_data_from_query(db_preset_name: str, query: str) -> pd.DataFrame:
434
434
  return pd.DataFrame(data, columns=columns)
435
435
 
436
436
 
437
- aws_region = db_preset['region']
437
+ aws_region = db_preset['aws_region']
438
438
  database = db_preset['database']
439
439
  output_bucket = db_preset['output_bucket']
440
440
 
@@ -471,7 +471,7 @@ def load_data_from_query(db_preset_name: str, query: str) -> pd.DataFrame:
471
471
  return query_clickhouse(db_preset, query)
472
472
  elif db_type == 'google_big_query':
473
473
  return query_google_big_query(db_preset, query)
474
- elif db_type == 'athena':
474
+ elif db_type == 'aws_athena':
475
475
  return query_athena(db_preset, query)
476
476
  else:
477
477
  raise ValueError(f"Unsupported db_type: {db_type}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rgwfuncs
3
- Version: 0.0.36
3
+ Version: 0.0.38
4
4
  Summary: A functional programming paradigm for mathematical modelling and data science
5
5
  Home-page: https://github.com/ryangerardwilson/rgwfunc
6
6
  Author: Ryan Gerard Wilson
@@ -75,6 +75,15 @@ A `.rgwfuncsrc` file (located at `vi ~/.rgwfuncsrc) is required for MSSQL, CLICK
75
75
  "db_type": "google_big_query",
76
76
  "json_file_path": "",
77
77
  "project_id": ""
78
+ },
79
+ {
80
+ "name": "athena_db1",
81
+ "db_type": "aws_athena",
82
+ "aws_access_key": "",
83
+ "aws_secret_key": "",
84
+ "aws_region: "",
85
+ "database": "logs",
86
+ "output_bucket": "s3://bucket-name"
78
87
  }
79
88
  ],
80
89
  "vm_presets": [
@@ -1,12 +1,12 @@
1
1
  rgwfuncs/__init__.py,sha256=CLPRpLtzXxyFHEjS-MrxnhXH0LdS6THjAC5sCHg0m3c,1520
2
2
  rgwfuncs/algebra_lib.py,sha256=g-sNkf9Hz4i17uRIgLUYLQlyUu8yROgsoJMujdj0U3Y,21577
3
- rgwfuncs/df_lib.py,sha256=VYs_2avxVODnxBAuoZ9eQ8dDY1rcNMGmbgwcRkDv_VA,68966
3
+ rgwfuncs/df_lib.py,sha256=0bjredJvn9Al8y2S_qXPKkh3z8adi9v6IBvOUl5Jidw,68974
4
4
  rgwfuncs/docs_lib.py,sha256=y3wSAOPO3qsA4HZ7xAtW8HimM8w-c8hjcEzMRLJ96ao,1960
5
5
  rgwfuncs/interactive_shell_lib.py,sha256=A7EWsYxAfDev_N0-2GjRvAtp0bAwBPHIczXb8Gu9fzI,1107
6
6
  rgwfuncs/str_lib.py,sha256=rtAdRlnSJIu3JhI-tA_A0wCiPK2m-zn5RoGpBxv_g-4,2228
7
- rgwfuncs-0.0.36.dist-info/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
8
- rgwfuncs-0.0.36.dist-info/METADATA,sha256=jU298sn67VvVuv85s4crL4B_833DaxkuHMA0c7Cyf88,49550
9
- rgwfuncs-0.0.36.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
10
- rgwfuncs-0.0.36.dist-info/entry_points.txt,sha256=j-c5IOPIQ0252EaOV6j6STio56sbXl2C4ym_fQ0lXx0,43
11
- rgwfuncs-0.0.36.dist-info/top_level.txt,sha256=aGuVIzWsKiV1f2gCb6mynx0zx5ma0B1EwPGFKVEMTi4,9
12
- rgwfuncs-0.0.36.dist-info/RECORD,,
7
+ rgwfuncs-0.0.38.dist-info/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
8
+ rgwfuncs-0.0.38.dist-info/METADATA,sha256=A5dRwHKtHe9mv3rptslwDNBZxuE8JF7mGLpcWrF21bE,49805
9
+ rgwfuncs-0.0.38.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
10
+ rgwfuncs-0.0.38.dist-info/entry_points.txt,sha256=j-c5IOPIQ0252EaOV6j6STio56sbXl2C4ym_fQ0lXx0,43
11
+ rgwfuncs-0.0.38.dist-info/top_level.txt,sha256=aGuVIzWsKiV1f2gCb6mynx0zx5ma0B1EwPGFKVEMTi4,9
12
+ rgwfuncs-0.0.38.dist-info/RECORD,,