one-stop-analytics 1.13.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 (83) hide show
  1. one_stop_analytics-1.13.11/CHANGELOG.md +42 -0
  2. one_stop_analytics-1.13.11/COMMERCIAL-LICENSE-DRAFT.md +67 -0
  3. one_stop_analytics-1.13.11/COPYRIGHT +7 -0
  4. one_stop_analytics-1.13.11/LICENSE +661 -0
  5. one_stop_analytics-1.13.11/LICENSING_AUDIT.md +51 -0
  6. one_stop_analytics-1.13.11/MANIFEST.in +13 -0
  7. one_stop_analytics-1.13.11/PKG-INFO +500 -0
  8. one_stop_analytics-1.13.11/README.md +443 -0
  9. one_stop_analytics-1.13.11/RELEASE_CHECKLIST.md +31 -0
  10. one_stop_analytics-1.13.11/RELEASE_VERIFICATION.json +142 -0
  11. one_stop_analytics-1.13.11/SBOM.json +195 -0
  12. one_stop_analytics-1.13.11/TEST_RESULTS.txt +29 -0
  13. one_stop_analytics-1.13.11/THIRD_PARTY_LICENSE_AUDIT.md +123 -0
  14. one_stop_analytics-1.13.11/pyproject.toml +50 -0
  15. one_stop_analytics-1.13.11/setup.cfg +4 -0
  16. one_stop_analytics-1.13.11/src/one_stop_analytics/__init__.py +49 -0
  17. one_stop_analytics-1.13.11/src/one_stop_analytics/advanced_ml.py +139 -0
  18. one_stop_analytics-1.13.11/src/one_stop_analytics/advanced_statistics.py +114 -0
  19. one_stop_analytics-1.13.11/src/one_stop_analytics/analytics.py +564 -0
  20. one_stop_analytics-1.13.11/src/one_stop_analytics/batch.py +183 -0
  21. one_stop_analytics-1.13.11/src/one_stop_analytics/business_analytics.py +94 -0
  22. one_stop_analytics-1.13.11/src/one_stop_analytics/cache.py +262 -0
  23. one_stop_analytics-1.13.11/src/one_stop_analytics/cleaning.py +223 -0
  24. one_stop_analytics-1.13.11/src/one_stop_analytics/cli.py +218 -0
  25. one_stop_analytics-1.13.11/src/one_stop_analytics/connectors.py +66 -0
  26. one_stop_analytics-1.13.11/src/one_stop_analytics/credit_note_reconciliation.py +139 -0
  27. one_stop_analytics-1.13.11/src/one_stop_analytics/eda.py +554 -0
  28. one_stop_analytics-1.13.11/src/one_stop_analytics/excel.py +113 -0
  29. one_stop_analytics-1.13.11/src/one_stop_analytics/exceptions.py +12 -0
  30. one_stop_analytics-1.13.11/src/one_stop_analytics/io.py +341 -0
  31. one_stop_analytics-1.13.11/src/one_stop_analytics/logging_utils.py +21 -0
  32. one_stop_analytics-1.13.11/src/one_stop_analytics/metrics.py +86 -0
  33. one_stop_analytics-1.13.11/src/one_stop_analytics/ml.py +192 -0
  34. one_stop_analytics-1.13.11/src/one_stop_analytics/platform.py +401 -0
  35. one_stop_analytics-1.13.11/src/one_stop_analytics/profiling.py +46 -0
  36. one_stop_analytics-1.13.11/src/one_stop_analytics/py.typed +0 -0
  37. one_stop_analytics-1.13.11/src/one_stop_analytics/quality_audit.py +82 -0
  38. one_stop_analytics-1.13.11/src/one_stop_analytics/report.py +1070 -0
  39. one_stop_analytics-1.13.11/src/one_stop_analytics/retail_accounting.py +32 -0
  40. one_stop_analytics-1.13.11/src/one_stop_analytics/statistics.py +49 -0
  41. one_stop_analytics-1.13.11/src/one_stop_analytics/streaming_audit.py +243 -0
  42. one_stop_analytics-1.13.11/src/one_stop_analytics/time_series.py +236 -0
  43. one_stop_analytics-1.13.11/src/one_stop_analytics/transform.py +41 -0
  44. one_stop_analytics-1.13.11/src/one_stop_analytics/validation.py +147 -0
  45. one_stop_analytics-1.13.11/src/one_stop_analytics/visualization.py +157 -0
  46. one_stop_analytics-1.13.11/src/one_stop_analytics/workspace.py +413 -0
  47. one_stop_analytics-1.13.11/src/one_stop_analytics.egg-info/PKG-INFO +500 -0
  48. one_stop_analytics-1.13.11/src/one_stop_analytics.egg-info/SOURCES.txt +81 -0
  49. one_stop_analytics-1.13.11/src/one_stop_analytics.egg-info/dependency_links.txt +1 -0
  50. one_stop_analytics-1.13.11/src/one_stop_analytics.egg-info/entry_points.txt +2 -0
  51. one_stop_analytics-1.13.11/src/one_stop_analytics.egg-info/requires.txt +56 -0
  52. one_stop_analytics-1.13.11/src/one_stop_analytics.egg-info/top_level.txt +1 -0
  53. one_stop_analytics-1.13.11/tests/fixtures/online_retail_ii_v111_expected.json +16 -0
  54. one_stop_analytics-1.13.11/tests/fixtures/v1.13.5_cli_json_shape_snapshot.json +105 -0
  55. one_stop_analytics-1.13.11/tests/test_advanced.py +39 -0
  56. one_stop_analytics-1.13.11/tests/test_cancellation_reconciliation_policy.py +33 -0
  57. one_stop_analytics-1.13.11/tests/test_cli_json_index.py +373 -0
  58. one_stop_analytics-1.13.11/tests/test_core.py +24 -0
  59. one_stop_analytics-1.13.11/tests/test_credit_note_reconciliation_v114.py +58 -0
  60. one_stop_analytics-1.13.11/tests/test_database_integrations.py +48 -0
  61. one_stop_analytics-1.13.11/tests/test_decision_ready.py +61 -0
  62. one_stop_analytics-1.13.11/tests/test_end_to_end.py +49 -0
  63. one_stop_analytics-1.13.11/tests/test_enterprise_hardening.py +45 -0
  64. one_stop_analytics-1.13.11/tests/test_export_failure_is_explicit.py +12 -0
  65. one_stop_analytics-1.13.11/tests/test_multi_format_report.py +51 -0
  66. one_stop_analytics-1.13.11/tests/test_nullable_string_ml.py +87 -0
  67. one_stop_analytics-1.13.11/tests/test_online_retail_ii_regression_v111.py +33 -0
  68. one_stop_analytics-1.13.11/tests/test_optimization.py +104 -0
  69. one_stop_analytics-1.13.11/tests/test_optional_dependency_smoke.py +15 -0
  70. one_stop_analytics-1.13.11/tests/test_platform_v113.py +194 -0
  71. one_stop_analytics-1.13.11/tests/test_quality_hardening.py +202 -0
  72. one_stop_analytics-1.13.11/tests/test_regression_patch.py +114 -0
  73. one_stop_analytics-1.13.11/tests/test_release_integrity.py +63 -0
  74. one_stop_analytics-1.13.11/tests/test_report_accuracy_v193.py +250 -0
  75. one_stop_analytics-1.13.11/tests/test_reporting_integrations_v110.py +64 -0
  76. one_stop_analytics-1.13.11/tests/test_returns_aware.py +21 -0
  77. one_stop_analytics-1.13.11/tests/test_robustness_v15.py +92 -0
  78. one_stop_analytics-1.13.11/tests/test_scale_reconciliation_patch.py +129 -0
  79. one_stop_analytics-1.13.11/tests/test_semantic_correlation_v111.py +36 -0
  80. one_stop_analytics-1.13.11/tests/test_streaming_audit_retail.py +45 -0
  81. one_stop_analytics-1.13.11/tests/test_streaming_exact.py +54 -0
  82. one_stop_analytics-1.13.11/tests/test_time_series.py +95 -0
  83. one_stop_analytics-1.13.11/tests/test_unified_workspace.py +75 -0
@@ -0,0 +1,42 @@
1
+ ## 1.13.11 — Licensing preparation (not a release)
2
+
3
+ - Prepare the first public distribution under AGPL-3.0-only rather than MIT.
4
+ - Add commercial-license discussion draft and preliminary dependency-license inventory.
5
+ - Publication is blocked pending copyright-holder confirmation, contributor rights review, full dependency audit, and legal review.
6
+
7
+ ## 1.13.11 — JSON shape compatibility correction
8
+
9
+ - Preserve index labels only for semantic indexes; `RangeIndex` DataFrames/Series keep legacy list shapes.
10
+ - Keep `decision_report.column_profile`, `decision_report.categorical_profile`, and other positional profile tables as lists of records.
11
+ - Add v1.13.5 CLI JSON shape snapshot checks for `analyze`, `batch`, and `eda`, documenting approved label-preservation exceptions.
12
+ - Align release checklist and verification metadata with actual v1.13.11 test/build results; release is not an RC until `twine check` and remote CI pass.
13
+
14
+ ## 1.13.10
15
+ - Preserve EDA index/category labels recursively across analyze JSON, including `decision_report.data_quality.categorical` and `quality_audit`.
16
+ - Keep business-oriented collections on the existing list-of-records serialization contract.
17
+ - Add regression coverage for decision-report category labels and unnamed numeric scalar lists in analyze JSON.
18
+
19
+ ## 1.13.8 — Restore JSON list compatibility outside EDA
20
+
21
+ - Keep EDA index-aware JSON serialization for column/category labels.
22
+ - Restore list-of-records serialization for DataFrames in business, batch, and other general CLI outputs.
23
+ - Restore list serialization for Series outside EDA.
24
+ - Add regression tests for both contracts, including Pareto-like business output shapes.
25
+
26
+ ## 1.13.7 — Preserve Series index labels in CLI JSON
27
+
28
+ - Preserve meaningful EDA Series index labels in JSON.
29
+
30
+ ## 1.13.9
31
+ - Preserve index/category labels for EDA sections serialized by `analyze --output *.json` and `batch`.
32
+ - Serialize KPI and per-column descriptive statistics as named objects.
33
+ - Keep legacy list-of-records JSON output for business and other non-EDA DataFrame payloads.
34
+ - Add CLI regression coverage for analyze and batch label preservation.
35
+
36
+
37
+ ## Security hardening (unreleased, v1.13.11)
38
+
39
+ - Replaced DuckDB file-path SQL interpolation with DuckDB relation APIs (`read_csv` / `read_parquet`) before creating the validated view.
40
+ - Replaced interpolated SQL `LIMIT` construction and manual table/column SQL assembly with SQLAlchemy Core `Table` / `select` / `.limit()` expressions.
41
+ - Added regression coverage for quoted file paths, unsafe view identifiers, and invalid limit values.
42
+ - Full test suite: 169 passed, 3 skipped. Bandit could not be run in the build environment because it is not installed; rerun it in the release environment.
@@ -0,0 +1,67 @@
1
+ # One Stop Analytics — Commercial License (Draft for Legal Review)
2
+
3
+ **Status: DRAFT ONLY — NOT AN OFFER, NOT READY FOR SIGNATURE, AND NOT A SUBSTITUTE FOR LEGAL ADVICE.**
4
+
5
+ This draft is a discussion template for a separate commercial license. It must
6
+ be reviewed and completed by qualified counsel and the actual copyright holder
7
+ before being offered to customers. The public package is intended to be offered
8
+ under GNU Affero General Public License v3.0 only (AGPL-3.0-only). A commercial
9
+ license would be a separate written agreement signed by an authorized licensor.
10
+
11
+ ## 1. Parties
12
+
13
+ - **Commercial licensing contact (proposed):** Srijan Das — otanalytics.contact@gmail.com
14
+
15
+ - **Licensor:** [LEGAL NAME, ENTITY TYPE, ADDRESS, AND CONTACT]
16
+ - **Licensee:** [CUSTOMER'S FULL LEGAL NAME AND ADDRESS]
17
+ - **Effective date:** [DATE]
18
+
19
+ ## 2. Licensed materials and scope
20
+
21
+ The agreement must identify the exact One Stop Analytics version, components,
22
+ permitted deployment environments, number of users/servers/instances, affiliates,
23
+ and whether modification, redistribution, embedding, and SaaS use are permitted.
24
+ No rights are granted to third-party dependencies, trademarks, or materials the
25
+ Licensor does not own or have authority to sublicense.
26
+
27
+ ## 3. Commercial permissions
28
+
29
+ Subject to the signed agreement and payment of applicable fees, the Licensor may
30
+ grant specified permissions to use, modify, integrate, deploy, and/or redistribute
31
+ the identified project without the AGPL obligations expressly waived in that
32
+ agreement. The agreement must state precisely which obligations are waived and
33
+ for which covered materials; it must not imply that unrelated works or third-party
34
+ components are exempt from their own licenses.
35
+
36
+ ## 4. Fees, term, and renewal
37
+
38
+ - Fees and payment schedule: [PRICE / CURRENCY / TAXES / PAYMENT TERMS]
39
+ - Term and renewal: [TERM / RENEWAL / TERMINATION]
40
+ - Usage limits or tiers: [USERS / INSTANCES / REVENUE / DEPLOYMENTS, IF ANY]
41
+
42
+ ## 5. Support, updates, and service levels
43
+
44
+ Support, response times, maintenance, updates, security fixes, and service levels
45
+ are included only if explicitly listed here: [DETAILS OR “NOT INCLUDED”].
46
+
47
+ ## 6. Ownership and notices
48
+
49
+ The Licensor retains only those rights it actually owns or is authorized to license.
50
+ Licensee must preserve any notices and comply with all licenses applicable to
51
+ third-party components and separately licensed materials.
52
+
53
+ ## 7. Warranties, liability, confidentiality, and governing law
54
+
55
+ These terms must be drafted by counsel for the intended jurisdiction and transaction:
56
+ [WARRANTY / LIABILITY CAP / INDEMNITY / CONFIDENTIALITY / GOVERNING LAW / DISPUTES].
57
+
58
+ ## 8. Entire agreement and signatures
59
+
60
+ The signed agreement must define precedence between this agreement and any other
61
+ contract documents, and include authorized signatures for both parties.
62
+
63
+ ---
64
+
65
+ **Before using this template:** replace every bracketed field, decide the exact
66
+ commercial permissions, check third-party license constraints, and have a lawyer
67
+ review enforceability and interaction with AGPL-3.0-only.
@@ -0,0 +1,7 @@
1
+ Copyright notice for One Stop Analytics
2
+
3
+ Copyright (C) 2026 Srijan Das
4
+
5
+ Confirm that Srijan Das owns or is authorized to license the project copyright.
6
+ Review all contributions, employment/contractor terms, and any copied or generated
7
+ code before asserting exclusive dual-licensing rights.