python-eigen-ingenuity 0.5.13b1__py3-none-any.whl → 0.5.14__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.
@@ -1,14 +1,14 @@
1
1
  from connectors.httpsconnector import HTTPSConnector
2
2
  from connectors.boltconnector import BoltConnector
3
3
 
4
- class ConnectionManager:
5
4
 
5
+ class ConnectionManager:
6
6
  def __init__(self, config_manager):
7
7
  self.query_output_file = None
8
8
  query_file_name = config_manager.get_query_output()
9
9
  if query_file_name is not None:
10
10
  try:
11
- self.query_output_file = open(query_file_name, 'w', encoding='UTF8')
11
+ self.query_output_file = open(query_file_name, "w", encoding="UTF8")
12
12
  except:
13
13
  pass
14
14
 
@@ -16,17 +16,27 @@ class ConnectionManager:
16
16
  results_file_name = config_manager.get_results_output()
17
17
  if results_file_name is not None:
18
18
  try:
19
- self.results_output_file = open(results_file_name, 'w', encoding='UTF8')
19
+ self.results_output_file = open(results_file_name, "w", encoding="UTF8")
20
20
  except:
21
21
  pass
22
22
 
23
23
  db_connection_details = config_manager.get_db_connection_dict()
24
- url = db_connection_details['url']
25
-
26
- if url.startswith('https:'):
27
- self.db_connection = HTTPSConnector(db_connection_details, config_manager, self.query_output_file, self.results_output_file)
24
+ url = db_connection_details["url"]
25
+
26
+ if url.startswith("http"):
27
+ self.db_connection = HTTPSConnector(
28
+ db_connection_details,
29
+ config_manager,
30
+ self.query_output_file,
31
+ self.results_output_file,
32
+ )
28
33
  else:
29
- self.db_connection = BoltConnector(db_connection_details, config_manager, self.query_output_file, self.results_output_file)
34
+ self.db_connection = BoltConnector(
35
+ db_connection_details,
36
+ config_manager,
37
+ self.query_output_file,
38
+ self.results_output_file,
39
+ )
30
40
 
31
41
  def get_db_connector(self):
32
42
  return self.db_connection
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: python-eigen-ingenuity
3
- Version: 0.5.13b1
3
+ Version: 0.5.14
4
4
  Summary: A python library used to query data from the Eigen Ingenuity system
5
5
  Home-page: https://www.eigen.co/
6
6
  Author: Murray Callander
@@ -25,7 +25,7 @@ modelbuilder/src/property.py,sha256=PN_w8UTObEjHS5GfiHtZRbV1ZM62EB-H44l8-1fKJNI,
25
25
  modelbuilder/src/versionmanager.py,sha256=B8mrYY5Der0sWi1GQjduyVGZ6BuAb6rTNVAZzQlP4k4,19148
26
26
  modelbuilder/src/connectors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  modelbuilder/src/connectors/boltconnector.py,sha256=BDlSh1Ah4iBW363y4tnIb0YPwYM8fBMqd_9QseE4oD4,4813
28
- modelbuilder/src/connectors/dbconnectors.py,sha256=KKaKGO-jduohHLK4yfROotEJBxF4JqHAFCm7nJtBb18,1496
28
+ modelbuilder/src/connectors/dbconnectors.py,sha256=rgakGoU2acsMv6N6D6ecqJMld2ZMi1JcIxpoM2ftiqY,1652
29
29
  modelbuilder/src/connectors/genericconnector.py,sha256=bMfnbrOWq97BC9oM7RIA58bNdC4kR3q3XDOiOVvYNkU,861
30
30
  modelbuilder/src/connectors/httpsconnector.py,sha256=06TrQSEa5bmqXjPPAqz1hXrOEOwzeiV-9v8scyQGRg8,6006
31
31
  modelbuilder/src/processors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -38,8 +38,8 @@ modelbuilder/src/processors/relationshipmanager.py,sha256=lDtE_5AdKzL3boq7VD8Gmp
38
38
  modelbuilder/src/queries/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  modelbuilder/src/queries/cypherbuilder.py,sha256=VpUGuPo-Ba3skjCVBFjmxm4ORQBGgF5cDiQYnK67hLA,10418
40
40
  modelbuilder/src/queries/query.py,sha256=SI7RtLOlRxZNcnv0752PL0vxQi2_-WJd9TZrOXyOoqs,2590
41
- python_eigen_ingenuity-0.5.13b1.dist-info/METADATA,sha256=yVOkGgw2YdRUaHcIs1Bi41P17mLk2uZPJ1LKXMekNfI,38358
42
- python_eigen_ingenuity-0.5.13b1.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
43
- python_eigen_ingenuity-0.5.13b1.dist-info/entry_points.txt,sha256=G3LjFQX5xKaN4mqtqCL8uaC-gRbP5T5x9r0gBTJTXXA,70
44
- python_eigen_ingenuity-0.5.13b1.dist-info/top_level.txt,sha256=lFiZ43CY_1bmdtRidIXbA6rrY2d92Rs-9tH8pcgI-XU,28
45
- python_eigen_ingenuity-0.5.13b1.dist-info/RECORD,,
41
+ python_eigen_ingenuity-0.5.14.dist-info/METADATA,sha256=TBLjmxO6VzdxUscTjMIty5smpkqSS1lmfqI5CQyolh4,38356
42
+ python_eigen_ingenuity-0.5.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
43
+ python_eigen_ingenuity-0.5.14.dist-info/entry_points.txt,sha256=G3LjFQX5xKaN4mqtqCL8uaC-gRbP5T5x9r0gBTJTXXA,70
44
+ python_eigen_ingenuity-0.5.14.dist-info/top_level.txt,sha256=lFiZ43CY_1bmdtRidIXbA6rrY2d92Rs-9tH8pcgI-XU,28
45
+ python_eigen_ingenuity-0.5.14.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.1.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5