hana-cloud-interface 0.1.2__tar.gz → 0.1.4__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.
Potentially problematic release.
This version of hana-cloud-interface might be problematic. Click here for more details.
- {hana_cloud_interface-0.1.2 → hana_cloud_interface-0.1.4}/PKG-INFO +13 -10
- {hana_cloud_interface-0.1.2 → hana_cloud_interface-0.1.4}/pyproject.toml +7 -1
- hana_cloud_interface-0.1.4/src/hana_cloud_interface/__init__.py +1 -0
- {hana_cloud_interface-0.1.2 → hana_cloud_interface-0.1.4/src/hana_cloud_interface}/main.py +2 -2
- hana_cloud_interface-0.1.4/src/hana_cloud_interface/py.typed +0 -0
- hana_cloud_interface-0.1.2/hana_cloud_interface.egg-info/PKG-INFO +0 -10
- hana_cloud_interface-0.1.2/hana_cloud_interface.egg-info/SOURCES.txt +0 -8
- hana_cloud_interface-0.1.2/hana_cloud_interface.egg-info/dependency_links.txt +0 -1
- hana_cloud_interface-0.1.2/hana_cloud_interface.egg-info/requires.txt +0 -4
- hana_cloud_interface-0.1.2/hana_cloud_interface.egg-info/top_level.txt +0 -1
- hana_cloud_interface-0.1.2/setup.cfg +0 -4
- {hana_cloud_interface-0.1.2 → hana_cloud_interface-0.1.4}/README.md +0 -0
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name: hana-cloud-interface
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: Runs a SQL command on SAP HANA Cloud using OAuth single sign on and returns a pandas or polars dataframe
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Requires-Dist: keyring
|
|
8
|
-
Requires-Dist: hdbcli
|
|
9
|
-
Requires-Dist: polars
|
|
10
|
-
Requires-Dist: pandas
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: hana-cloud-interface
|
|
3
|
+
Version: 0.1.4
|
|
4
|
+
Summary: Runs a SQL command on SAP HANA Cloud using OAuth single sign on and returns a pandas or polars dataframe
|
|
5
|
+
Author: charlotte corpe
|
|
6
|
+
Author-email: charlotte corpe <charlotte.corpe@powerco.co.nz>
|
|
7
|
+
Requires-Dist: keyring
|
|
8
|
+
Requires-Dist: hdbcli
|
|
9
|
+
Requires-Dist: polars
|
|
10
|
+
Requires-Dist: pandas
|
|
11
|
+
Requires-Python: >=3.12
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "hana-cloud-interface"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.4"
|
|
4
4
|
description = "Runs a SQL command on SAP HANA Cloud using OAuth single sign on and returns a pandas or polars dataframe"
|
|
5
5
|
readme = "README.md"
|
|
6
|
+
authors = [
|
|
7
|
+
{ name = "charlotte corpe", email = "charlotte.corpe@powerco.co.nz" }
|
|
8
|
+
]
|
|
6
9
|
requires-python = ">=3.12"
|
|
7
10
|
dependencies = ['keyring','hdbcli','polars','pandas']
|
|
8
11
|
|
|
12
|
+
[build-system]
|
|
13
|
+
requires = ["uv_build>=0.8.3,<0.9.0"]
|
|
14
|
+
build-backend = "uv_build"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .main import hana_sql, config_file, data_frame_type, Browser_override
|
|
@@ -15,7 +15,7 @@ import os
|
|
|
15
15
|
|
|
16
16
|
config_file = r'C:\python\Hana_Cloud_interface\hc_oauth_config.json'
|
|
17
17
|
Browser_override = r'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
|
|
18
|
-
|
|
18
|
+
data_frame_type = 'pandas' # Default data frame type for hana_sql function
|
|
19
19
|
debug = False
|
|
20
20
|
|
|
21
21
|
def test_connection(oauth_config):
|
|
@@ -200,7 +200,7 @@ def config_reader():
|
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
|
|
203
|
-
def hana_sql(sql_command='test',DF_type =
|
|
203
|
+
def hana_sql(sql_command='test',DF_type = data_frame_type):
|
|
204
204
|
""" handles single sign on then runs a SQL command
|
|
205
205
|
|
|
206
206
|
Parameters:
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: hana-cloud-interface
|
|
3
|
-
Version: 0.1.2
|
|
4
|
-
Summary: Runs a SQL command on SAP HANA Cloud using OAuth single sign on and returns a pandas or polars dataframe
|
|
5
|
-
Requires-Python: >=3.12
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
Requires-Dist: keyring
|
|
8
|
-
Requires-Dist: hdbcli
|
|
9
|
-
Requires-Dist: polars
|
|
10
|
-
Requires-Dist: pandas
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
main
|
|
File without changes
|