hana-cloud-interface 0.1.0__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.

@@ -1,10 +1,13 @@
1
- Metadata-Version: 2.4
2
- Name: hana-cloud-interface
3
- Version: 0.1.0
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
+ 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,7 +1,14 @@
1
1
  [project]
2
2
  name = "hana-cloud-interface"
3
- version = "0.1.0"
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']
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
- data_frame_type_global = 'pandas' # Default data frame type for hana_sql function
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 = data_frame_type_global):
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:
@@ -1,10 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: hana-cloud-interface
3
- Version: 0.1.0
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,8 +0,0 @@
1
- README.md
2
- main.py
3
- pyproject.toml
4
- hana_cloud_interface.egg-info/PKG-INFO
5
- hana_cloud_interface.egg-info/SOURCES.txt
6
- hana_cloud_interface.egg-info/dependency_links.txt
7
- hana_cloud_interface.egg-info/requires.txt
8
- hana_cloud_interface.egg-info/top_level.txt
@@ -1,4 +0,0 @@
1
- keyring
2
- hdbcli
3
- polars
4
- pandas
@@ -1,4 +0,0 @@
1
- [egg_info]
2
- tag_build =
3
- tag_date = 0
4
-