etlplus 0.12.10__tar.gz → 0.12.11__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 (223) hide show
  1. {etlplus-0.12.10/etlplus.egg-info → etlplus-0.12.11}/PKG-INFO +1 -1
  2. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/cfg.py +2 -2
  3. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/conf.py +2 -2
  4. etlplus-0.12.11/etlplus/file/dta.py +77 -0
  5. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/enums.py +9 -3
  6. etlplus-0.12.11/etlplus/file/hbs.py +78 -0
  7. etlplus-0.12.11/etlplus/file/hdf5.py +78 -0
  8. etlplus-0.12.11/etlplus/file/jinja2.py +78 -0
  9. etlplus-0.12.11/etlplus/file/mat.py +78 -0
  10. etlplus-0.12.11/etlplus/file/mustache.py +78 -0
  11. etlplus-0.12.11/etlplus/file/nc.py +78 -0
  12. etlplus-0.12.11/etlplus/file/numbers.py +75 -0
  13. etlplus-0.12.11/etlplus/file/ods.py +79 -0
  14. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/properties.py +13 -13
  15. etlplus-0.12.11/etlplus/file/rda.py +78 -0
  16. etlplus-0.12.11/etlplus/file/rds.py +78 -0
  17. etlplus-0.12.11/etlplus/file/sas7bdat.py +78 -0
  18. etlplus-0.12.11/etlplus/file/sav.py +77 -0
  19. etlplus-0.12.11/etlplus/file/sylk.py +77 -0
  20. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/toml.py +1 -1
  21. etlplus-0.12.11/etlplus/file/vm.py +78 -0
  22. etlplus-0.12.11/etlplus/file/wks.py +77 -0
  23. etlplus-0.12.11/etlplus/file/xlsm.py +79 -0
  24. etlplus-0.12.11/etlplus/file/xpt.py +78 -0
  25. etlplus-0.12.11/etlplus/file/zsav.py +77 -0
  26. {etlplus-0.12.10 → etlplus-0.12.11/etlplus.egg-info}/PKG-INFO +1 -1
  27. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus.egg-info/SOURCES.txt +19 -0
  28. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/file/test_u_file_core.py +1 -1
  29. {etlplus-0.12.10 → etlplus-0.12.11}/.coveragerc +0 -0
  30. {etlplus-0.12.10 → etlplus-0.12.11}/.editorconfig +0 -0
  31. {etlplus-0.12.10 → etlplus-0.12.11}/.gitattributes +0 -0
  32. {etlplus-0.12.10 → etlplus-0.12.11}/.github/actions/python-bootstrap/action.yml +0 -0
  33. {etlplus-0.12.10 → etlplus-0.12.11}/.github/workflows/ci.yml +0 -0
  34. {etlplus-0.12.10 → etlplus-0.12.11}/.gitignore +0 -0
  35. {etlplus-0.12.10 → etlplus-0.12.11}/.pre-commit-config.yaml +0 -0
  36. {etlplus-0.12.10 → etlplus-0.12.11}/.ruff.toml +0 -0
  37. {etlplus-0.12.10 → etlplus-0.12.11}/CODE_OF_CONDUCT.md +0 -0
  38. {etlplus-0.12.10 → etlplus-0.12.11}/CONTRIBUTING.md +0 -0
  39. {etlplus-0.12.10 → etlplus-0.12.11}/DEMO.md +0 -0
  40. {etlplus-0.12.10 → etlplus-0.12.11}/LICENSE +0 -0
  41. {etlplus-0.12.10 → etlplus-0.12.11}/MANIFEST.in +0 -0
  42. {etlplus-0.12.10 → etlplus-0.12.11}/Makefile +0 -0
  43. {etlplus-0.12.10 → etlplus-0.12.11}/README.md +0 -0
  44. {etlplus-0.12.10 → etlplus-0.12.11}/REFERENCES.md +0 -0
  45. {etlplus-0.12.10 → etlplus-0.12.11}/SECURITY.md +0 -0
  46. {etlplus-0.12.10 → etlplus-0.12.11}/SUPPORT.md +0 -0
  47. {etlplus-0.12.10 → etlplus-0.12.11}/docs/README.md +0 -0
  48. {etlplus-0.12.10 → etlplus-0.12.11}/docs/pipeline-guide.md +0 -0
  49. {etlplus-0.12.10 → etlplus-0.12.11}/docs/snippets/installation_version.md +0 -0
  50. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/README.md +0 -0
  51. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/__init__.py +0 -0
  52. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/__main__.py +0 -0
  53. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/__version__.py +0 -0
  54. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/README.md +0 -0
  55. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/__init__.py +0 -0
  56. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/auth.py +0 -0
  57. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/config.py +0 -0
  58. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/endpoint_client.py +0 -0
  59. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/errors.py +0 -0
  60. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/pagination/__init__.py +0 -0
  61. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/pagination/client.py +0 -0
  62. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/pagination/config.py +0 -0
  63. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/pagination/paginator.py +0 -0
  64. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/rate_limiting/__init__.py +0 -0
  65. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/rate_limiting/config.py +0 -0
  66. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/rate_limiting/rate_limiter.py +0 -0
  67. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/request_manager.py +0 -0
  68. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/retry_manager.py +0 -0
  69. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/transport.py +0 -0
  70. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/api/types.py +0 -0
  71. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/cli/README.md +0 -0
  72. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/cli/__init__.py +0 -0
  73. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/cli/commands.py +0 -0
  74. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/cli/constants.py +0 -0
  75. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/cli/handlers.py +0 -0
  76. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/cli/io.py +0 -0
  77. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/cli/main.py +0 -0
  78. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/cli/options.py +0 -0
  79. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/cli/state.py +0 -0
  80. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/cli/types.py +0 -0
  81. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/config/README.md +0 -0
  82. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/config/__init__.py +0 -0
  83. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/config/connector.py +0 -0
  84. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/config/jobs.py +0 -0
  85. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/config/pipeline.py +0 -0
  86. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/config/profile.py +0 -0
  87. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/config/types.py +0 -0
  88. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/config/utils.py +0 -0
  89. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/database/README.md +0 -0
  90. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/database/__init__.py +0 -0
  91. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/database/ddl.py +0 -0
  92. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/database/engine.py +0 -0
  93. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/database/orm.py +0 -0
  94. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/database/schema.py +0 -0
  95. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/database/types.py +0 -0
  96. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/enums.py +0 -0
  97. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/extract.py +0 -0
  98. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/README.md +0 -0
  99. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/__init__.py +0 -0
  100. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/_imports.py +0 -0
  101. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/_io.py +0 -0
  102. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/accdb.py +0 -0
  103. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/arrow.py +0 -0
  104. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/avro.py +0 -0
  105. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/bson.py +0 -0
  106. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/cbor.py +0 -0
  107. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/core.py +0 -0
  108. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/csv.py +0 -0
  109. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/dat.py +0 -0
  110. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/duckdb.py +0 -0
  111. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/feather.py +0 -0
  112. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/fwf.py +0 -0
  113. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/gz.py +0 -0
  114. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/ini.py +0 -0
  115. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/ion.py +0 -0
  116. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/json.py +0 -0
  117. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/log.py +0 -0
  118. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/mdb.py +0 -0
  119. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/msgpack.py +0 -0
  120. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/ndjson.py +0 -0
  121. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/orc.py +0 -0
  122. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/parquet.py +0 -0
  123. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/pb.py +0 -0
  124. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/pbf.py +0 -0
  125. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/proto.py +0 -0
  126. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/psv.py +0 -0
  127. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/sqlite.py +0 -0
  128. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/stub.py +0 -0
  129. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/tab.py +0 -0
  130. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/tsv.py +0 -0
  131. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/txt.py +0 -0
  132. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/xls.py +0 -0
  133. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/xlsx.py +0 -0
  134. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/xml.py +0 -0
  135. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/yaml.py +0 -0
  136. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/file/zip.py +0 -0
  137. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/load.py +0 -0
  138. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/mixins.py +0 -0
  139. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/py.typed +0 -0
  140. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/run.py +0 -0
  141. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/run_helpers.py +0 -0
  142. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/templates/README.md +0 -0
  143. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/templates/__init__.py +0 -0
  144. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/templates/ddl.sql.j2 +0 -0
  145. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/templates/view.sql.j2 +0 -0
  146. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/transform.py +0 -0
  147. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/types.py +0 -0
  148. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/utils.py +0 -0
  149. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/validate.py +0 -0
  150. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/validation/README.md +0 -0
  151. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/validation/__init__.py +0 -0
  152. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus/validation/utils.py +0 -0
  153. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus.egg-info/dependency_links.txt +0 -0
  154. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus.egg-info/entry_points.txt +0 -0
  155. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus.egg-info/requires.txt +0 -0
  156. {etlplus-0.12.10 → etlplus-0.12.11}/etlplus.egg-info/top_level.txt +0 -0
  157. {etlplus-0.12.10 → etlplus-0.12.11}/examples/README.md +0 -0
  158. {etlplus-0.12.10 → etlplus-0.12.11}/examples/configs/ddl_spec.yml +0 -0
  159. {etlplus-0.12.10 → etlplus-0.12.11}/examples/configs/pipeline.yml +0 -0
  160. {etlplus-0.12.10 → etlplus-0.12.11}/examples/data/sample.csv +0 -0
  161. {etlplus-0.12.10 → etlplus-0.12.11}/examples/data/sample.json +0 -0
  162. {etlplus-0.12.10 → etlplus-0.12.11}/examples/data/sample.xml +0 -0
  163. {etlplus-0.12.10 → etlplus-0.12.11}/examples/data/sample.xsd +0 -0
  164. {etlplus-0.12.10 → etlplus-0.12.11}/examples/data/sample.yaml +0 -0
  165. {etlplus-0.12.10 → etlplus-0.12.11}/examples/quickstart_python.py +0 -0
  166. {etlplus-0.12.10 → etlplus-0.12.11}/pyproject.toml +0 -0
  167. {etlplus-0.12.10 → etlplus-0.12.11}/pytest.ini +0 -0
  168. {etlplus-0.12.10 → etlplus-0.12.11}/setup.cfg +0 -0
  169. {etlplus-0.12.10 → etlplus-0.12.11}/setup.py +0 -0
  170. {etlplus-0.12.10 → etlplus-0.12.11}/tests/__init__.py +0 -0
  171. {etlplus-0.12.10 → etlplus-0.12.11}/tests/conftest.py +0 -0
  172. {etlplus-0.12.10 → etlplus-0.12.11}/tests/integration/conftest.py +0 -0
  173. {etlplus-0.12.10 → etlplus-0.12.11}/tests/integration/test_i_cli.py +0 -0
  174. {etlplus-0.12.10 → etlplus-0.12.11}/tests/integration/test_i_examples_data_parity.py +0 -0
  175. {etlplus-0.12.10 → etlplus-0.12.11}/tests/integration/test_i_pagination_strategy.py +0 -0
  176. {etlplus-0.12.10 → etlplus-0.12.11}/tests/integration/test_i_pipeline_smoke.py +0 -0
  177. {etlplus-0.12.10 → etlplus-0.12.11}/tests/integration/test_i_pipeline_yaml_load.py +0 -0
  178. {etlplus-0.12.10 → etlplus-0.12.11}/tests/integration/test_i_run.py +0 -0
  179. {etlplus-0.12.10 → etlplus-0.12.11}/tests/integration/test_i_run_profile_pagination_defaults.py +0 -0
  180. {etlplus-0.12.10 → etlplus-0.12.11}/tests/integration/test_i_run_profile_rate_limit_defaults.py +0 -0
  181. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/conftest.py +0 -0
  182. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_auth.py +0 -0
  183. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_config.py +0 -0
  184. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_endpoint_client.py +0 -0
  185. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_mocks.py +0 -0
  186. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_pagination_client.py +0 -0
  187. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_pagination_config.py +0 -0
  188. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_paginator.py +0 -0
  189. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_rate_limit_config.py +0 -0
  190. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_rate_limiter.py +0 -0
  191. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_request_manager.py +0 -0
  192. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_retry_manager.py +0 -0
  193. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_transport.py +0 -0
  194. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/api/test_u_types.py +0 -0
  195. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/cli/conftest.py +0 -0
  196. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/cli/test_u_cli_handlers.py +0 -0
  197. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/cli/test_u_cli_io.py +0 -0
  198. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/cli/test_u_cli_main.py +0 -0
  199. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/cli/test_u_cli_state.py +0 -0
  200. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/config/test_u_config_utils.py +0 -0
  201. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/config/test_u_connector.py +0 -0
  202. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/config/test_u_jobs.py +0 -0
  203. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/config/test_u_pipeline.py +0 -0
  204. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/conftest.py +0 -0
  205. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/database/test_u_database_ddl.py +0 -0
  206. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/database/test_u_database_engine.py +0 -0
  207. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/database/test_u_database_orm.py +0 -0
  208. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/database/test_u_database_schema.py +0 -0
  209. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/file/test_u_file_enums.py +0 -0
  210. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/file/test_u_file_yaml.py +0 -0
  211. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_enums.py +0 -0
  212. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_extract.py +0 -0
  213. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_load.py +0 -0
  214. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_main.py +0 -0
  215. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_mixins.py +0 -0
  216. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_run.py +0 -0
  217. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_run_helpers.py +0 -0
  218. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_transform.py +0 -0
  219. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_utils.py +0 -0
  220. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_validate.py +0 -0
  221. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/test_u_version.py +0 -0
  222. {etlplus-0.12.10 → etlplus-0.12.11}/tests/unit/validation/test_u_validation_utils.py +0 -0
  223. {etlplus-0.12.10 → etlplus-0.12.11}/tools/update_demo_snippets.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: etlplus
3
- Version: 0.12.10
3
+ Version: 0.12.11
4
4
  Summary: A Swiss Army knife for simple ETL operations
5
5
  Home-page: https://github.com/Dagitali/ETLPlus
6
6
  Author: ETLPlus Team
@@ -5,8 +5,8 @@ Helpers for reading/writing config (CFG) files.
5
5
 
6
6
  Notes
7
7
  -----
8
- - A CFG-formatted” file is a configuration file that may use various
9
- syntaxes, such as INI, YAML, or custom formats.
8
+ - A CFG file is a configuration file that may use various syntaxes, such as
9
+ INI, YAML, or custom formats.
10
10
  - Common cases:
11
11
  - INI-style key-value pairs with sections (such as in Python ecosystems,
12
12
  using ``configparser``).
@@ -5,8 +5,8 @@ Helpers for reading/writing config (CONF) files.
5
5
 
6
6
  Notes
7
7
  -----
8
- - A CONF-formatted” file is a configuration file that may use various
9
- syntaxes, such as INI, YAML, or custom formats.
8
+ - A CONF file is a configuration file that may use various syntaxes, such as
9
+ INI, YAML, or custom formats.
10
10
  - Common cases:
11
11
  - INI-style key-value pairs with sections.
12
12
  - YAML-like structures with indentation.
@@ -0,0 +1,77 @@
1
+ """
2
+ :mod:`etlplus.file.dta` module.
3
+
4
+ Helpers for reading/writing Stata (DTA) data files.
5
+
6
+ Notes
7
+ -----
8
+ - Stata DTA files are binary files used by Stata statistical software that
9
+ store datasets with variables, labels, and data types.
10
+ - Common cases:
11
+ - Reading data for analysis in Python.
12
+ - Writing processed data back to Stata format.
13
+ - Rule of thumb:
14
+ - If you need to work with Stata data files, use this module for reading
15
+ and writing.
16
+ """
17
+
18
+ from __future__ import annotations
19
+
20
+ from pathlib import Path
21
+
22
+ from ..types import JSONData
23
+ from ..types import JSONList
24
+ from . import stub
25
+
26
+ # SECTION: EXPORTS ========================================================== #
27
+
28
+
29
+ __all__ = [
30
+ 'read',
31
+ 'write',
32
+ ]
33
+
34
+
35
+ # SECTION: FUNCTIONS ======================================================== #
36
+
37
+
38
+ def read(
39
+ path: Path,
40
+ ) -> JSONList:
41
+ """
42
+ Read DTA content from ``path``.
43
+
44
+ Parameters
45
+ ----------
46
+ path : Path
47
+ Path to the DTA file on disk.
48
+
49
+ Returns
50
+ -------
51
+ JSONList
52
+ The list of dictionaries read from the DTA file.
53
+ """
54
+ return stub.read(path, format_name='DTA')
55
+
56
+
57
+ def write(
58
+ path: Path,
59
+ data: JSONData,
60
+ ) -> int:
61
+ """
62
+ Write ``data`` to DTA file at ``path`` and return record count.
63
+
64
+ Parameters
65
+ ----------
66
+ path : Path
67
+ Path to the DTA file on disk.
68
+ data : JSONData
69
+ Data to write as DTA file. Should be a list of dictionaries or a
70
+ single dictionary.
71
+
72
+ Returns
73
+ -------
74
+ int
75
+ The number of rows written to the DTA file.
76
+ """
77
+ return stub.write(path, data, format_name='DTA')
@@ -79,7 +79,7 @@ class FileFormat(CoercibleStrEnum):
79
79
  INI = 'ini' # INI-style key-value pairs
80
80
  JSON = 'json' # JavaScript Object Notation
81
81
  NDJSON = 'ndjson' # Newline-Delimited JSON
82
- PROPS = 'properties' # Java-style key-value pairs
82
+ PROPERTIES = 'properties' # Java-style key-value pairs
83
83
  TOML = 'toml' # Tom's Obvious Minimal Language
84
84
  XML = 'xml' # Extensible Markup Language
85
85
  YAML = 'yaml' # YAML Ain't Markup Language
@@ -108,7 +108,7 @@ class FileFormat(CoercibleStrEnum):
108
108
 
109
109
  # Spreadsheets
110
110
  NUMBERS = 'numbers' # Apple Numbers spreadsheet
111
- ODS = 'ods' # OpenDocument Spreadsheet
111
+ ODS = 'ods' # OpenDocument spreadsheet
112
112
  WKS = 'wks' # Lotus 1-2-3 spreadsheet
113
113
  XLS = 'xls' # Microsoft Excel (BIFF); read-only
114
114
  XLSM = 'xlsm' # Microsoft Excel Macro-Enabled (Open XML)
@@ -116,7 +116,7 @@ class FileFormat(CoercibleStrEnum):
116
116
 
117
117
  # Statistical / scientific / numeric computing
118
118
  DTA = 'dta' # Stata data file
119
- H5 = 'h5' # Hierarchical Data Format
119
+ HDF5 = 'hdf5' # Hierarchical Data Format
120
120
  MAT = 'mat' # MATLAB data file
121
121
  NC = 'nc' # NetCDF data file
122
122
  RDA = 'rda' # RData workspace/object bundle
@@ -175,6 +175,12 @@ class FileFormat(CoercibleStrEnum):
175
175
 
176
176
  # Domain-specific & less common
177
177
 
178
+ # Templates
179
+ HBS = 'hbs' # Handlebars
180
+ JINJA2 = 'jinja2' # Jinja2
181
+ MUSTACHE = 'mustache' # Mustache
182
+ VM = 'vm' # Apache Velocity
183
+
178
184
  # -- Class Methods -- #
179
185
 
180
186
  @classmethod
@@ -0,0 +1,78 @@
1
+ """
2
+ :mod:`etlplus.file.hbs` module.
3
+
4
+ Helpers for reading/writing Handlebars (HBS) template files.
5
+
6
+ Notes
7
+ -----
8
+ - A Handlebars (HBS) template file is a text file used for generating HTML or
9
+ other text formats by combining templates with data.
10
+ - Common cases:
11
+ - HTML templates.
12
+ - Email templates.
13
+ - Configuration files.
14
+ - Rule of thumb:
15
+ - If you need to work with Handlebars template files, use this module for
16
+ reading and writing.
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ from pathlib import Path
22
+
23
+ from ..types import JSONData
24
+ from ..types import JSONList
25
+ from . import stub
26
+
27
+ # SECTION: EXPORTS ========================================================== #
28
+
29
+
30
+ __all__ = [
31
+ 'read',
32
+ 'write',
33
+ ]
34
+
35
+
36
+ # SECTION: FUNCTIONS ======================================================== #
37
+
38
+
39
+ def read(
40
+ path: Path,
41
+ ) -> JSONList:
42
+ """
43
+ Read ZSAV content from ``path``.
44
+
45
+ Parameters
46
+ ----------
47
+ path : Path
48
+ Path to the HBS file on disk.
49
+
50
+ Returns
51
+ -------
52
+ JSONList
53
+ The list of dictionaries read from the HBS file.
54
+ """
55
+ return stub.read(path, format_name='HBS')
56
+
57
+
58
+ def write(
59
+ path: Path,
60
+ data: JSONData,
61
+ ) -> int:
62
+ """
63
+ Write ``data`` to HBS file at ``path`` and return record count.
64
+
65
+ Parameters
66
+ ----------
67
+ path : Path
68
+ Path to the HBS file on disk.
69
+ data : JSONData
70
+ Data to write as HBS file. Should be a list of dictionaries or a
71
+ single dictionary.
72
+
73
+ Returns
74
+ -------
75
+ int
76
+ The number of rows written to the HBS file.
77
+ """
78
+ return stub.write(path, data, format_name='HBS')
@@ -0,0 +1,78 @@
1
+ """
2
+ :mod:`etlplus.file.hdf5` module.
3
+
4
+ Helpers for reading/writing Hierarchical Data Format (HDF5) files.
5
+
6
+ Notes
7
+ -----
8
+ - A HDF5 file is a binary file format designed to store and organize large
9
+ amounts of data.
10
+ - Common cases:
11
+ - Scientific data storage and sharing.
12
+ - Large-scale data analysis.
13
+ - Hierarchical data organization.
14
+ - Rule of thumb:
15
+ - If the file follows the HDF5 specification, use this module for reading
16
+ and writing.
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ from pathlib import Path
22
+
23
+ from ..types import JSONData
24
+ from ..types import JSONList
25
+ from . import stub
26
+
27
+ # SECTION: EXPORTS ========================================================== #
28
+
29
+
30
+ __all__ = [
31
+ 'read',
32
+ 'write',
33
+ ]
34
+
35
+
36
+ # SECTION: FUNCTIONS ======================================================== #
37
+
38
+
39
+ def read(
40
+ path: Path,
41
+ ) -> JSONList:
42
+ """
43
+ Read HDF5 content from ``path``.
44
+
45
+ Parameters
46
+ ----------
47
+ path : Path
48
+ Path to the HDF5 file on disk.
49
+
50
+ Returns
51
+ -------
52
+ JSONList
53
+ The list of dictionaries read from the HDF5 file.
54
+ """
55
+ return stub.read(path, format_name='HDF5')
56
+
57
+
58
+ def write(
59
+ path: Path,
60
+ data: JSONData,
61
+ ) -> int:
62
+ """
63
+ Write ``data`` to HDF5 file at ``path`` and return record count.
64
+
65
+ Parameters
66
+ ----------
67
+ path : Path
68
+ Path to the HDF5 file on disk.
69
+ data : JSONData
70
+ Data to write as HDF5 file. Should be a list of dictionaries or a
71
+ single dictionary.
72
+
73
+ Returns
74
+ -------
75
+ int
76
+ The number of rows written to the HDF5 file.
77
+ """
78
+ return stub.write(path, data, format_name='HDF5')
@@ -0,0 +1,78 @@
1
+ """
2
+ :mod:`etlplus.file.jinja2` module.
3
+
4
+ Helpers for reading/writing compressed Jinja2 (JINJA2) template files.
5
+
6
+ Notes
7
+ -----
8
+ - A JINJA2 file is a text file used for generating HTML or other text formats
9
+ by combining templates with data.
10
+ - Common cases:
11
+ - HTML templates.
12
+ - Email templates.
13
+ - Configuration files.
14
+ - Rule of thumb:
15
+ - If you need to work with Jinja2 template files, use this module for
16
+ reading and writing.
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ from pathlib import Path
22
+
23
+ from ..types import JSONData
24
+ from ..types import JSONList
25
+ from . import stub
26
+
27
+ # SECTION: EXPORTS ========================================================== #
28
+
29
+
30
+ __all__ = [
31
+ 'read',
32
+ 'write',
33
+ ]
34
+
35
+
36
+ # SECTION: FUNCTIONS ======================================================== #
37
+
38
+
39
+ def read(
40
+ path: Path,
41
+ ) -> JSONList:
42
+ """
43
+ Read JINJA2 content from ``path``.
44
+
45
+ Parameters
46
+ ----------
47
+ path : Path
48
+ Path to the JINJA2 file on disk.
49
+
50
+ Returns
51
+ -------
52
+ JSONList
53
+ The list of dictionaries read from the JINJA2 file.
54
+ """
55
+ return stub.read(path, format_name='JINJA2')
56
+
57
+
58
+ def write(
59
+ path: Path,
60
+ data: JSONData,
61
+ ) -> int:
62
+ """
63
+ Write ``data`` to JINJA2 file at ``path`` and return record count.
64
+
65
+ Parameters
66
+ ----------
67
+ path : Path
68
+ Path to the JINJA2 file on disk.
69
+ data : JSONData
70
+ Data to write as JINJA2 file. Should be a list of dictionaries or a
71
+ single dictionary.
72
+
73
+ Returns
74
+ -------
75
+ int
76
+ The number of rows written to the JINJA2 file.
77
+ """
78
+ return stub.write(path, data, format_name='JINJA2')
@@ -0,0 +1,78 @@
1
+ """
2
+ :mod:`etlplus.file.mat` module.
3
+
4
+ Helpers for reading/writing MATLAB (MAT) data files.
5
+
6
+ Notes
7
+ -----
8
+ - A MAT file is a binary file format used by MATLAB to store variables,
9
+ arrays, and other data structures.
10
+ - Common cases:
11
+ - Storing numerical arrays and matrices.
12
+ - Saving workspace variables.
13
+ - Sharing data between MATLAB and other programming environments.
14
+ - Rule of thumb:
15
+ - If the file follows the MAT-file specification, use this module for
16
+ reading and writing.
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ from pathlib import Path
22
+
23
+ from ..types import JSONData
24
+ from ..types import JSONList
25
+ from . import stub
26
+
27
+ # SECTION: EXPORTS ========================================================== #
28
+
29
+
30
+ __all__ = [
31
+ 'read',
32
+ 'write',
33
+ ]
34
+
35
+
36
+ # SECTION: FUNCTIONS ======================================================== #
37
+
38
+
39
+ def read(
40
+ path: Path,
41
+ ) -> JSONList:
42
+ """
43
+ Read MAT content from ``path``.
44
+
45
+ Parameters
46
+ ----------
47
+ path : Path
48
+ Path to the MAT file on disk.
49
+
50
+ Returns
51
+ -------
52
+ JSONList
53
+ The list of dictionaries read from the MAT file.
54
+ """
55
+ return stub.read(path, format_name='MAT')
56
+
57
+
58
+ def write(
59
+ path: Path,
60
+ data: JSONData,
61
+ ) -> int:
62
+ """
63
+ Write ``data`` to MAT file at ``path`` and return record count.
64
+
65
+ Parameters
66
+ ----------
67
+ path : Path
68
+ Path to the MAT file on disk.
69
+ data : JSONData
70
+ Data to write as MAT file. Should be a list of dictionaries or a
71
+ single dictionary.
72
+
73
+ Returns
74
+ -------
75
+ int
76
+ The number of rows written to the MAT file.
77
+ """
78
+ return stub.write(path, data, format_name='MAT')
@@ -0,0 +1,78 @@
1
+ """
2
+ :mod:`etlplus.file.mustache` module.
3
+
4
+ Helpers for reading/writing Mustache (MUSTACHE) template files.
5
+
6
+ Notes
7
+ -----
8
+ - A MUSTACHE file is a text file used for generating HTML or other text formats
9
+ by combining templates with data.
10
+ - Common cases:
11
+ - HTML templates.
12
+ - Email templates.
13
+ - Configuration files.
14
+ - Rule of thumb:
15
+ - If you need to work with Mustache template files, use this module for
16
+ reading and writing.
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ from pathlib import Path
22
+
23
+ from ..types import JSONData
24
+ from ..types import JSONList
25
+ from . import stub
26
+
27
+ # SECTION: EXPORTS ========================================================== #
28
+
29
+
30
+ __all__ = [
31
+ 'read',
32
+ 'write',
33
+ ]
34
+
35
+
36
+ # SECTION: FUNCTIONS ======================================================== #
37
+
38
+
39
+ def read(
40
+ path: Path,
41
+ ) -> JSONList:
42
+ """
43
+ Read MUSTACHE content from ``path``.
44
+
45
+ Parameters
46
+ ----------
47
+ path : Path
48
+ Path to the MUSTACHE file on disk.
49
+
50
+ Returns
51
+ -------
52
+ JSONList
53
+ The list of dictionaries read from the MUSTACHE file.
54
+ """
55
+ return stub.read(path, format_name='MUSTACHE')
56
+
57
+
58
+ def write(
59
+ path: Path,
60
+ data: JSONData,
61
+ ) -> int:
62
+ """
63
+ Write ``data`` to MUSTACHE file at ``path`` and return record count.
64
+
65
+ Parameters
66
+ ----------
67
+ path : Path
68
+ Path to the MUSTACHE file on disk.
69
+ data : JSONData
70
+ Data to write as MUSTACHE file. Should be a list of dictionaries or a
71
+ single dictionary.
72
+
73
+ Returns
74
+ -------
75
+ int
76
+ The number of rows written to the MUSTACHE file.
77
+ """
78
+ return stub.write(path, data, format_name='MUSTACHE')
@@ -0,0 +1,78 @@
1
+ """
2
+ :mod:`etlplus.file.nc` module.
3
+
4
+ Helpers for reading/writing NetCDF (NC) data files.
5
+
6
+ Notes
7
+ -----
8
+ - A NC file is a binary file format used for array-oriented scientific data,
9
+ particularly in meteorology, oceanography, and climate science.
10
+ - Common cases:
11
+ - Storing multi-dimensional scientific data.
12
+ - Sharing large datasets in research communities.
13
+ - Efficient data access and manipulation.
14
+ - Rule of thumb:
15
+ - If the file follows the NetCDF standard, use this module for
16
+ reading and writing.
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ from pathlib import Path
22
+
23
+ from ..types import JSONData
24
+ from ..types import JSONList
25
+ from . import stub
26
+
27
+ # SECTION: EXPORTS ========================================================== #
28
+
29
+
30
+ __all__ = [
31
+ 'read',
32
+ 'write',
33
+ ]
34
+
35
+
36
+ # SECTION: FUNCTIONS ======================================================== #
37
+
38
+
39
+ def read(
40
+ path: Path,
41
+ ) -> JSONList:
42
+ """
43
+ Read NC content from ``path``.
44
+
45
+ Parameters
46
+ ----------
47
+ path : Path
48
+ Path to the NC file on disk.
49
+
50
+ Returns
51
+ -------
52
+ JSONList
53
+ The list of dictionaries read from the NC file.
54
+ """
55
+ return stub.read(path, format_name='NC')
56
+
57
+
58
+ def write(
59
+ path: Path,
60
+ data: JSONData,
61
+ ) -> int:
62
+ """
63
+ Write ``data`` to NC file at ``path`` and return record count.
64
+
65
+ Parameters
66
+ ----------
67
+ path : Path
68
+ Path to the NC file on disk.
69
+ data : JSONData
70
+ Data to write as NC file. Should be a list of dictionaries or a
71
+ single dictionary.
72
+
73
+ Returns
74
+ -------
75
+ int
76
+ The number of rows written to the NC file.
77
+ """
78
+ return stub.write(path, data, format_name='NC')
@@ -0,0 +1,75 @@
1
+ """
2
+ :mod:`etlplus.file.numbers` module.
3
+
4
+ Helpers for reading/writing Apple Numbers (NUMBERS) spreadsheet files.
5
+
6
+ Notes
7
+ -----
8
+ - A NUMBERS file is a spreadsheet file created by Apple Numbers.
9
+ - Common cases:
10
+ - Spreadsheet files created by Apple Numbers.
11
+ - Rule of thumb:
12
+ - If you need to read/write NUMBERS files, consider converting them to
13
+ more common formats like CSV or XLSX for better compatibility.
14
+ """
15
+
16
+ from __future__ import annotations
17
+
18
+ from pathlib import Path
19
+
20
+ from ..types import JSONData
21
+ from ..types import JSONList
22
+ from . import stub
23
+
24
+ # SECTION: EXPORTS ========================================================== #
25
+
26
+
27
+ __all__ = [
28
+ 'read',
29
+ 'write',
30
+ ]
31
+
32
+
33
+ # SECTION: FUNCTIONS ======================================================== #
34
+
35
+
36
+ def read(
37
+ path: Path,
38
+ ) -> JSONList:
39
+ """
40
+ Read NUMBERS content from ``path``.
41
+
42
+ Parameters
43
+ ----------
44
+ path : Path
45
+ Path to the NUMBERS file on disk.
46
+
47
+ Returns
48
+ -------
49
+ JSONList
50
+ The list of dictionaries read from the NUMBERS file.
51
+ """
52
+ return stub.read(path, format_name='NUMBERS')
53
+
54
+
55
+ def write(
56
+ path: Path,
57
+ data: JSONData,
58
+ ) -> int:
59
+ """
60
+ Write ``data`` to NUMBERS file at ``path`` and return record count.
61
+
62
+ Parameters
63
+ ----------
64
+ path : Path
65
+ Path to the NUMBERS file on disk.
66
+ data : JSONData
67
+ Data to write as NUMBERS file. Should be a list of dictionaries or a
68
+ single dictionary.
69
+
70
+ Returns
71
+ -------
72
+ int
73
+ The number of rows written to the NUMBERS file.
74
+ """
75
+ return stub.write(path, data, format_name='NUMBERS')