streaming-sql-engine 0.1.17__tar.gz → 0.1.18__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 (84) hide show
  1. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/DEPLOYMENT.md +1 -0
  2. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/MANIFEST.in +1 -0
  3. {streaming_sql_engine-0.1.17/streaming_sql_engine.egg-info → streaming_sql_engine-0.1.18}/PKG-INFO +2 -4
  4. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/QUICK_DEPLOY.md +1 -0
  5. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/QUICK_FIX.md +1 -0
  6. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/__init__.py +1 -1
  7. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/HOW_PROTOCOL_DETECTION_WORKS.md +1 -0
  8. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/OPTIMIZER_AUTOMATED.md +1 -0
  9. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/SIMPLE_PROTOCOL_GUIDE.md +1 -0
  10. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/SIMPLE_SOURCE_FUNCTIONS.md +1 -0
  11. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/WHAT_IS_WHERE_TO_PARAMS.md +1 -0
  12. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/WHY_API_CONVERTER_NEEDED.md +1 -0
  13. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/WHY_MANUAL_PARSING.md +1 -0
  14. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/WHY_PROTOCOL_IN_SOURCES.md +1 -0
  15. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/pyproject.toml +66 -68
  16. streaming_sql_engine-0.1.18/requirements.txt +2 -0
  17. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/setup.py +81 -69
  18. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18/streaming_sql_engine.egg-info}/PKG-INFO +2 -4
  19. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/streaming_sql_engine.egg-info/requires.txt +1 -4
  20. streaming_sql_engine-0.1.17/requirements.txt +0 -7
  21. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/README.md +0 -0
  22. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/APACHE_DRILL_COMPARISON.md +0 -0
  23. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/API_JOIN_OPERATIONS.md +0 -0
  24. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/ARCHITECTURAL_RECOMMENDATION.md +0 -0
  25. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/ARCHITECTURE_DECISION.md +0 -0
  26. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/ARCHITECTURE_SYNCED.md +0 -0
  27. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/BEST_USE_CASES.md +0 -0
  28. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/BETTER_FILTER_APPROACH.md +0 -0
  29. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/CARTESIAN_PRODUCTS_CAUSES.md +0 -0
  30. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/CHANGES_SUMMARY.md +0 -0
  31. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/COMPREHENSIVE_ARTICLE.md +0 -0
  32. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/COMPREHENSIVE_DOCUMENTATION.md +0 -0
  33. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/DEVELOPER_GUIDE.md +0 -0
  34. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/DUCKDB_COMPARISON.md +0 -0
  35. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/ENGINE_OPTIONS_REFERENCE.md +0 -0
  36. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/FINAL_IMPLEMENTATION_RECOMMENDATIONS.md +0 -0
  37. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/FINAL_RECOMMENDATION.md +0 -0
  38. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/FIRST_MATCH_ONLY_WARNINGS.md +0 -0
  39. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/HANDLING_DUPLICATES_WITHOUT_CARTESIAN.md +0 -0
  40. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/HOW_TO_ADD_TO_PROJECT.md +0 -0
  41. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/INSTALLATION.md +0 -0
  42. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/JSONL_EXECUTOR_ANALYSIS.md +0 -0
  43. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/JSONL_EXECUTOR_REMOVED.md +0 -0
  44. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/LIBRARY_DOCUMENTATION.md +0 -0
  45. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/MEDIUM_ARTICLE.md +0 -0
  46. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/MIGRATION_GUIDE.md +0 -0
  47. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/MULTI_SOURCE_EXAMPLE_README.md +0 -0
  48. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/MYSQL_USAGE.md +0 -0
  49. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/OPTIMIZATIONS_BREAKDOWN.md +0 -0
  50. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/OPTIMIZATIONS_NOT_DATABASE_ONLY.md +0 -0
  51. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/OPTIMIZATIONS_VS_POLARS.md +0 -0
  52. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/PERFORMANCE.md +0 -0
  53. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/PERFORMANCE_COMPARISON.md +0 -0
  54. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/POLARS_AND_MMAP_GUIDE.md +0 -0
  55. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/PROTOCOL_AND_OPTIMIZATIONS_EXPLAINED.md +0 -0
  56. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/PROTOCOL_EXPLANATION.md +0 -0
  57. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/PUBLISHING.md +0 -0
  58. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/PYPI_CHECKLIST.md +0 -0
  59. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/QUICK_PUBLISH.md +0 -0
  60. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/QUICK_START.md +0 -0
  61. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/SOURCE_COMBINATIONS_GUIDE.md +0 -0
  62. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/TECHNICAL_DOCUMENTATION.md +0 -0
  63. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/USER_GUIDE.md +0 -0
  64. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/WHEN_POLARS_IS_USED.md +0 -0
  65. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/WHERE_POLARS_IS_USED.md +0 -0
  66. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/WHY_ORIGINAL_IS_FASTER.md +0 -0
  67. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/documentation/XML_MONGO_USE_CASE.md +0 -0
  68. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/engine.py +0 -0
  69. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/evaluator.py +0 -0
  70. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/executor.py +0 -0
  71. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/mmap_index.py +0 -0
  72. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/operators.py +0 -0
  73. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/operators_mmap.py +0 -0
  74. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/operators_polars.py +0 -0
  75. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/optimizer.py +0 -0
  76. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/parser.py +0 -0
  77. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/planner.py +0 -0
  78. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/polars_expression_translator.py +0 -0
  79. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/polars_operators.py +0 -0
  80. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/protocol_helpers.py +0 -0
  81. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/setup.cfg +0 -0
  82. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/streaming_sql_engine.egg-info/SOURCES.txt +0 -0
  83. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/streaming_sql_engine.egg-info/dependency_links.txt +0 -0
  84. {streaming_sql_engine-0.1.17 → streaming_sql_engine-0.1.18}/streaming_sql_engine.egg-info/top_level.txt +0 -0
@@ -153,3 +153,4 @@ Make it executable: `chmod +x deploy.sh`
153
153
  - **0.1.0** - Initial release
154
154
 
155
155
 
156
+
@@ -10,3 +10,4 @@ recursive-exclude * __pycache__
10
10
  recursive-exclude * *.pyc
11
11
 
12
12
 
13
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streaming-sql-engine
3
- Version: 0.1.17
3
+ Version: 0.1.18
4
4
  Summary: A lightweight SQL execution engine for streaming row-by-row queries with joins across multiple data sources
5
5
  Home-page: https://github.com/Ierofantis/streaming-sql-engine/tree/master
6
6
  Author: Theodore Pantazopoulo
@@ -24,8 +24,7 @@ Classifier: Programming Language :: Python :: 3.12
24
24
  Requires-Python: >=3.8
25
25
  Description-Content-Type: text/markdown
26
26
  Requires-Dist: sqlglot>=23.0.0
27
- Provides-Extra: polars
28
- Requires-Dist: polars>=0.19.0; extra == "polars"
27
+ Requires-Dist: polars>=0.19.0
29
28
  Provides-Extra: db
30
29
  Requires-Dist: psycopg2-binary>=2.9.0; extra == "db"
31
30
  Requires-Dist: pymysql>=1.0.0; extra == "db"
@@ -37,7 +36,6 @@ Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
37
36
  Requires-Dist: black>=23.0.0; extra == "dev"
38
37
  Requires-Dist: flake8>=6.0.0; extra == "dev"
39
38
  Provides-Extra: all
40
- Requires-Dist: polars>=0.19.0; extra == "all"
41
39
  Requires-Dist: psycopg2-binary>=2.9.0; extra == "all"
42
40
  Requires-Dist: pymysql>=1.0.0; extra == "all"
43
41
  Requires-Dist: DBUtils>=3.0.0; extra == "all"
@@ -81,3 +81,4 @@ Updated files:
81
81
  - Better error handling and debugging
82
82
 
83
83
 
84
+
@@ -52,3 +52,4 @@ python3 -c "import streaming_sql_engine; print(streaming_sql_engine.__file__)"
52
52
  - Fixed reconciliation script bug with `spryker_id_int` reference
53
53
 
54
54
 
55
+
@@ -27,5 +27,5 @@ try:
27
27
  except ImportError:
28
28
  __all__ = ["Engine"]
29
29
 
30
- __version__ = "0.1.17"
30
+ __version__ = "0.1.18"
31
31
 
@@ -304,3 +304,4 @@ register_file_source(engine, "categories", "data.csv")
304
304
 
305
305
  **That's the magic!** The helper functions do all the work for you.
306
306
 
307
+
@@ -186,3 +186,4 @@ for row in engine.query("SELECT users.name FROM users WHERE users.age > 30"):
186
186
 
187
187
  **Everything is automatic!** 🎉
188
188
 
189
+
@@ -270,3 +270,4 @@ engine.register("products", source)
270
270
 
271
271
  **Protocol support is now automatic!** 🎉
272
272
 
273
+
@@ -137,3 +137,4 @@ def file_source(filepath: str) -> Iterator[Dict]:
137
137
 
138
138
  **Key insight:** The engine's evaluator is already optimized. Don't duplicate its logic in file sources!
139
139
 
140
+
@@ -199,3 +199,4 @@ register_api_source(engine, "customers", API_BASE_URL, "customers")
199
199
  3. **Custom converter** only needed for special API formats
200
200
  4. **Your example** probably doesn't need it - try removing it!
201
201
 
202
+
@@ -227,3 +227,4 @@ register_api_source(engine, "customers", "http://api.com", "customers",
227
227
 
228
228
  **The default converter handles 90% of cases!** You only need custom converter for special APIs.
229
229
 
230
+
@@ -181,3 +181,4 @@ def file_source(dynamic_where=None, dynamic_columns=None):
181
181
  - File sources: Manual parsing (workaround) ⚠️
182
182
  - Or: Don't support filter pushdown for files (let engine filter)
183
183
 
184
+
@@ -261,3 +261,4 @@ for row in engine.query("SELECT users.name FROM users WHERE users.id > 100"):
261
261
 
262
262
  **The protocol is optional but enables huge performance improvements!**
263
263
 
264
+
@@ -1,68 +1,66 @@
1
- [build-system]
2
- requires = ["setuptools>=61.0", "wheel"]
3
- build-backend = "setuptools.build_meta"
4
-
5
- [project]
6
- name = "streaming-sql-engine"
7
- version = "0.1.17"
8
- description = "A lightweight SQL execution engine for streaming row-by-row queries with joins across multiple data sources"
9
- readme = "README.md"
10
- requires-python = ">=3.8"
11
- authors = [
12
- {name = "Theodore Pantazopoulo", email = "your.email@example.com"}
13
- ]
14
- keywords = ["sql", "streaming", "join", "database", "query", "engine", "etl", "data-integration"]
15
- classifiers = [
16
- "Development Status :: 3 - Alpha",
17
- "Intended Audience :: Developers",
18
- "Topic :: Software Development :: Libraries :: Python Modules",
19
- "Topic :: Database",
20
- "License :: OSI Approved :: MIT License",
21
- "Programming Language :: Python :: 3",
22
- "Programming Language :: Python :: 3.8",
23
- "Programming Language :: Python :: 3.9",
24
- "Programming Language :: Python :: 3.10",
25
- "Programming Language :: Python :: 3.11",
26
- "Programming Language :: Python :: 3.12",
27
- ]
28
- dependencies = [
29
- "sqlglot>=23.0.0",
30
- ]
31
-
32
- [project.optional-dependencies]
33
- polars = [
34
- "polars>=0.19.0",
35
- ]
36
- db = [
37
- "psycopg2-binary>=2.9.0",
38
- "pymysql>=1.0.0",
39
- "DBUtils>=3.0.0",
40
- "pymongo>=4.0.0",
41
- ]
42
- dev = [
43
- "pytest>=7.0.0",
44
- "pytest-cov>=4.0.0",
45
- "black>=23.0.0",
46
- "flake8>=6.0.0",
47
- ]
48
- all = [
49
- "polars>=0.19.0",
50
- "psycopg2-binary>=2.9.0",
51
- "pymysql>=1.0.0",
52
- "DBUtils>=3.0.0",
53
- "pymongo>=4.0.0",
54
- ]
55
-
56
- [project.urls]
57
- Homepage = "https://github.com/Ierofantis/streaming-sql-engine/tree/master"
58
- Repository = "https://github.com/Ierofantis/streaming-sql-engine/tree/master"
59
- Issues = "https://github.com/Ierofantis/streaming-sql-engine/issues"
60
- Documentation = "https://github.com/Ierofantis/streaming-sql-engine/tree/master#readme"
61
-
62
- [tool.setuptools]
63
- packages = ["streaming_sql_engine"]
64
- package-dir = {"streaming_sql_engine" = "."}
65
-
66
- [tool.setuptools.package-data]
67
- "*" = ["*.md", "*.txt"]
68
-
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "streaming-sql-engine"
7
+ version = "0.1.18"
8
+ description = "A lightweight SQL execution engine for streaming row-by-row queries with joins across multiple data sources"
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
11
+ authors = [
12
+ {name = "Theodore Pantazopoulo", email = "your.email@example.com"}
13
+ ]
14
+ keywords = ["sql", "streaming", "join", "database", "query", "engine", "etl", "data-integration"]
15
+ classifiers = [
16
+ "Development Status :: 3 - Alpha",
17
+ "Intended Audience :: Developers",
18
+ "Topic :: Software Development :: Libraries :: Python Modules",
19
+ "Topic :: Database",
20
+ "License :: OSI Approved :: MIT License",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3.8",
23
+ "Programming Language :: Python :: 3.9",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ ]
28
+ dependencies = [
29
+ "sqlglot>=23.0.0",
30
+ "polars>=0.19.0", # Required for default use_polars=True optimization
31
+ ]
32
+
33
+ [project.optional-dependencies]
34
+ # Polars is now a required dependency (moved to dependencies above)
35
+ db = [
36
+ "psycopg2-binary>=2.9.0",
37
+ "pymysql>=1.0.0",
38
+ "DBUtils>=3.0.0",
39
+ "pymongo>=4.0.0",
40
+ ]
41
+ dev = [
42
+ "pytest>=7.0.0",
43
+ "pytest-cov>=4.0.0",
44
+ "black>=23.0.0",
45
+ "flake8>=6.0.0",
46
+ ]
47
+ all = [
48
+ "psycopg2-binary>=2.9.0",
49
+ "pymysql>=1.0.0",
50
+ "DBUtils>=3.0.0",
51
+ "pymongo>=4.0.0",
52
+ ]
53
+
54
+ [project.urls]
55
+ Homepage = "https://github.com/Ierofantis/streaming-sql-engine/tree/master"
56
+ Repository = "https://github.com/Ierofantis/streaming-sql-engine/tree/master"
57
+ Issues = "https://github.com/Ierofantis/streaming-sql-engine/issues"
58
+ Documentation = "https://github.com/Ierofantis/streaming-sql-engine/tree/master#readme"
59
+
60
+ [tool.setuptools]
61
+ packages = ["streaming_sql_engine"]
62
+ package-dir = {"streaming_sql_engine" = "."}
63
+
64
+ [tool.setuptools.package-data]
65
+ "*" = ["*.md", "*.txt"]
66
+
@@ -0,0 +1,2 @@
1
+ sqlglot>=23.0.0
2
+ polars>=0.19.0
@@ -1,69 +1,81 @@
1
- """
2
- Setup script for streaming-sql-engine
3
- """
4
-
5
- from setuptools import setup, find_packages
6
-
7
- with open("README.md", "r", encoding="utf-8") as fh:
8
- long_description = fh.read()
9
-
10
- with open("requirements.txt", "r", encoding="utf-8") as fh:
11
- requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
12
-
13
- setup(
14
- name="streaming-sql-engine",
15
- version="0.1.17",
16
- author="Theodore Pantazopoulo",
17
- author_email="your.email@example.com",
18
- description="A lightweight SQL execution engine for streaming row-by-row queries with joins across multiple data sources",
19
- long_description=long_description,
20
- long_description_content_type="text/markdown",
21
- url="https://github.com/Ierofantis/streaming-sql-engine/tree/master",
22
- # Package structure: files are in root directory
23
- packages=["streaming_sql_engine"],
24
- package_dir={"streaming_sql_engine": "."},
25
- py_modules=[
26
- "streaming_sql_engine.engine",
27
- "streaming_sql_engine.executor",
28
- "streaming_sql_engine.parser",
29
- "streaming_sql_engine.planner",
30
- "streaming_sql_engine.optimizer",
31
- "streaming_sql_engine.evaluator",
32
- "streaming_sql_engine.operators",
33
- "streaming_sql_engine.operators_polars",
34
- "streaming_sql_engine.operators_mmap",
35
- "streaming_sql_engine.mmap_index",
36
- "streaming_sql_engine.polars_expression_translator",
37
- "streaming_sql_engine.protocol_helpers",
38
- ],
39
- include_package_data=True,
40
- classifiers=[
41
- "Development Status :: 3 - Alpha",
42
- "Intended Audience :: Developers",
43
- "Topic :: Software Development :: Libraries :: Python Modules",
44
- "Topic :: Database",
45
- "Programming Language :: Python :: 3",
46
- "Programming Language :: Python :: 3.8",
47
- "Programming Language :: Python :: 3.9",
48
- "Programming Language :: Python :: 3.10",
49
- "Programming Language :: Python :: 3.11",
50
- "Programming Language :: Python :: 3.12",
51
- ],
52
- python_requires=">=3.8",
53
- install_requires=requirements,
54
- extras_require={
55
- "dev": [
56
- "pytest>=7.0.0",
57
- "pytest-cov>=4.0.0",
58
- "black>=23.0.0",
59
- "flake8>=6.0.0",
60
- ],
61
- },
62
- keywords="sql streaming join database query engine",
63
- project_urls={
64
- "Bug Reports": "https://github.com/Ierofantis/streaming-sql-engine/issues",
65
- "Source": "https://github.com/Ierofantis/streaming-sql-engine/tree/master",
66
- "Documentation": "https://github.com/Ierofantis/streaming-sql-engine/tree/master#readme",
67
- },
68
- )
69
-
1
+ """
2
+ Setup script for streaming-sql-engine
3
+ """
4
+
5
+ from setuptools import setup, find_packages
6
+
7
+ with open("README.md", "r", encoding="utf-8") as fh:
8
+ long_description = fh.read()
9
+
10
+ with open("requirements.txt", "r", encoding="utf-8") as fh:
11
+ requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
12
+
13
+ setup(
14
+ name="streaming-sql-engine",
15
+ version="0.1.18",
16
+ author="Theodore Pantazopoulo",
17
+ author_email="your.email@example.com",
18
+ description="A lightweight SQL execution engine for streaming row-by-row queries with joins across multiple data sources",
19
+ long_description=long_description,
20
+ long_description_content_type="text/markdown",
21
+ url="https://github.com/Ierofantis/streaming-sql-engine/tree/master",
22
+ # Package structure: files are in root directory
23
+ packages=["streaming_sql_engine"],
24
+ package_dir={"streaming_sql_engine": "."},
25
+ py_modules=[
26
+ "streaming_sql_engine.engine",
27
+ "streaming_sql_engine.executor",
28
+ "streaming_sql_engine.parser",
29
+ "streaming_sql_engine.planner",
30
+ "streaming_sql_engine.optimizer",
31
+ "streaming_sql_engine.evaluator",
32
+ "streaming_sql_engine.operators",
33
+ "streaming_sql_engine.operators_polars",
34
+ "streaming_sql_engine.operators_mmap",
35
+ "streaming_sql_engine.mmap_index",
36
+ "streaming_sql_engine.polars_expression_translator",
37
+ "streaming_sql_engine.protocol_helpers",
38
+ ],
39
+ include_package_data=True,
40
+ classifiers=[
41
+ "Development Status :: 3 - Alpha",
42
+ "Intended Audience :: Developers",
43
+ "Topic :: Software Development :: Libraries :: Python Modules",
44
+ "Topic :: Database",
45
+ "Programming Language :: Python :: 3",
46
+ "Programming Language :: Python :: 3.8",
47
+ "Programming Language :: Python :: 3.9",
48
+ "Programming Language :: Python :: 3.10",
49
+ "Programming Language :: Python :: 3.11",
50
+ "Programming Language :: Python :: 3.12",
51
+ ],
52
+ python_requires=">=3.8",
53
+ install_requires=requirements,
54
+ extras_require={
55
+ "db": [
56
+ "psycopg2-binary>=2.9.0",
57
+ "pymysql>=1.0.0",
58
+ "DBUtils>=3.0.0",
59
+ "pymongo>=4.0.0",
60
+ ],
61
+ "dev": [
62
+ "pytest>=7.0.0",
63
+ "pytest-cov>=4.0.0",
64
+ "black>=23.0.0",
65
+ "flake8>=6.0.0",
66
+ ],
67
+ "all": [
68
+ "psycopg2-binary>=2.9.0",
69
+ "pymysql>=1.0.0",
70
+ "DBUtils>=3.0.0",
71
+ "pymongo>=4.0.0",
72
+ ],
73
+ },
74
+ keywords="sql streaming join database query engine",
75
+ project_urls={
76
+ "Bug Reports": "https://github.com/Ierofantis/streaming-sql-engine/issues",
77
+ "Source": "https://github.com/Ierofantis/streaming-sql-engine/tree/master",
78
+ "Documentation": "https://github.com/Ierofantis/streaming-sql-engine/tree/master#readme",
79
+ },
80
+ )
81
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streaming-sql-engine
3
- Version: 0.1.17
3
+ Version: 0.1.18
4
4
  Summary: A lightweight SQL execution engine for streaming row-by-row queries with joins across multiple data sources
5
5
  Home-page: https://github.com/Ierofantis/streaming-sql-engine/tree/master
6
6
  Author: Theodore Pantazopoulo
@@ -24,8 +24,7 @@ Classifier: Programming Language :: Python :: 3.12
24
24
  Requires-Python: >=3.8
25
25
  Description-Content-Type: text/markdown
26
26
  Requires-Dist: sqlglot>=23.0.0
27
- Provides-Extra: polars
28
- Requires-Dist: polars>=0.19.0; extra == "polars"
27
+ Requires-Dist: polars>=0.19.0
29
28
  Provides-Extra: db
30
29
  Requires-Dist: psycopg2-binary>=2.9.0; extra == "db"
31
30
  Requires-Dist: pymysql>=1.0.0; extra == "db"
@@ -37,7 +36,6 @@ Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
37
36
  Requires-Dist: black>=23.0.0; extra == "dev"
38
37
  Requires-Dist: flake8>=6.0.0; extra == "dev"
39
38
  Provides-Extra: all
40
- Requires-Dist: polars>=0.19.0; extra == "all"
41
39
  Requires-Dist: psycopg2-binary>=2.9.0; extra == "all"
42
40
  Requires-Dist: pymysql>=1.0.0; extra == "all"
43
41
  Requires-Dist: DBUtils>=3.0.0; extra == "all"
@@ -1,7 +1,7 @@
1
1
  sqlglot>=23.0.0
2
+ polars>=0.19.0
2
3
 
3
4
  [all]
4
- polars>=0.19.0
5
5
  psycopg2-binary>=2.9.0
6
6
  pymysql>=1.0.0
7
7
  DBUtils>=3.0.0
@@ -18,6 +18,3 @@ pytest>=7.0.0
18
18
  pytest-cov>=4.0.0
19
19
  black>=23.0.0
20
20
  flake8>=6.0.0
21
-
22
- [polars]
23
- polars>=0.19.0
@@ -1,7 +0,0 @@
1
- sqlglot>=23.0.0
2
- psycopg2-binary>=2.9.0
3
- python-dotenv>=1.0.0
4
- pymysql>=1.0.0
5
- DBUtils>=3.0.0
6
- requests>=2.28.0
7
- polars>=0.19.0