PyReverseETL 3.5.2__tar.gz → 3.6.0__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 (99) hide show
  1. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/Cargo.lock +23 -13
  2. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/Cargo.toml +1 -1
  3. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/PKG-INFO +59 -23
  4. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/README.md +58 -22
  5. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/Cargo.toml +1 -1
  6. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/mod.rs +6 -0
  7. pyreverseetl-3.6.0/core/src/adapters/squid.rs +639 -0
  8. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/webhook.rs +53 -1
  9. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/destination.rs +3 -0
  10. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/executor.rs +94 -0
  11. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/transformers/spark.rs +17 -15
  12. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/pyproject.toml +1 -1
  13. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/python/pyreverseetl/cli.py +7 -7
  14. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/python/pyreverseetl/connectors.py +134 -0
  15. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/python/pyreverseetl/secure_state.py +9 -0
  16. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/python/pyreverseetl/server.py +1 -1
  17. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/python/src/lib.rs +6 -1
  18. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/LICENSE +0 -0
  19. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/benches/load_test.rs +0 -0
  20. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/bin/pyreverseetl_dashboard.rs +0 -0
  21. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/activation.rs +0 -0
  22. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/alert_compat.rs +0 -0
  23. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/error.rs +0 -0
  24. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/http_client.rs +0 -0
  25. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/hubspot.rs +0 -0
  26. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/mapping.rs +0 -0
  27. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/marketo.rs +0 -0
  28. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/oauth_manager.rs +0 -0
  29. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/retry_policy.rs +0 -0
  30. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/salesforce.rs +0 -0
  31. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/adapters/schema_detect.rs +0 -0
  32. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/cdc/change_detector.rs +0 -0
  33. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/cdc/changelog.rs +0 -0
  34. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/cdc/checkpoint.rs +0 -0
  35. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/cdc/mod.rs +0 -0
  36. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/config.rs +0 -0
  37. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/connectors_db.rs +0 -0
  38. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/database_advanced.rs +0 -0
  39. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/destination.rs +0 -0
  40. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/error.rs +0 -0
  41. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/hdfs.rs +0 -0
  42. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/mod.rs +0 -0
  43. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/mysql.rs +0 -0
  44. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/object_storage.rs +0 -0
  45. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/postgres.rs +0 -0
  46. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/rate_limiting.rs +0 -0
  47. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/registry.rs +0 -0
  48. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/saas.rs +0 -0
  49. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/source.rs +0 -0
  50. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/connectors/web.rs +0 -0
  51. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/dlq.rs +0 -0
  52. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/entity.rs +0 -0
  53. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/error.rs +0 -0
  54. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/governance/cached_gate.rs +0 -0
  55. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/governance/compliance_rules.rs +0 -0
  56. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/governance/credentials.rs +0 -0
  57. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/governance/mod.rs +0 -0
  58. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/governance/quality_gate.rs +0 -0
  59. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/governance/retry_policy.rs +0 -0
  60. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/governance/schema_evolution.rs +0 -0
  61. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/governance/statguardian_client.rs +0 -0
  62. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/idempotency.rs +0 -0
  63. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/lib.rs +0 -0
  64. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/lineage.rs +0 -0
  65. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/observability/dashboard_launcher.rs +0 -0
  66. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/observability/logs.rs +0 -0
  67. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/observability/metrics.rs +0 -0
  68. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/observability/metrics_server.rs +0 -0
  69. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/observability/mod.rs +0 -0
  70. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/observability/traces.rs +0 -0
  71. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/pipeline/activation_pipeline.rs +0 -0
  72. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/pipeline/backpressure.rs +0 -0
  73. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/pipeline/latency_tracker.rs +0 -0
  74. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/pipeline/mod.rs +0 -0
  75. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/sources/kafka.rs +0 -0
  76. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/sources/mod.rs +0 -0
  77. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/sources/polling.rs +0 -0
  78. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/sources/sync_config.rs +0 -0
  79. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/statguardian.rs +0 -0
  80. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/storage/mod.rs +0 -0
  81. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/storage/repository.rs +0 -0
  82. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/storage/schema.rs +0 -0
  83. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/streaming/event_processor.rs +0 -0
  84. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/streaming/event_schema.rs +0 -0
  85. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/streaming/mod.rs +0 -0
  86. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/streampdf.rs +0 -0
  87. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/streamxl.rs +0 -0
  88. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/sync.rs +0 -0
  89. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/testing/connector_test.rs +0 -0
  90. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/testing/harness.rs +0 -0
  91. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/testing/metrics.rs +0 -0
  92. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/testing/mock_http.rs +0 -0
  93. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/testing/mod.rs +0 -0
  94. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/testing/test_data.rs +0 -0
  95. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/transformers/mod.rs +0 -0
  96. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/core/src/workflow.rs +0 -0
  97. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/python/Cargo.toml +0 -0
  98. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/python/pyreverseetl/__init__.py +0 -0
  99. {pyreverseetl-3.5.2 → pyreverseetl-3.6.0}/python/pyreverseetl/singer.py +0 -0
@@ -1299,9 +1299,9 @@ dependencies = [
1299
1299
 
1300
1300
  [[package]]
1301
1301
  name = "ctutils"
1302
- version = "0.4.3"
1302
+ version = "0.4.5"
1303
1303
  source = "registry+https://github.com/rust-lang/crates.io-index"
1304
- checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574"
1304
+ checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0"
1305
1305
  dependencies = [
1306
1306
  "cmov",
1307
1307
  ]
@@ -2780,6 +2780,15 @@ version = "0.2.1"
2780
2780
  source = "registry+https://github.com/rust-lang/crates.io-index"
2781
2781
  checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
2782
2782
 
2783
+ [[package]]
2784
+ name = "openssl-src"
2785
+ version = "300.6.1+3.6.3"
2786
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2787
+ checksum = "46eb8fb9fb3b61ce1c0f8a026c4c1a0714d3a9e138e7fbde78753ce2babc3846"
2788
+ dependencies = [
2789
+ "cc",
2790
+ ]
2791
+
2783
2792
  [[package]]
2784
2793
  name = "openssl-sys"
2785
2794
  version = "0.9.117"
@@ -2788,6 +2797,7 @@ checksum = "b47e7e6bb2c38cd930d25a23b40fa52e068c10e85f3e03a7f5ba5aaca5713695"
2788
2797
  dependencies = [
2789
2798
  "cc",
2790
2799
  "libc",
2800
+ "openssl-src",
2791
2801
  "pkg-config",
2792
2802
  "vcpkg",
2793
2803
  ]
@@ -3199,7 +3209,7 @@ dependencies = [
3199
3209
 
3200
3210
  [[package]]
3201
3211
  name = "pyreverseetl"
3202
- version = "3.5.2"
3212
+ version = "3.5.3"
3203
3213
  dependencies = [
3204
3214
  "chrono",
3205
3215
  "pyo3",
@@ -3210,7 +3220,7 @@ dependencies = [
3210
3220
 
3211
3221
  [[package]]
3212
3222
  name = "pyreverseetl-core"
3213
- version = "3.5.2"
3223
+ version = "3.5.3"
3214
3224
  dependencies = [
3215
3225
  "async-trait",
3216
3226
  "aws-config",
@@ -3294,7 +3304,7 @@ dependencies = [
3294
3304
  "once_cell",
3295
3305
  "socket2",
3296
3306
  "tracing",
3297
- "windows-sys 0.52.0",
3307
+ "windows-sys 0.61.2",
3298
3308
  ]
3299
3309
 
3300
3310
  [[package]]
@@ -3699,7 +3709,7 @@ dependencies = [
3699
3709
  "security-framework",
3700
3710
  "security-framework-sys",
3701
3711
  "webpki-root-certs",
3702
- "windows-sys 0.52.0",
3712
+ "windows-sys 0.61.2",
3703
3713
  ]
3704
3714
 
3705
3715
  [[package]]
@@ -3710,9 +3720,9 @@ checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f"
3710
3720
 
3711
3721
  [[package]]
3712
3722
  name = "rustls-webpki"
3713
- version = "0.103.15"
3723
+ version = "0.103.16"
3714
3724
  source = "registry+https://github.com/rust-lang/crates.io-index"
3715
- checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2"
3725
+ checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
3716
3726
  dependencies = [
3717
3727
  "aws-lc-rs",
3718
3728
  "ring",
@@ -5008,9 +5018,9 @@ dependencies = [
5008
5018
 
5009
5019
  [[package]]
5010
5020
  name = "webpki-root-certs"
5011
- version = "1.0.9"
5021
+ version = "1.0.11"
5012
5022
  source = "registry+https://github.com/rust-lang/crates.io-index"
5013
- checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b"
5023
+ checksum = "e49d0e65abc00c142e8f9428da991da9f1a250c39be97459901eb12b9b49f62a"
5014
5024
  dependencies = [
5015
5025
  "rustls-pki-types",
5016
5026
  ]
@@ -5021,14 +5031,14 @@ version = "0.26.11"
5021
5031
  source = "registry+https://github.com/rust-lang/crates.io-index"
5022
5032
  checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
5023
5033
  dependencies = [
5024
- "webpki-roots 1.0.9",
5034
+ "webpki-roots 1.0.11",
5025
5035
  ]
5026
5036
 
5027
5037
  [[package]]
5028
5038
  name = "webpki-roots"
5029
- version = "1.0.9"
5039
+ version = "1.0.11"
5030
5040
  source = "registry+https://github.com/rust-lang/crates.io-index"
5031
- checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a"
5041
+ checksum = "f5f280bbb2b287bc8e7de7e3852945a0ff50d1bbcb5ed42b6c7a568c546df171"
5032
5042
  dependencies = [
5033
5043
  "rustls-pki-types",
5034
5044
  ]
@@ -3,7 +3,7 @@ members = ["core", "python"]
3
3
  resolver = "2"
4
4
 
5
5
  [workspace.package]
6
- version = "3.5.2"
6
+ version = "3.5.3"
7
7
  authors = ["Georgi Mammen Mullassery <mullassery@gmail.com>"]
8
8
  license = "Apache-2.0"
9
9
  repository = "https://github.com/Mullassery/PyReverseETL"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyReverseETL
3
- Version: 3.5.2
3
+ Version: 3.6.0
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Programming Language :: Python :: 3
@@ -35,8 +35,7 @@ Project-URL: Repository, https://github.com/Mullassery/PyReverseETL
35
35
  [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
36
36
  [![PyPI](https://img.shields.io/pypi/v/pyreverseetl)](https://pypi.org/project/pyreverseetl/)
37
37
  [![Python 3.9+](https://img.shields.io/badge/Python-3.9%2B-blue)](https://www.python.org)
38
- [![CI](https://github.com/Mullassery/PyReverseETL/actions/workflows/ci.yml/badge.svg)](https://github.com/Mullassery/PyReverseETL/actions/workflows/ci.yml)
39
- [![Graphify](https://img.shields.io/badge/Graphify-knowledge%20graph-blue)](https://github.com/Graphify-Labs/graphify)
38
+ [![CI](../PyReverseETL/actions/workflows/ci.yml/badge.svg)](../PyReverseETL/actions/workflows/ci.yml)
40
39
 
41
40
  ## What it is
42
41
 
@@ -53,7 +52,7 @@ offered as an option and not silently faked.
53
52
  (MinIO) as source and destination; generic-schema read/write, incremental reads, upsert.
54
53
  - **Real HTTP destinations.** Webhook destination with real auth (Bearer / API key /
55
54
  Basic) and JSON payload construction; CRM/marketing-automation REST adapters for
56
- Salesforce, HubSpot, and Marketo.
55
+ Salesforce, HubSpot, Marketo, and Squid-CRM.
57
56
  - **Connector plugin SDK (Python path).** A documented `pyreverseetl.connectors`
58
57
  entry-point group plus real local SQLite and optional DuckDB source/destination
59
58
  connectors, and an optional Postgres `psycopg` skeleton (`run_with_connector`).
@@ -95,10 +94,11 @@ offered as an option and not silently faked.
95
94
  `--validation-report` gate. The Rust `run_sync` core itself does not call
96
95
  StatGuardian. A real cross-repo test lives in
97
96
  `tests/test_statguardian_live.py` (skipped when StatGuardian is not installed).
98
- - **Not verified against live CRM accounts.** The Salesforce/HubSpot/Marketo adapters are
99
- real REST clients, but they were verified against local mock HTTP servers that assert
100
- the exact request shape (no live account was available). Please report request-shape
101
- mismatches against a real account as issues.
97
+ - **Not verified against live CRM accounts.** The Salesforce/HubSpot/Marketo/Squid
98
+ adapters are real REST clients, but they were verified against local mock HTTP servers
99
+ that assert the exact request shape (no live account was available). Please report
100
+ request-shape mismatches against a real account as issues. The Squid standard-object
101
+ path is create-only; it does not update an existing person/company record.
102
102
  - **Not encryption.** `Encrypt` compliance actions are reported as unresolved rather than
103
103
  silently claimed to succeed.
104
104
 
@@ -116,6 +116,7 @@ offered as an option and not silently faked.
116
116
  | CRM (`core/src/adapters/salesforce.rs`) | destination | Real REST API client: OAuth2 token exchange, object-based create/upsert-by-external-ID/delete/describe. Verified against a local mock HTTP server. |
117
117
  | CRM (`core/src/adapters/hubspot.rs`) | destination | Real v3-style REST API client (create, upsert-by-ID-property, delete, properties/schema). Verified against a mock server. |
118
118
  | Marketing automation (`core/src/adapters/marketo.rs`) | destination | Real REST API client (identity token endpoint, bulk lead create/update, delete, describe). Verified against a mock server. |
119
+ | CRM (`core/src/adapters/squid.rs`) | destination | Real Squid-CRM REST create for people/companies with a stable per-record `Idempotency-Key` and `X-Correlation-Id`; response replay, body-hash conflict handling, Bearer auth, and allowlisted payloads. Verified against a mock server. Standard-object creates do not update existing records. |
119
120
  | Other cloud object storage backends | source + destination | **Not implemented.** Returns an explicit error instead of a fake success. |
120
121
  | StatGuardian gate | pre-sync gate | Wired in the CLI `execute-activation` path (`--statguardian-url` live `/validate`, or `--validation-report`); not in the Rust `run_sync` core. |
121
122
  | Kafka, HDFS, Spark/PySpark transforms, CLI dashboard | — | Present from earlier work, out of scope for this pass, not wired into `execute`/`run_sync`. Treat as experimental. |
@@ -127,13 +128,13 @@ repeated here to avoid implying vendor endorsement.
127
128
 
128
129
  ## Project status
129
130
 
130
- **Beta.** Version 3.5.2. The Postgres/MySQL/S3/webhook paths are real and verified against
131
+ **Beta.** Version 3.5.3. The Postgres/MySQL/S3/webhook paths are real and verified against
131
132
  real services; the `web` source connector (MudFish-backed site crawling) is implemented
132
133
  and unit-tested but not yet exercised end-to-end against a live site; the CRM/marketing
133
134
  adapters are real but mock-verified only; several
134
135
  modules from earlier work remain unwired and are called out as such above. For a blunt,
135
136
  file-and-line-referenced list of what's tested vs. untested vs. broken vs. not built, see
136
- [`ROADMAP_HONEST.md`](ROADMAP_HONEST.md). Changes are tracked in [CHANGELOG.md](CHANGELOG.md).
137
+ [`docs/internal/ROADMAP_HONEST.md`](docs/internal/ROADMAP_HONEST.md). Changes are tracked in [CHANGELOG.md](CHANGELOG.md).
137
138
 
138
139
  ## Installation
139
140
 
@@ -364,11 +365,46 @@ print(pyreverseetl.lineage_json())
364
365
  print(pyreverseetl.lineage_dot()) # Graphviz DOT export
365
366
  ```
366
367
 
368
+ ### Squid-CRM activation
369
+
370
+ The `squid` destination posts a real create to `/rest/people` or
371
+ `/rest/companies` with a stable per-record `Idempotency-Key`. Reusing the
372
+ same source record and payload after a transient failure replays Squid's
373
+ stored response instead of creating a duplicate; reusing the key with a
374
+ different body returns a non-retried conflict.
375
+
376
+ ```python
377
+ import json
378
+ import pyreverseetl
379
+
380
+ result = pyreverseetl.run_sync(
381
+ source_type="postgres",
382
+ source_config=json.dumps({
383
+ "host": "localhost", "port": 5432, "database": "warehouse",
384
+ "username": "postgres", "password": "postgres", "table": "customers",
385
+ }),
386
+ destination_type="squid",
387
+ destination_config=json.dumps({
388
+ "base_url": "http://localhost:3000",
389
+ "object": "people",
390
+ "idempotency_key_prefix": "warehouse-people",
391
+ "auth": {"type": "bearer", "token": "squid-api-key"},
392
+ }),
393
+ )
394
+ print(result.rows_written, result.rows_failed)
395
+ ```
396
+
397
+ The field allowlist is intentionally small: people forward `first_name`,
398
+ `last_name`, `email`, `phone`, `job_title`, and `company_id`; companies
399
+ forward `name` and `domain`. Other source columns are not sent. Standard
400
+ Squid object creates are create-only, so a changed source record needs an
401
+ explicit update workflow rather than being silently re-created.
402
+
367
403
  ### Reliability features
368
404
 
369
- - **Retry with backoff**: every HubSpot/Salesforce/Marketo/webhook HTTP call (upsert,
370
- delete, schema fetch, OAuth token exchange) retries transient failures (connection
371
- errors, timeouts, 429 rate limits) with exponential backoff.
405
+ - **Retry with backoff**: every HubSpot/Salesforce/Marketo/Squid/webhook HTTP call
406
+ retries transient failures (connection errors, timeouts, 429 rate limits) with
407
+ exponential backoff. Squid retries reuse the same `Idempotency-Key`.
372
408
  - **Dry run** (`--dry-run` / `dry_run=True`): reads from the real source and runs the real
373
409
  compliance engine, but never writes to the destination. `dry_run_preview` shows the exact
374
410
  payload each record would have sent.
@@ -434,7 +470,7 @@ gate, not a full-table scan.
434
470
 
435
471
  ## Documentation
436
472
 
437
- - [ROADMAP_HONEST.md](ROADMAP_HONEST.md) — what's tested vs. untested vs. broken vs. not
473
+ - [docs/internal/ROADMAP_HONEST.md](docs/internal/ROADMAP_HONEST.md) — what's tested vs. untested vs. broken vs. not
438
474
  built, plus known technical debt.
439
475
  - [docs/ROADMAP.md](docs/ROADMAP.md) — narrative roadmap.
440
476
  - [CHANGELOG.md](CHANGELOG.md) — release history.
@@ -444,14 +480,14 @@ gate, not a full-table scan.
444
480
  ## Known issues and deferred work
445
481
 
446
482
  **Blocked / failed:**
447
- - Live Salesforce/HubSpot/Marketo verification (no accounts).
483
+ - Live Salesforce/HubSpot/Marketo/Squid verification (no accounts).
448
484
  - Scheduler/run-history observability.
449
485
  - CDC/streaming.
450
486
 
451
487
  **Rejected / deferred:**
452
488
  - Spark transforms and streaming CDC now — outside the proven sync path.
453
489
 
454
- Full shipped/blocked/rejected detail: [`QUEUE_STATUS.md`](QUEUE_STATUS.md).
490
+ Full shipped/blocked/rejected detail: [`docs/internal/QUEUE_STATUS.md`](docs/internal/QUEUE_STATUS.md).
455
491
 
456
492
  ## Contributing
457
493
 
@@ -490,14 +526,14 @@ PYREVERSEETL_TEST_MINIO_ENDPOINT=http://localhost:9000 \
490
526
 
491
527
  Other tools from the same family, for adjacent parts of the data platform:
492
528
 
493
- - [StatGuardian](https://github.com/Mullassery/StatGuardian) — fast, declarative data quality framework (Rust): schema validation, drift detection, anomaly detection.
494
- - [PyDBTGuard](https://github.com/Mullassery/PyDBTGuard) — analyzes a dbt project's `manifest.json` to flag risky tests, map blast radius, and estimate test cost from static metadata.
495
- - [PyAirflowTester](https://github.com/Mullassery/PyAirflowTester) — dependency intelligence and quality assurance for Airflow and dbt pipelines.
496
- - [PyBeamGuard](https://github.com/Mullassery/PyBeamGuard) — Apache Beam and Dataflow pipeline analysis for pre-deployment validation, cost forecasting, hot-key detection, and reliability.
497
- - [ClusterAudienceKit](https://github.com/Mullassery/ClusterAudienceKit) — Rust-powered customer segmentation: RFM, clustering, churn, CLV, and lookalike audiences.
498
- - [PyWeatherEnriched](https://github.com/Mullassery/PyWeatherEnriched) — real historical weather and geocoding enrichment for ML pipelines.
529
+ - [StatGuardian](../StatGuardian) — fast, declarative data quality framework (Rust): schema validation, drift detection, anomaly detection.
530
+ - [PyDBTGuard](../PyDBTGuard) — analyzes a dbt project's `manifest.json` to flag risky tests, map blast radius, and estimate test cost from static metadata.
531
+ - [PyAirflowTester](../PyAirflowTester) — dependency intelligence and quality assurance for Airflow and dbt pipelines.
532
+ - [PyBeamGuard](../PyBeamGuard) — Apache Beam and Dataflow pipeline analysis for pre-deployment validation, cost forecasting, hot-key detection, and reliability.
533
+ - [ClusterAudienceKit](../ClusterAudienceKit) — Rust-powered customer segmentation: RFM, clustering, churn, CLV, and lookalike audiences.
534
+ - [PyWeatherEnriched](../PyWeatherEnriched) — real historical weather and geocoding enrichment for ML pipelines.
499
535
 
500
- [Browse all projects →](https://github.com/Mullassery?tab=repositories)
536
+ [Browse all projects →](../Mullassery-profile)
501
537
 
502
538
  ## License
503
539
 
@@ -5,8 +5,7 @@
5
5
  [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
6
6
  [![PyPI](https://img.shields.io/pypi/v/pyreverseetl)](https://pypi.org/project/pyreverseetl/)
7
7
  [![Python 3.9+](https://img.shields.io/badge/Python-3.9%2B-blue)](https://www.python.org)
8
- [![CI](https://github.com/Mullassery/PyReverseETL/actions/workflows/ci.yml/badge.svg)](https://github.com/Mullassery/PyReverseETL/actions/workflows/ci.yml)
9
- [![Graphify](https://img.shields.io/badge/Graphify-knowledge%20graph-blue)](https://github.com/Graphify-Labs/graphify)
8
+ [![CI](../PyReverseETL/actions/workflows/ci.yml/badge.svg)](../PyReverseETL/actions/workflows/ci.yml)
10
9
 
11
10
  ## What it is
12
11
 
@@ -23,7 +22,7 @@ offered as an option and not silently faked.
23
22
  (MinIO) as source and destination; generic-schema read/write, incremental reads, upsert.
24
23
  - **Real HTTP destinations.** Webhook destination with real auth (Bearer / API key /
25
24
  Basic) and JSON payload construction; CRM/marketing-automation REST adapters for
26
- Salesforce, HubSpot, and Marketo.
25
+ Salesforce, HubSpot, Marketo, and Squid-CRM.
27
26
  - **Connector plugin SDK (Python path).** A documented `pyreverseetl.connectors`
28
27
  entry-point group plus real local SQLite and optional DuckDB source/destination
29
28
  connectors, and an optional Postgres `psycopg` skeleton (`run_with_connector`).
@@ -65,10 +64,11 @@ offered as an option and not silently faked.
65
64
  `--validation-report` gate. The Rust `run_sync` core itself does not call
66
65
  StatGuardian. A real cross-repo test lives in
67
66
  `tests/test_statguardian_live.py` (skipped when StatGuardian is not installed).
68
- - **Not verified against live CRM accounts.** The Salesforce/HubSpot/Marketo adapters are
69
- real REST clients, but they were verified against local mock HTTP servers that assert
70
- the exact request shape (no live account was available). Please report request-shape
71
- mismatches against a real account as issues.
67
+ - **Not verified against live CRM accounts.** The Salesforce/HubSpot/Marketo/Squid
68
+ adapters are real REST clients, but they were verified against local mock HTTP servers
69
+ that assert the exact request shape (no live account was available). Please report
70
+ request-shape mismatches against a real account as issues. The Squid standard-object
71
+ path is create-only; it does not update an existing person/company record.
72
72
  - **Not encryption.** `Encrypt` compliance actions are reported as unresolved rather than
73
73
  silently claimed to succeed.
74
74
 
@@ -86,6 +86,7 @@ offered as an option and not silently faked.
86
86
  | CRM (`core/src/adapters/salesforce.rs`) | destination | Real REST API client: OAuth2 token exchange, object-based create/upsert-by-external-ID/delete/describe. Verified against a local mock HTTP server. |
87
87
  | CRM (`core/src/adapters/hubspot.rs`) | destination | Real v3-style REST API client (create, upsert-by-ID-property, delete, properties/schema). Verified against a mock server. |
88
88
  | Marketing automation (`core/src/adapters/marketo.rs`) | destination | Real REST API client (identity token endpoint, bulk lead create/update, delete, describe). Verified against a mock server. |
89
+ | CRM (`core/src/adapters/squid.rs`) | destination | Real Squid-CRM REST create for people/companies with a stable per-record `Idempotency-Key` and `X-Correlation-Id`; response replay, body-hash conflict handling, Bearer auth, and allowlisted payloads. Verified against a mock server. Standard-object creates do not update existing records. |
89
90
  | Other cloud object storage backends | source + destination | **Not implemented.** Returns an explicit error instead of a fake success. |
90
91
  | StatGuardian gate | pre-sync gate | Wired in the CLI `execute-activation` path (`--statguardian-url` live `/validate`, or `--validation-report`); not in the Rust `run_sync` core. |
91
92
  | Kafka, HDFS, Spark/PySpark transforms, CLI dashboard | — | Present from earlier work, out of scope for this pass, not wired into `execute`/`run_sync`. Treat as experimental. |
@@ -97,13 +98,13 @@ repeated here to avoid implying vendor endorsement.
97
98
 
98
99
  ## Project status
99
100
 
100
- **Beta.** Version 3.5.2. The Postgres/MySQL/S3/webhook paths are real and verified against
101
+ **Beta.** Version 3.5.3. The Postgres/MySQL/S3/webhook paths are real and verified against
101
102
  real services; the `web` source connector (MudFish-backed site crawling) is implemented
102
103
  and unit-tested but not yet exercised end-to-end against a live site; the CRM/marketing
103
104
  adapters are real but mock-verified only; several
104
105
  modules from earlier work remain unwired and are called out as such above. For a blunt,
105
106
  file-and-line-referenced list of what's tested vs. untested vs. broken vs. not built, see
106
- [`ROADMAP_HONEST.md`](ROADMAP_HONEST.md). Changes are tracked in [CHANGELOG.md](CHANGELOG.md).
107
+ [`docs/internal/ROADMAP_HONEST.md`](docs/internal/ROADMAP_HONEST.md). Changes are tracked in [CHANGELOG.md](CHANGELOG.md).
107
108
 
108
109
  ## Installation
109
110
 
@@ -334,11 +335,46 @@ print(pyreverseetl.lineage_json())
334
335
  print(pyreverseetl.lineage_dot()) # Graphviz DOT export
335
336
  ```
336
337
 
338
+ ### Squid-CRM activation
339
+
340
+ The `squid` destination posts a real create to `/rest/people` or
341
+ `/rest/companies` with a stable per-record `Idempotency-Key`. Reusing the
342
+ same source record and payload after a transient failure replays Squid's
343
+ stored response instead of creating a duplicate; reusing the key with a
344
+ different body returns a non-retried conflict.
345
+
346
+ ```python
347
+ import json
348
+ import pyreverseetl
349
+
350
+ result = pyreverseetl.run_sync(
351
+ source_type="postgres",
352
+ source_config=json.dumps({
353
+ "host": "localhost", "port": 5432, "database": "warehouse",
354
+ "username": "postgres", "password": "postgres", "table": "customers",
355
+ }),
356
+ destination_type="squid",
357
+ destination_config=json.dumps({
358
+ "base_url": "http://localhost:3000",
359
+ "object": "people",
360
+ "idempotency_key_prefix": "warehouse-people",
361
+ "auth": {"type": "bearer", "token": "squid-api-key"},
362
+ }),
363
+ )
364
+ print(result.rows_written, result.rows_failed)
365
+ ```
366
+
367
+ The field allowlist is intentionally small: people forward `first_name`,
368
+ `last_name`, `email`, `phone`, `job_title`, and `company_id`; companies
369
+ forward `name` and `domain`. Other source columns are not sent. Standard
370
+ Squid object creates are create-only, so a changed source record needs an
371
+ explicit update workflow rather than being silently re-created.
372
+
337
373
  ### Reliability features
338
374
 
339
- - **Retry with backoff**: every HubSpot/Salesforce/Marketo/webhook HTTP call (upsert,
340
- delete, schema fetch, OAuth token exchange) retries transient failures (connection
341
- errors, timeouts, 429 rate limits) with exponential backoff.
375
+ - **Retry with backoff**: every HubSpot/Salesforce/Marketo/Squid/webhook HTTP call
376
+ retries transient failures (connection errors, timeouts, 429 rate limits) with
377
+ exponential backoff. Squid retries reuse the same `Idempotency-Key`.
342
378
  - **Dry run** (`--dry-run` / `dry_run=True`): reads from the real source and runs the real
343
379
  compliance engine, but never writes to the destination. `dry_run_preview` shows the exact
344
380
  payload each record would have sent.
@@ -404,7 +440,7 @@ gate, not a full-table scan.
404
440
 
405
441
  ## Documentation
406
442
 
407
- - [ROADMAP_HONEST.md](ROADMAP_HONEST.md) — what's tested vs. untested vs. broken vs. not
443
+ - [docs/internal/ROADMAP_HONEST.md](docs/internal/ROADMAP_HONEST.md) — what's tested vs. untested vs. broken vs. not
408
444
  built, plus known technical debt.
409
445
  - [docs/ROADMAP.md](docs/ROADMAP.md) — narrative roadmap.
410
446
  - [CHANGELOG.md](CHANGELOG.md) — release history.
@@ -414,14 +450,14 @@ gate, not a full-table scan.
414
450
  ## Known issues and deferred work
415
451
 
416
452
  **Blocked / failed:**
417
- - Live Salesforce/HubSpot/Marketo verification (no accounts).
453
+ - Live Salesforce/HubSpot/Marketo/Squid verification (no accounts).
418
454
  - Scheduler/run-history observability.
419
455
  - CDC/streaming.
420
456
 
421
457
  **Rejected / deferred:**
422
458
  - Spark transforms and streaming CDC now — outside the proven sync path.
423
459
 
424
- Full shipped/blocked/rejected detail: [`QUEUE_STATUS.md`](QUEUE_STATUS.md).
460
+ Full shipped/blocked/rejected detail: [`docs/internal/QUEUE_STATUS.md`](docs/internal/QUEUE_STATUS.md).
425
461
 
426
462
  ## Contributing
427
463
 
@@ -460,14 +496,14 @@ PYREVERSEETL_TEST_MINIO_ENDPOINT=http://localhost:9000 \
460
496
 
461
497
  Other tools from the same family, for adjacent parts of the data platform:
462
498
 
463
- - [StatGuardian](https://github.com/Mullassery/StatGuardian) — fast, declarative data quality framework (Rust): schema validation, drift detection, anomaly detection.
464
- - [PyDBTGuard](https://github.com/Mullassery/PyDBTGuard) — analyzes a dbt project's `manifest.json` to flag risky tests, map blast radius, and estimate test cost from static metadata.
465
- - [PyAirflowTester](https://github.com/Mullassery/PyAirflowTester) — dependency intelligence and quality assurance for Airflow and dbt pipelines.
466
- - [PyBeamGuard](https://github.com/Mullassery/PyBeamGuard) — Apache Beam and Dataflow pipeline analysis for pre-deployment validation, cost forecasting, hot-key detection, and reliability.
467
- - [ClusterAudienceKit](https://github.com/Mullassery/ClusterAudienceKit) — Rust-powered customer segmentation: RFM, clustering, churn, CLV, and lookalike audiences.
468
- - [PyWeatherEnriched](https://github.com/Mullassery/PyWeatherEnriched) — real historical weather and geocoding enrichment for ML pipelines.
499
+ - [StatGuardian](../StatGuardian) — fast, declarative data quality framework (Rust): schema validation, drift detection, anomaly detection.
500
+ - [PyDBTGuard](../PyDBTGuard) — analyzes a dbt project's `manifest.json` to flag risky tests, map blast radius, and estimate test cost from static metadata.
501
+ - [PyAirflowTester](../PyAirflowTester) — dependency intelligence and quality assurance for Airflow and dbt pipelines.
502
+ - [PyBeamGuard](../PyBeamGuard) — Apache Beam and Dataflow pipeline analysis for pre-deployment validation, cost forecasting, hot-key detection, and reliability.
503
+ - [ClusterAudienceKit](../ClusterAudienceKit) — Rust-powered customer segmentation: RFM, clustering, churn, CLV, and lookalike audiences.
504
+ - [PyWeatherEnriched](../PyWeatherEnriched) — real historical weather and geocoding enrichment for ML pipelines.
469
505
 
470
- [Browse all projects →](https://github.com/Mullassery?tab=repositories)
506
+ [Browse all projects →](../Mullassery-profile)
471
507
 
472
508
  ## License
473
509
 
@@ -30,7 +30,7 @@ backoff = { version = "0.4", features = ["tokio"] }
30
30
  # StatGuardian integration (HTTP API client)
31
31
  opentelemetry = "0.22"
32
32
  opentelemetry-http = "0.11"
33
- rdkafka = { version = "0.36", features = ["cmake-build", "ssl", "gssapi", "libz"] }
33
+ rdkafka = { version = "0.36", features = ["cmake-build", "ssl-vendored", "gssapi", "libz"] }
34
34
  # Real database connectors (PostgreSQL / MySQL)
35
35
  # sqlx 0.8 is required to clear the RUSTSEC-2024-0363 advisory on 0.7.4 and to
36
36
  # drop the rustls 0.21.x transitive dependency (pulled via tokio-rustls 0.24).
@@ -12,11 +12,13 @@ pub mod oauth_manager;
12
12
  pub mod retry_policy;
13
13
  pub mod salesforce;
14
14
  pub mod schema_detect;
15
+ pub mod squid;
15
16
  pub mod webhook;
16
17
 
17
18
  pub use error::AdapterError;
18
19
  pub use http_client::HttpClient;
19
20
  pub use retry_policy::RetryPolicy;
21
+ pub use squid::SquidAdapter;
20
22
 
21
23
  /// Field transformation operations
22
24
  #[derive(Debug, Clone, Serialize, Deserialize)]
@@ -178,6 +180,10 @@ impl AdapterFactory {
178
180
  let adapter = marketo::MarketoAdapter::new(config, auth.clone())?;
179
181
  Ok(Box::new(adapter))
180
182
  }
183
+ "squid" => {
184
+ let adapter = squid::SquidAdapter::new(config, auth.clone())?;
185
+ Ok(Box::new(adapter))
186
+ }
181
187
  _ => Err(AdapterError::UnsupportedDestination(
182
188
  destination_type.to_string(),
183
189
  )),