goe-framework 1.0.6__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.
Files changed (244) hide show
  1. goe_framework-1.0.6/AUTHORS +10 -0
  2. goe_framework-1.0.6/LICENSE +201 -0
  3. goe_framework-1.0.6/PKG-INFO +210 -0
  4. goe_framework-1.0.6/README.md +140 -0
  5. goe_framework-1.0.6/pyproject.toml +116 -0
  6. goe_framework-1.0.6/setup.cfg +4 -0
  7. goe_framework-1.0.6/src/goe/__init__.py +17 -0
  8. goe_framework-1.0.6/src/goe/conductor/__init__.py +0 -0
  9. goe_framework-1.0.6/src/goe/conductor/hybrid_view_service.py +334 -0
  10. goe_framework-1.0.6/src/goe/config/__init__.py +0 -0
  11. goe_framework-1.0.6/src/goe/config/config_file.py +53 -0
  12. goe_framework-1.0.6/src/goe/config/config_validation_functions.py +663 -0
  13. goe_framework-1.0.6/src/goe/config/option_descriptions.py +38 -0
  14. goe_framework-1.0.6/src/goe/config/orchestration_config.py +996 -0
  15. goe_framework-1.0.6/src/goe/config/orchestration_defaults.py +999 -0
  16. goe_framework-1.0.6/src/goe/connect/__init__.py +0 -0
  17. goe_framework-1.0.6/src/goe/connect/connect.py +555 -0
  18. goe_framework-1.0.6/src/goe/connect/connect_backend.py +481 -0
  19. goe_framework-1.0.6/src/goe/connect/connect_constants.py +23 -0
  20. goe_framework-1.0.6/src/goe/connect/connect_frontend.py +265 -0
  21. goe_framework-1.0.6/src/goe/connect/connect_functions.py +112 -0
  22. goe_framework-1.0.6/src/goe/connect/connect_transport.py +336 -0
  23. goe_framework-1.0.6/src/goe/data_governance/__init__.py +0 -0
  24. goe_framework-1.0.6/src/goe/data_governance/cloudera_navigator.py +845 -0
  25. goe_framework-1.0.6/src/goe/data_governance/hadoop_data_governance.py +616 -0
  26. goe_framework-1.0.6/src/goe/data_governance/hadoop_data_governance_constants.py +90 -0
  27. goe_framework-1.0.6/src/goe/data_governance/hadoop_data_governance_interface.py +209 -0
  28. goe_framework-1.0.6/src/goe/exceptions.py +25 -0
  29. goe_framework-1.0.6/src/goe/filesystem/__init__.py +0 -0
  30. goe_framework-1.0.6/src/goe/filesystem/cli_hdfs.py +539 -0
  31. goe_framework-1.0.6/src/goe/filesystem/goe_azure.py +483 -0
  32. goe_framework-1.0.6/src/goe/filesystem/goe_dfs.py +424 -0
  33. goe_framework-1.0.6/src/goe/filesystem/goe_dfs_factory.py +110 -0
  34. goe_framework-1.0.6/src/goe/filesystem/goe_gcs.py +352 -0
  35. goe_framework-1.0.6/src/goe/filesystem/goe_s3.py +363 -0
  36. goe_framework-1.0.6/src/goe/filesystem/web_hdfs.py +507 -0
  37. goe_framework-1.0.6/src/goe/goe.py +3526 -0
  38. goe_framework-1.0.6/src/goe/listener/__init__.py +0 -0
  39. goe_framework-1.0.6/src/goe/listener/__main__.py +36 -0
  40. goe_framework-1.0.6/src/goe/listener/api/__init__.py +0 -0
  41. goe_framework-1.0.6/src/goe/listener/api/routes/__init__.py +0 -0
  42. goe_framework-1.0.6/src/goe/listener/api/routes/docs.py +68 -0
  43. goe_framework-1.0.6/src/goe/listener/api/routes/orchestration.py +185 -0
  44. goe_framework-1.0.6/src/goe/listener/api/routes/system.py +186 -0
  45. goe_framework-1.0.6/src/goe/listener/asgi.py +120 -0
  46. goe_framework-1.0.6/src/goe/listener/config/__init__.py +10 -0
  47. goe_framework-1.0.6/src/goe/listener/config/application.py +113 -0
  48. goe_framework-1.0.6/src/goe/listener/config/gunicorn.conf.py +284 -0
  49. goe_framework-1.0.6/src/goe/listener/config/logging.py +81 -0
  50. goe_framework-1.0.6/src/goe/listener/config/router.py +44 -0
  51. goe_framework-1.0.6/src/goe/listener/core/__init__.py +0 -0
  52. goe_framework-1.0.6/src/goe/listener/core/enum.py +24 -0
  53. goe_framework-1.0.6/src/goe/listener/core/events.py +44 -0
  54. goe_framework-1.0.6/src/goe/listener/core/middleware/__init__.py +6 -0
  55. goe_framework-1.0.6/src/goe/listener/core/middleware/compression.py +297 -0
  56. goe_framework-1.0.6/src/goe/listener/core/middleware/cors.py +38 -0
  57. goe_framework-1.0.6/src/goe/listener/core/middleware/secure_headers.py +37 -0
  58. goe_framework-1.0.6/src/goe/listener/core/security.py +46 -0
  59. goe_framework-1.0.6/src/goe/listener/core/worker.py +149 -0
  60. goe_framework-1.0.6/src/goe/listener/exceptions/__init__.py +38 -0
  61. goe_framework-1.0.6/src/goe/listener/exceptions/base.py +279 -0
  62. goe_framework-1.0.6/src/goe/listener/exceptions/errors.py +99 -0
  63. goe_framework-1.0.6/src/goe/listener/heartbeat.py +47 -0
  64. goe_framework-1.0.6/src/goe/listener/prestart.py +85 -0
  65. goe_framework-1.0.6/src/goe/listener/schemas/__init__.py +58 -0
  66. goe_framework-1.0.6/src/goe/listener/schemas/base.py +102 -0
  67. goe_framework-1.0.6/src/goe/listener/schemas/error.py +133 -0
  68. goe_framework-1.0.6/src/goe/listener/schemas/generics.py +40 -0
  69. goe_framework-1.0.6/src/goe/listener/schemas/orchestration.py +896 -0
  70. goe_framework-1.0.6/src/goe/listener/schemas/system.py +191 -0
  71. goe_framework-1.0.6/src/goe/listener/services/__init__.py +8 -0
  72. goe_framework-1.0.6/src/goe/listener/services/heartbeat.py +115 -0
  73. goe_framework-1.0.6/src/goe/listener/services/hybrid_view.py +356 -0
  74. goe_framework-1.0.6/src/goe/listener/services/orchestrate.py +24 -0
  75. goe_framework-1.0.6/src/goe/listener/services/periodic_tasks.py +196 -0
  76. goe_framework-1.0.6/src/goe/listener/services/system.py +126 -0
  77. goe_framework-1.0.6/src/goe/listener/utils/__init__.py +10 -0
  78. goe_framework-1.0.6/src/goe/listener/utils/cache.py +444 -0
  79. goe_framework-1.0.6/src/goe/listener/utils/group_by.py +26 -0
  80. goe_framework-1.0.6/src/goe/listener/utils/orchestrate.py +52 -0
  81. goe_framework-1.0.6/src/goe/listener/utils/ping.py +47 -0
  82. goe_framework-1.0.6/src/goe/listener/utils/system.py +83 -0
  83. goe_framework-1.0.6/src/goe/listener/worker.py +67 -0
  84. goe_framework-1.0.6/src/goe/listener/wsgi.py +130 -0
  85. goe_framework-1.0.6/src/goe/offload/__init__.py +0 -0
  86. goe_framework-1.0.6/src/goe/offload/backend_api.py +2081 -0
  87. goe_framework-1.0.6/src/goe/offload/backend_table.py +2645 -0
  88. goe_framework-1.0.6/src/goe/offload/bigquery/__init__.py +0 -0
  89. goe_framework-1.0.6/src/goe/offload/bigquery/bigquery_backend_api.py +2579 -0
  90. goe_framework-1.0.6/src/goe/offload/bigquery/bigquery_backend_table.py +664 -0
  91. goe_framework-1.0.6/src/goe/offload/bigquery/bigquery_column.py +167 -0
  92. goe_framework-1.0.6/src/goe/offload/bigquery/bigquery_literal.py +137 -0
  93. goe_framework-1.0.6/src/goe/offload/bigquery/bigquery_predicate.py +68 -0
  94. goe_framework-1.0.6/src/goe/offload/column_metadata.py +672 -0
  95. goe_framework-1.0.6/src/goe/offload/factory/__init__.py +0 -0
  96. goe_framework-1.0.6/src/goe/offload/factory/backend_api_factory.py +130 -0
  97. goe_framework-1.0.6/src/goe/offload/factory/backend_table_factory.py +162 -0
  98. goe_framework-1.0.6/src/goe/offload/factory/frontend_api_factory.py +96 -0
  99. goe_framework-1.0.6/src/goe/offload/factory/offload_source_table_factory.py +92 -0
  100. goe_framework-1.0.6/src/goe/offload/factory/offload_transport_factory.py +237 -0
  101. goe_framework-1.0.6/src/goe/offload/factory/offload_transport_rdbms_api_factory.py +64 -0
  102. goe_framework-1.0.6/src/goe/offload/factory/query_import_factory.py +45 -0
  103. goe_framework-1.0.6/src/goe/offload/factory/staging_file_factory.py +92 -0
  104. goe_framework-1.0.6/src/goe/offload/format_literal.py +70 -0
  105. goe_framework-1.0.6/src/goe/offload/frontend_api.py +882 -0
  106. goe_framework-1.0.6/src/goe/offload/hadoop/__init__.py +0 -0
  107. goe_framework-1.0.6/src/goe/offload/hadoop/hadoop_backend_api.py +1961 -0
  108. goe_framework-1.0.6/src/goe/offload/hadoop/hadoop_backend_table.py +898 -0
  109. goe_framework-1.0.6/src/goe/offload/hadoop/hadoop_column.py +151 -0
  110. goe_framework-1.0.6/src/goe/offload/hadoop/hadoop_predicate.py +82 -0
  111. goe_framework-1.0.6/src/goe/offload/hadoop/hive_backend_api.py +755 -0
  112. goe_framework-1.0.6/src/goe/offload/hadoop/hive_backend_table.py +257 -0
  113. goe_framework-1.0.6/src/goe/offload/hadoop/hive_literal.py +91 -0
  114. goe_framework-1.0.6/src/goe/offload/hadoop/impala_backend_api.py +1215 -0
  115. goe_framework-1.0.6/src/goe/offload/hadoop/impala_backend_table.py +273 -0
  116. goe_framework-1.0.6/src/goe/offload/hadoop/impala_literal.py +68 -0
  117. goe_framework-1.0.6/src/goe/offload/hadoop/sqoop_offload_transport.py +612 -0
  118. goe_framework-1.0.6/src/goe/offload/microsoft/__init__.py +0 -0
  119. goe_framework-1.0.6/src/goe/offload/microsoft/mssql_column.py +228 -0
  120. goe_framework-1.0.6/src/goe/offload/microsoft/mssql_frontend_api.py +650 -0
  121. goe_framework-1.0.6/src/goe/offload/microsoft/mssql_offload_source_table.py +735 -0
  122. goe_framework-1.0.6/src/goe/offload/microsoft/mssql_offload_transport_rdbms_api.py +204 -0
  123. goe_framework-1.0.6/src/goe/offload/microsoft/synapse_backend_api.py +2890 -0
  124. goe_framework-1.0.6/src/goe/offload/microsoft/synapse_backend_table.py +663 -0
  125. goe_framework-1.0.6/src/goe/offload/microsoft/synapse_column.py +220 -0
  126. goe_framework-1.0.6/src/goe/offload/microsoft/synapse_constants.py +29 -0
  127. goe_framework-1.0.6/src/goe/offload/microsoft/synapse_literal.py +156 -0
  128. goe_framework-1.0.6/src/goe/offload/microsoft/synapse_predicate.py +71 -0
  129. goe_framework-1.0.6/src/goe/offload/offload.py +706 -0
  130. goe_framework-1.0.6/src/goe/offload/offload_constants.py +605 -0
  131. goe_framework-1.0.6/src/goe/offload/offload_functions.py +588 -0
  132. goe_framework-1.0.6/src/goe/offload/offload_messages.py +708 -0
  133. goe_framework-1.0.6/src/goe/offload/offload_metadata_functions.py +462 -0
  134. goe_framework-1.0.6/src/goe/offload/offload_source_data.py +3257 -0
  135. goe_framework-1.0.6/src/goe/offload/offload_source_table.py +1295 -0
  136. goe_framework-1.0.6/src/goe/offload/offload_status_report.py +4038 -0
  137. goe_framework-1.0.6/src/goe/offload/offload_transport.py +2873 -0
  138. goe_framework-1.0.6/src/goe/offload/offload_transport_functions.py +466 -0
  139. goe_framework-1.0.6/src/goe/offload/offload_transport_rdbms_api.py +289 -0
  140. goe_framework-1.0.6/src/goe/offload/offload_validation.py +1052 -0
  141. goe_framework-1.0.6/src/goe/offload/offload_xform_functions.py +100 -0
  142. goe_framework-1.0.6/src/goe/offload/operation/__init__.py +0 -0
  143. goe_framework-1.0.6/src/goe/offload/operation/data_type_controls.py +365 -0
  144. goe_framework-1.0.6/src/goe/offload/operation/ddl_file.py +125 -0
  145. goe_framework-1.0.6/src/goe/offload/operation/not_null_columns.py +107 -0
  146. goe_framework-1.0.6/src/goe/offload/operation/partition_controls.py +521 -0
  147. goe_framework-1.0.6/src/goe/offload/operation/sort_columns.py +152 -0
  148. goe_framework-1.0.6/src/goe/offload/operation/stats_controls.py +425 -0
  149. goe_framework-1.0.6/src/goe/offload/operation/table_structure_checks.py +181 -0
  150. goe_framework-1.0.6/src/goe/offload/operation/transport.py +167 -0
  151. goe_framework-1.0.6/src/goe/offload/option_validation.py +217 -0
  152. goe_framework-1.0.6/src/goe/offload/oracle/__init__.py +0 -0
  153. goe_framework-1.0.6/src/goe/offload/oracle/oracle_column.py +326 -0
  154. goe_framework-1.0.6/src/goe/offload/oracle/oracle_frontend_api.py +1200 -0
  155. goe_framework-1.0.6/src/goe/offload/oracle/oracle_literal.py +129 -0
  156. goe_framework-1.0.6/src/goe/offload/oracle/oracle_offload_source_table.py +1765 -0
  157. goe_framework-1.0.6/src/goe/offload/oracle/oracle_offload_transport_rdbms_api.py +1106 -0
  158. goe_framework-1.0.6/src/goe/offload/oracle/oracle_predicate.py +129 -0
  159. goe_framework-1.0.6/src/goe/offload/predicate_offload.py +742 -0
  160. goe_framework-1.0.6/src/goe/offload/query_import_interface.py +92 -0
  161. goe_framework-1.0.6/src/goe/offload/snowflake/__init__.py +0 -0
  162. goe_framework-1.0.6/src/goe/offload/snowflake/snowflake_backend_api.py +2326 -0
  163. goe_framework-1.0.6/src/goe/offload/snowflake/snowflake_backend_table.py +747 -0
  164. goe_framework-1.0.6/src/goe/offload/snowflake/snowflake_column.py +161 -0
  165. goe_framework-1.0.6/src/goe/offload/snowflake/snowflake_literal.py +124 -0
  166. goe_framework-1.0.6/src/goe/offload/snowflake/snowflake_predicate.py +67 -0
  167. goe_framework-1.0.6/src/goe/offload/spark/__init__.py +0 -0
  168. goe_framework-1.0.6/src/goe/offload/spark/dataproc_offload_transport.py +615 -0
  169. goe_framework-1.0.6/src/goe/offload/spark/livy_offload_transport.py +551 -0
  170. goe_framework-1.0.6/src/goe/offload/spark/offload_transport_livy_requests.py +113 -0
  171. goe_framework-1.0.6/src/goe/offload/spark/pyspark_literal.py +69 -0
  172. goe_framework-1.0.6/src/goe/offload/spark/spark_thrift_backend_api.py +257 -0
  173. goe_framework-1.0.6/src/goe/offload/staging/__init__.py +0 -0
  174. goe_framework-1.0.6/src/goe/offload/staging/avro/__init__.py +0 -0
  175. goe_framework-1.0.6/src/goe/offload/staging/avro/avro_column.py +108 -0
  176. goe_framework-1.0.6/src/goe/offload/staging/avro/avro_staging_file.py +416 -0
  177. goe_framework-1.0.6/src/goe/offload/staging/parquet/__init__.py +0 -0
  178. goe_framework-1.0.6/src/goe/offload/staging/parquet/parquet_column.py +113 -0
  179. goe_framework-1.0.6/src/goe/offload/staging/parquet/parquet_staging_file.py +311 -0
  180. goe_framework-1.0.6/src/goe/offload/staging/staging_file.py +155 -0
  181. goe_framework-1.0.6/src/goe/offload/synthetic_partition_literal.py +249 -0
  182. goe_framework-1.0.6/src/goe/offload/teradata/__init__.py +0 -0
  183. goe_framework-1.0.6/src/goe/offload/teradata/teradata_column.py +309 -0
  184. goe_framework-1.0.6/src/goe/offload/teradata/teradata_frontend_api.py +908 -0
  185. goe_framework-1.0.6/src/goe/offload/teradata/teradata_literal.py +162 -0
  186. goe_framework-1.0.6/src/goe/offload/teradata/teradata_offload_source_table.py +1192 -0
  187. goe_framework-1.0.6/src/goe/offload/teradata/teradata_offload_transport_rdbms_api.py +620 -0
  188. goe_framework-1.0.6/src/goe/offload/teradata/teradata_partition_expression.py +205 -0
  189. goe_framework-1.0.6/src/goe/offload/teradata/teradata_predicate.py +86 -0
  190. goe_framework-1.0.6/src/goe/orchestration/__init__.py +0 -0
  191. goe_framework-1.0.6/src/goe/orchestration/cli_entry_points.py +79 -0
  192. goe_framework-1.0.6/src/goe/orchestration/command_steps.py +126 -0
  193. goe_framework-1.0.6/src/goe/orchestration/execution_id.py +101 -0
  194. goe_framework-1.0.6/src/goe/orchestration/orchestration_constants.py +56 -0
  195. goe_framework-1.0.6/src/goe/orchestration/orchestration_lock.py +164 -0
  196. goe_framework-1.0.6/src/goe/orchestration/orchestration_runner.py +539 -0
  197. goe_framework-1.0.6/src/goe/persistence/__init__.py +0 -0
  198. goe_framework-1.0.6/src/goe/persistence/factory/__init__.py +0 -0
  199. goe_framework-1.0.6/src/goe/persistence/factory/orchestration_repo_client_factory.py +48 -0
  200. goe_framework-1.0.6/src/goe/persistence/oracle/__init__.py +0 -0
  201. goe_framework-1.0.6/src/goe/persistence/oracle/oracle_orchestration_repo_client.py +1093 -0
  202. goe_framework-1.0.6/src/goe/persistence/orchestration_metadata.py +449 -0
  203. goe_framework-1.0.6/src/goe/persistence/orchestration_repo_client.py +436 -0
  204. goe_framework-1.0.6/src/goe/persistence/teradata/__init__.py +0 -0
  205. goe_framework-1.0.6/src/goe/persistence/teradata/teradata_orchestration_repo_client.py +358 -0
  206. goe_framework-1.0.6/src/goe/schema_sync/__init__.py +0 -0
  207. goe_framework-1.0.6/src/goe/schema_sync/schema_sync.py +170 -0
  208. goe_framework-1.0.6/src/goe/schema_sync/schema_sync_analyzer.py +663 -0
  209. goe_framework-1.0.6/src/goe/schema_sync/schema_sync_command_file.py +94 -0
  210. goe_framework-1.0.6/src/goe/schema_sync/schema_sync_constants.py +38 -0
  211. goe_framework-1.0.6/src/goe/schema_sync/schema_sync_processor.py +109 -0
  212. goe_framework-1.0.6/src/goe/schema_sync/schema_sync_step.py +91 -0
  213. goe_framework-1.0.6/src/goe/schema_sync/steps/__init__.py +0 -0
  214. goe_framework-1.0.6/src/goe/schema_sync/steps/add_backend_column.py +107 -0
  215. goe_framework-1.0.6/src/goe/schema_sync/steps/add_oracle_column.py +101 -0
  216. goe_framework-1.0.6/src/goe/schema_sync/steps/step_builder.py +30 -0
  217. goe_framework-1.0.6/src/goe/scripts/__init__.py +0 -0
  218. goe_framework-1.0.6/src/goe/scripts/agg_validate.py +288 -0
  219. goe_framework-1.0.6/src/goe/util/__init__.py +0 -0
  220. goe_framework-1.0.6/src/goe/util/avro_encoder.py +258 -0
  221. goe_framework-1.0.6/src/goe/util/better_impyla.py +1748 -0
  222. goe_framework-1.0.6/src/goe/util/exception_trigger.py +52 -0
  223. goe_framework-1.0.6/src/goe/util/goe_log.py +152 -0
  224. goe_framework-1.0.6/src/goe/util/goe_log_fh.py +67 -0
  225. goe_framework-1.0.6/src/goe/util/goe_version.py +18 -0
  226. goe_framework-1.0.6/src/goe/util/hive_ddl_transform.py +396 -0
  227. goe_framework-1.0.6/src/goe/util/hive_table_stats.py +1590 -0
  228. goe_framework-1.0.6/src/goe/util/hs2_connection.py +310 -0
  229. goe_framework-1.0.6/src/goe/util/json_tools.py +60 -0
  230. goe_framework-1.0.6/src/goe/util/local_cache.py +312 -0
  231. goe_framework-1.0.6/src/goe/util/misc_functions.py +775 -0
  232. goe_framework-1.0.6/src/goe/util/ora_query.py +417 -0
  233. goe_framework-1.0.6/src/goe/util/parallel_exec.py +222 -0
  234. goe_framework-1.0.6/src/goe/util/parquet_encoder.py +206 -0
  235. goe_framework-1.0.6/src/goe/util/password_tools.py +261 -0
  236. goe_framework-1.0.6/src/goe/util/polling_thread.py +97 -0
  237. goe_framework-1.0.6/src/goe/util/redis_tools.py +443 -0
  238. goe_framework-1.0.6/src/goe/util/retry_logic.py +165 -0
  239. goe_framework-1.0.6/src/goe/util/simple_timer.py +49 -0
  240. goe_framework-1.0.6/src/goe_framework.egg-info/PKG-INFO +210 -0
  241. goe_framework-1.0.6/src/goe_framework.egg-info/SOURCES.txt +242 -0
  242. goe_framework-1.0.6/src/goe_framework.egg-info/dependency_links.txt +1 -0
  243. goe_framework-1.0.6/src/goe_framework.egg-info/requires.txt +59 -0
  244. goe_framework-1.0.6/src/goe_framework.egg-info/top_level.txt +1 -0
@@ -0,0 +1,10 @@
1
+ # This is the official list of GOE authors for copyright purposes.
2
+ # This file is distinct from the CONTRIBUTORS files.
3
+ # See the latter for an explanation.
4
+
5
+ # Names should be added to this file as:
6
+ # Name or Organization <email address>
7
+ # The email address is not required for organizations.
8
+
9
+ Gluent Inc.
10
+ Google LLC
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,210 @@
1
+ Metadata-Version: 2.1
2
+ Name: goe-framework
3
+ Version: 1.0.6
4
+ Maintainer-email: Neil Johnson <neiljohnson@google.com>
5
+ Project-URL: Homepage, https://github.com/gluent/goe
6
+ Project-URL: Issues, https://github.com/gluent/goe/issues
7
+ Classifier: Development Status :: 4 - Beta
8
+ Classifier: Programming Language :: Python :: 3.7
9
+ Classifier: Programming Language :: Python :: 3.8
10
+ Classifier: Programming Language :: Python :: 3.9
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Operating System :: OS Independent
14
+ Requires-Python: >=3.7
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ License-File: AUTHORS
18
+ Requires-Dist: pyarrow
19
+ Requires-Dist: avro
20
+ Requires-Dist: configparser
21
+ Requires-Dist: cryptography
22
+ Requires-Dist: filelock
23
+ Requires-Dist: lark-parser
24
+ Requires-Dist: numpy
25
+ Requires-Dist: orjson
26
+ Requires-Dist: python-dateutil
27
+ Requires-Dist: PyYAML
28
+ Requires-Dist: requests
29
+ Requires-Dist: termcolor
30
+ Requires-Dist: urllib3
31
+ Requires-Dist: fsspec[gcs]
32
+ Requires-Dist: google-cloud-storage
33
+ Requires-Dist: boto3
34
+ Requires-Dist: azure-common
35
+ Requires-Dist: azure-storage-blob
36
+ Requires-Dist: cx-Oracle
37
+ Requires-Dist: google-cloud-bigquery
38
+ Requires-Dist: google-cloud-kms
39
+ Requires-Dist: python-dotenv
40
+ Requires-Dist: fastapi==0.77.0
41
+ Requires-Dist: uvicorn==0.17.6
42
+ Requires-Dist: redis==4.4.4
43
+ Requires-Dist: gunicorn==20.1.0
44
+ Requires-Dist: brotli==1.0.9
45
+ Requires-Dist: tenacity==8.0.1
46
+ Requires-Dist: uvloop
47
+ Requires-Dist: httptools
48
+ Provides-Extra: hadoop
49
+ Requires-Dist: hdfs; extra == "hadoop"
50
+ Requires-Dist: impyla; extra == "hadoop"
51
+ Requires-Dist: requests-kerberos; extra == "hadoop"
52
+ Requires-Dist: thrift-sasl; extra == "hadoop"
53
+ Provides-Extra: snowflake
54
+ Requires-Dist: snowflake-connector-python; extra == "snowflake"
55
+ Provides-Extra: sql-server
56
+ Requires-Dist: pymssql; extra == "sql-server"
57
+ Provides-Extra: synapse
58
+ Requires-Dist: pyodbc; extra == "synapse"
59
+ Provides-Extra: teradata
60
+ Requires-Dist: pyodbc; extra == "teradata"
61
+ Provides-Extra: dev
62
+ Requires-Dist: black; extra == "dev"
63
+ Requires-Dist: nox; extra == "dev"
64
+ Requires-Dist: pytest; extra == "dev"
65
+ Requires-Dist: pytest-xdist; extra == "dev"
66
+ Provides-Extra: test
67
+ Requires-Dist: nox; extra == "test"
68
+ Requires-Dist: pytest; extra == "test"
69
+ Requires-Dist: pytest-xdist; extra == "test"
70
+
71
+ # GOE
72
+ A simple and flexible way to copy data from an Oracle Database to Google BigQuery.
73
+
74
+ # Downloading GOE
75
+ At present GOE is a command line tool. Alongside installing the Python package we also require some extra artefacts, everything you need to run the software is provided in a versioned package which can be downloaded from [here](https://github.com/gluent/goe/releases/latest/download/goe.tar.gz) or alternatively built locally.
76
+
77
+ # Offload Home
78
+ In addition to the GOE software we need a supporting directory tree called the Offload Home. This is identified using the `OFFLOAD_HOME` environment variable. In this directory we keep configuration files, logs and the GOE software if you choose not to run scripts directly out of the cloned repo. Offload Home will also typically contain a Python virtual environment into which the GOE package and dependencies will be installed, you can run these out of the repository directory but, for separation of duties purposes, may choose to keep the source code away from users of the tool.
79
+
80
+ # Installation from a package
81
+
82
+ ## Installing the GOE Python package
83
+ 1) Copy the package to the target host, this may not be the same host the repository was cloned to.
84
+ 2) Create the Offload Home directory, for example:
85
+ ```
86
+ OFFLOAD_HOME=/opt/goe/offload
87
+ mkdir -p ${OFFLOAD_HOME}
88
+ ```
89
+ 3) Extract the package into the new directory (replace `<goe-version>` below):
90
+ ```
91
+ tar --directory=${OFFLOAD_HOME}/../ -xf goe_<goe-version>.tar.gz
92
+ ```
93
+ 4) Create and activate a Python virtual environment, for example:
94
+ ```
95
+ cd $OFFLOAD_HOME
96
+ python3 -m venv .venv && . .venv/bin/activate
97
+ ```
98
+ 5) Install the GOE Python package:
99
+ ```
100
+ cd $OFFLOAD_HOME
101
+ GOE_WHEEL="goe_framework-$(cat version | tr 'A-Z-' 'a-z.')0-py3-none-any.whl"
102
+ python3 -m pip install lib/${GOE_WHEEL}
103
+ ```
104
+
105
+ ## Configuration file
106
+ Create `offload.env` in the Offload Home, this file contains the necessary configuration specific to your environment:
107
+ ```
108
+ cp ${OFFLOAD_HOME}/conf/oracle-bigquery-offload.env.template ${OFFLOAD_HOME}/conf/offload.env
109
+ vi ${OFFLOAD_HOME}/conf/offload.env
110
+ ```
111
+
112
+ Variables you will want to pay attention to are:
113
+
114
+ - ORA_CONN
115
+ - ORA_ADM_PASS
116
+ - ORA_APP_PASS
117
+ - BIGQUERY_DATASET_LOCATION
118
+ - OFFLOAD_FS_CONTAINER
119
+ - OFFLOAD_FS_PREFIX
120
+
121
+ If using Dataproc to provide Spark:
122
+ - GOOGLE_DATAPROC_CLUSTER
123
+ - GOOGLE_DATAPROC_SERVICE_ACCOUNT
124
+ - GOOGLE_DATAPROC_REGION
125
+
126
+ If using Dataproc Batches to provide Spark:
127
+ - GOOGLE_DATAPROC_BATCHES_VERSION
128
+ - GOOGLE_DATAPROC_SERVICE_ACCOUNT
129
+ - GOOGLE_DATAPROC_REGION
130
+ - GOOGLE_DATAPROC_BATCHES_SUBNET
131
+
132
+ ## Install database objects
133
+ To install supporting database objects you need access to a database admin account that can create users, grant them system privileges and create objects in the schemas created. SYSTEM has been used in the example below but this is *not* a necessity:
134
+ ```
135
+ cd ${OFFLOAD_HOME}/setup
136
+ sqlplus system@yourhost:1521/yoursvc
137
+ @install_offload
138
+ ```
139
+
140
+ In a SQL*Plus session change the passwords for the GOE_ADM and GOE_APP users to match the values in the offload.env configuration file:
141
+ ```
142
+ alter user goe_adm identified by ...;
143
+ alter user goe_app identified by ...;
144
+ ```
145
+
146
+ # Building a custom package
147
+
148
+ If you want to test with the latest commits that have not yet been included in a Github release you can build a custom package from the repository.
149
+
150
+ ## Prepare the host/cloned repository
151
+ Debian prerequisites:
152
+ ```
153
+ sudo apt-get -y install make python3-venv
154
+ java --version || sudo apt-get -y install default-jre
155
+ ```
156
+
157
+ RHEL variant prerequisites:
158
+ ```
159
+ sudo dnf -y install make
160
+ java --version || sudo dnf -y install java-11-openjdk
161
+ ```
162
+
163
+ Install SBT in order to build the Spark Listener:
164
+ ```
165
+ curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup && rm ./cs
166
+ . ~/.bash_profile
167
+ ```
168
+
169
+ ## Make a GOE package
170
+ To create a package which contains all required artifacts for running GOE commands use the `make` target below:
171
+ ```
172
+ make clean && make package
173
+ ```
174
+
175
+ # Install for development
176
+ To create a Python virtual environment and install all required dependencies into the repository directory:
177
+ ```
178
+ make clean && make install-dev
179
+ source ./.venv/bin/activate
180
+ PYTHONPATH=${PWD}/src
181
+ ```
182
+
183
+ This enables you to develop and/or run tests.
184
+
185
+ Note only the Python dependencies for Oracle and BigQuery are installed by default. To install all optional dependencies you can run this command:
186
+ ```
187
+ make install-dev-extras
188
+ ```
189
+
190
+ # Running commands
191
+ Activate the GOE Python virtual environment:
192
+ ```
193
+ source ./.venv/bin/activate
194
+ ```
195
+
196
+ Checking connectivity:
197
+ ```
198
+ cd bin
199
+ ./connect
200
+ ```
201
+
202
+ Running an Offload:
203
+ ```
204
+ cd bin
205
+ ./offload -t my.table -x
206
+ ```
207
+
208
+ # Tests
209
+
210
+ See [Tests](tests/README.md)
@@ -0,0 +1,140 @@
1
+ # GOE
2
+ A simple and flexible way to copy data from an Oracle Database to Google BigQuery.
3
+
4
+ # Downloading GOE
5
+ At present GOE is a command line tool. Alongside installing the Python package we also require some extra artefacts, everything you need to run the software is provided in a versioned package which can be downloaded from [here](https://github.com/gluent/goe/releases/latest/download/goe.tar.gz) or alternatively built locally.
6
+
7
+ # Offload Home
8
+ In addition to the GOE software we need a supporting directory tree called the Offload Home. This is identified using the `OFFLOAD_HOME` environment variable. In this directory we keep configuration files, logs and the GOE software if you choose not to run scripts directly out of the cloned repo. Offload Home will also typically contain a Python virtual environment into which the GOE package and dependencies will be installed, you can run these out of the repository directory but, for separation of duties purposes, may choose to keep the source code away from users of the tool.
9
+
10
+ # Installation from a package
11
+
12
+ ## Installing the GOE Python package
13
+ 1) Copy the package to the target host, this may not be the same host the repository was cloned to.
14
+ 2) Create the Offload Home directory, for example:
15
+ ```
16
+ OFFLOAD_HOME=/opt/goe/offload
17
+ mkdir -p ${OFFLOAD_HOME}
18
+ ```
19
+ 3) Extract the package into the new directory (replace `<goe-version>` below):
20
+ ```
21
+ tar --directory=${OFFLOAD_HOME}/../ -xf goe_<goe-version>.tar.gz
22
+ ```
23
+ 4) Create and activate a Python virtual environment, for example:
24
+ ```
25
+ cd $OFFLOAD_HOME
26
+ python3 -m venv .venv && . .venv/bin/activate
27
+ ```
28
+ 5) Install the GOE Python package:
29
+ ```
30
+ cd $OFFLOAD_HOME
31
+ GOE_WHEEL="goe_framework-$(cat version | tr 'A-Z-' 'a-z.')0-py3-none-any.whl"
32
+ python3 -m pip install lib/${GOE_WHEEL}
33
+ ```
34
+
35
+ ## Configuration file
36
+ Create `offload.env` in the Offload Home, this file contains the necessary configuration specific to your environment:
37
+ ```
38
+ cp ${OFFLOAD_HOME}/conf/oracle-bigquery-offload.env.template ${OFFLOAD_HOME}/conf/offload.env
39
+ vi ${OFFLOAD_HOME}/conf/offload.env
40
+ ```
41
+
42
+ Variables you will want to pay attention to are:
43
+
44
+ - ORA_CONN
45
+ - ORA_ADM_PASS
46
+ - ORA_APP_PASS
47
+ - BIGQUERY_DATASET_LOCATION
48
+ - OFFLOAD_FS_CONTAINER
49
+ - OFFLOAD_FS_PREFIX
50
+
51
+ If using Dataproc to provide Spark:
52
+ - GOOGLE_DATAPROC_CLUSTER
53
+ - GOOGLE_DATAPROC_SERVICE_ACCOUNT
54
+ - GOOGLE_DATAPROC_REGION
55
+
56
+ If using Dataproc Batches to provide Spark:
57
+ - GOOGLE_DATAPROC_BATCHES_VERSION
58
+ - GOOGLE_DATAPROC_SERVICE_ACCOUNT
59
+ - GOOGLE_DATAPROC_REGION
60
+ - GOOGLE_DATAPROC_BATCHES_SUBNET
61
+
62
+ ## Install database objects
63
+ To install supporting database objects you need access to a database admin account that can create users, grant them system privileges and create objects in the schemas created. SYSTEM has been used in the example below but this is *not* a necessity:
64
+ ```
65
+ cd ${OFFLOAD_HOME}/setup
66
+ sqlplus system@yourhost:1521/yoursvc
67
+ @install_offload
68
+ ```
69
+
70
+ In a SQL*Plus session change the passwords for the GOE_ADM and GOE_APP users to match the values in the offload.env configuration file:
71
+ ```
72
+ alter user goe_adm identified by ...;
73
+ alter user goe_app identified by ...;
74
+ ```
75
+
76
+ # Building a custom package
77
+
78
+ If you want to test with the latest commits that have not yet been included in a Github release you can build a custom package from the repository.
79
+
80
+ ## Prepare the host/cloned repository
81
+ Debian prerequisites:
82
+ ```
83
+ sudo apt-get -y install make python3-venv
84
+ java --version || sudo apt-get -y install default-jre
85
+ ```
86
+
87
+ RHEL variant prerequisites:
88
+ ```
89
+ sudo dnf -y install make
90
+ java --version || sudo dnf -y install java-11-openjdk
91
+ ```
92
+
93
+ Install SBT in order to build the Spark Listener:
94
+ ```
95
+ curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup && rm ./cs
96
+ . ~/.bash_profile
97
+ ```
98
+
99
+ ## Make a GOE package
100
+ To create a package which contains all required artifacts for running GOE commands use the `make` target below:
101
+ ```
102
+ make clean && make package
103
+ ```
104
+
105
+ # Install for development
106
+ To create a Python virtual environment and install all required dependencies into the repository directory:
107
+ ```
108
+ make clean && make install-dev
109
+ source ./.venv/bin/activate
110
+ PYTHONPATH=${PWD}/src
111
+ ```
112
+
113
+ This enables you to develop and/or run tests.
114
+
115
+ Note only the Python dependencies for Oracle and BigQuery are installed by default. To install all optional dependencies you can run this command:
116
+ ```
117
+ make install-dev-extras
118
+ ```
119
+
120
+ # Running commands
121
+ Activate the GOE Python virtual environment:
122
+ ```
123
+ source ./.venv/bin/activate
124
+ ```
125
+
126
+ Checking connectivity:
127
+ ```
128
+ cd bin
129
+ ./connect
130
+ ```
131
+
132
+ Running an Offload:
133
+ ```
134
+ cd bin
135
+ ./offload -t my.table -x
136
+ ```
137
+
138
+ # Tests
139
+
140
+ See [Tests](tests/README.md)
@@ -0,0 +1,116 @@
1
+ # Copyright 2016 The GOE Authors. All rights reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ [project]
16
+ name = "goe-framework"
17
+ version = "1.0.6"
18
+ readme = "README.md"
19
+ requires-python = ">=3.7"
20
+ maintainers = [
21
+ {name = "Neil Johnson", email = "neiljohnson@google.com"},
22
+ ]
23
+ classifiers = [
24
+ "Development Status :: 4 - Beta",
25
+ "Programming Language :: Python :: 3.7",
26
+ "Programming Language :: Python :: 3.8",
27
+ "Programming Language :: Python :: 3.9",
28
+ "Programming Language :: Python :: 3.10",
29
+ "Programming Language :: Python :: 3.11",
30
+ "Operating System :: OS Independent"
31
+ ]
32
+ dependencies = [
33
+ # Core packages
34
+ "pyarrow",
35
+ "avro",
36
+ "configparser",
37
+ "cryptography",
38
+ "filelock",
39
+ "lark-parser",
40
+ "numpy",
41
+ "orjson",
42
+ "python-dateutil",
43
+ "PyYAML",
44
+ "requests",
45
+ "termcolor",
46
+ "urllib3",
47
+
48
+ # For Cloud storage
49
+ "fsspec[gcs]",
50
+ "google-cloud-storage",
51
+ "boto3",
52
+ "azure-common",
53
+ "azure-storage-blob",
54
+
55
+ # For Oracle frontend
56
+ "cx-Oracle",
57
+
58
+ # For BigQuery backend
59
+ "google-cloud-bigquery",
60
+ "google-cloud-kms",
61
+
62
+ # Env loading
63
+ "python-dotenv",
64
+
65
+ # GOE Listener packages
66
+ "fastapi==0.77.0",
67
+ "uvicorn==0.17.6",
68
+ "redis==4.4.4",
69
+ "gunicorn==20.1.0",
70
+ "brotli==1.0.9",
71
+ "tenacity==8.0.1",
72
+ "uvloop",
73
+ "httptools",
74
+ ]
75
+
76
+ [project.urls]
77
+ Homepage = "https://github.com/gluent/goe"
78
+ Issues = "https://github.com/gluent/goe/issues"
79
+
80
+ [project.optional-dependencies]
81
+ hadoop = [
82
+ "hdfs",
83
+ "impyla",
84
+ "requests-kerberos",
85
+ "thrift-sasl",
86
+ ]
87
+ snowflake = [
88
+ "snowflake-connector-python",
89
+ ]
90
+ sql_server = [
91
+ # For SQL Server frontend
92
+ # If we do this for real we should switch to pyodbc
93
+ "pymssql",
94
+ ]
95
+ synapse = [
96
+ "pyodbc",
97
+ ]
98
+ teradata = [
99
+ "pyodbc",
100
+ ]
101
+ dev = [
102
+ "black",
103
+ "nox",
104
+ "pytest",
105
+ "pytest-xdist",
106
+ ]
107
+ test = [
108
+ "nox",
109
+ "pytest",
110
+ "pytest-xdist",
111
+ ]
112
+
113
+ [build-system]
114
+ requires = ["setuptools >= 40.6.0", "wheel"]
115
+ build-backend = "setuptools.build_meta"
116
+
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+