dbwhisper 0.0.1__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.
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Shubham
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
@@ -0,0 +1,105 @@
1
+ Metadata-Version: 2.4
2
+ Name: dbwhisper
3
+ Version: 0.0.1
4
+ Summary: AI-powered database observability and query intelligence toolkit.
5
+ Home-page: https://github.com/your-org/dbwhisper
6
+ Author: Shubham
7
+ Author-email: Shubham <shubham@example.com>
8
+ License: MIT License
9
+
10
+ Copyright (c) 2026 Shubham
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+
30
+
31
+ Project-URL: Homepage, https://github.com/your-org/dbwhisper
32
+ Project-URL: Issues, https://github.com/your-org/dbwhisper/issues
33
+ Keywords: database,observability,analytics,ai,sql
34
+ Classifier: Development Status :: 2 - Pre-Alpha
35
+ Classifier: Intended Audience :: Developers
36
+ Classifier: License :: OSI Approved :: MIT License
37
+ Classifier: Programming Language :: Python :: 3
38
+ Classifier: Programming Language :: Python :: 3.9
39
+ Classifier: Programming Language :: Python :: 3.10
40
+ Classifier: Programming Language :: Python :: 3.11
41
+ Classifier: Programming Language :: Python :: 3.12
42
+ Classifier: Operating System :: OS Independent
43
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
44
+ Requires-Python: >=3.9
45
+ Description-Content-Type: text/markdown
46
+ License-File: LICENSE
47
+ Dynamic: author
48
+ Dynamic: home-page
49
+ Dynamic: license-file
50
+
51
+ # DBWhisper
52
+
53
+ **Listen to your database.**
54
+
55
+ `dbwhisper` is a minimal, production-clean Python package scaffold for an AI-powered database observability and query intelligence toolkit.
56
+
57
+ 🚧 Under active development.
58
+
59
+ ## Installation
60
+
61
+ ```bash
62
+ pip install dbwhisper
63
+ ```
64
+
65
+ For local development:
66
+
67
+ ```bash
68
+ pip install -e .
69
+ ```
70
+
71
+ ## Usage
72
+
73
+ ```bash
74
+ dbwhisper
75
+ ```
76
+
77
+ You should see:
78
+
79
+ ```text
80
+ DBWhisper initialized.
81
+ ```
82
+
83
+ ## What’s Included
84
+
85
+ - Modern `pyproject.toml` packaging
86
+ - `src/` layout
87
+ - Setuptools-based build configuration
88
+ - Console script entrypoint
89
+ - Placeholder core module and analyzer class
90
+ - Pytest smoke test
91
+ - GitHub Actions CI for lint and test
92
+
93
+ ## Roadmap
94
+
95
+ - Database event ingestion
96
+ - Query fingerprinting and anomaly detection
97
+ - Slow query analysis
98
+ - Advisor-style recommendations
99
+ - OpenTelemetry integration
100
+ - Pluggable data sources and exporters
101
+
102
+ ## Project Status
103
+
104
+ This repository is intentionally minimal so the package name can be reserved and published quickly. Core product features will land later.
105
+
@@ -0,0 +1,55 @@
1
+ # DBWhisper
2
+
3
+ **Listen to your database.**
4
+
5
+ `dbwhisper` is a minimal, production-clean Python package scaffold for an AI-powered database observability and query intelligence toolkit.
6
+
7
+ 🚧 Under active development.
8
+
9
+ ## Installation
10
+
11
+ ```bash
12
+ pip install dbwhisper
13
+ ```
14
+
15
+ For local development:
16
+
17
+ ```bash
18
+ pip install -e .
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ ```bash
24
+ dbwhisper
25
+ ```
26
+
27
+ You should see:
28
+
29
+ ```text
30
+ DBWhisper initialized.
31
+ ```
32
+
33
+ ## What’s Included
34
+
35
+ - Modern `pyproject.toml` packaging
36
+ - `src/` layout
37
+ - Setuptools-based build configuration
38
+ - Console script entrypoint
39
+ - Placeholder core module and analyzer class
40
+ - Pytest smoke test
41
+ - GitHub Actions CI for lint and test
42
+
43
+ ## Roadmap
44
+
45
+ - Database event ingestion
46
+ - Query fingerprinting and anomaly detection
47
+ - Slow query analysis
48
+ - Advisor-style recommendations
49
+ - OpenTelemetry integration
50
+ - Pluggable data sources and exporters
51
+
52
+ ## Project Status
53
+
54
+ This repository is intentionally minimal so the package name can be reserved and published quickly. Core product features will land later.
55
+
@@ -0,0 +1,42 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "dbwhisper"
7
+ version = "0.0.1"
8
+ description = "AI-powered database observability and query intelligence toolkit."
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = { file = "LICENSE" }
12
+ authors = [{ name = "Shubham", email = "shubham@example.com" }]
13
+ keywords = ["database", "observability", "analytics", "ai", "sql"]
14
+ classifiers = [
15
+ "Development Status :: 2 - Pre-Alpha",
16
+ "Intended Audience :: Developers",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3.9",
20
+ "Programming Language :: Python :: 3.10",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Operating System :: OS Independent",
24
+ "Topic :: Software Development :: Libraries :: Python Modules",
25
+ ]
26
+ dependencies = []
27
+
28
+ [project.scripts]
29
+ dbwhisper = "dbwhisper.cli:main"
30
+
31
+ [project.urls]
32
+ Homepage = "https://github.com/your-org/dbwhisper"
33
+ Issues = "https://github.com/your-org/dbwhisper/issues"
34
+
35
+ [tool.setuptools]
36
+ package-dir = {"" = "src"}
37
+
38
+ [tool.setuptools.packages.find]
39
+ where = ["src"]
40
+
41
+ [tool.pytest.ini_options]
42
+ testpaths = ["tests"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,14 @@
1
+ from setuptools import find_packages, setup
2
+
3
+
4
+ setup(
5
+ name="dbwhisper",
6
+ version="0.0.1",
7
+ description="AI-powered database observability and query intelligence toolkit.",
8
+ author="Shubham",
9
+ author_email="shubham@example.com",
10
+ url="https://github.com/your-org/dbwhisper",
11
+ package_dir={"": "src"},
12
+ packages=find_packages("src"),
13
+ include_package_data=True,
14
+ )
@@ -0,0 +1,8 @@
1
+ """DBWhisper package."""
2
+
3
+ from .core import Analyzer
4
+
5
+ __version__ = "0.0.1"
6
+
7
+ __all__ = ["Analyzer", "__version__"]
8
+
@@ -0,0 +1,14 @@
1
+ """Command line interface for DBWhisper."""
2
+
3
+ from . import __version__
4
+
5
+
6
+ def main() -> int:
7
+ """Run the DBWhisper CLI."""
8
+ print("DBWhisper initialized.")
9
+ return 0
10
+
11
+
12
+ if __name__ == "__main__":
13
+ raise SystemExit(main())
14
+
@@ -0,0 +1,12 @@
1
+ """Core primitives for DBWhisper."""
2
+
3
+
4
+ class Analyzer:
5
+ """Placeholder analyzer for future database intelligence features."""
6
+
7
+ def analyze(self, query: str) -> str:
8
+ """Return a lightweight placeholder analysis result."""
9
+ if not isinstance(query, str):
10
+ raise TypeError("query must be a string")
11
+ return "analysis pending"
12
+
@@ -0,0 +1,105 @@
1
+ Metadata-Version: 2.4
2
+ Name: dbwhisper
3
+ Version: 0.0.1
4
+ Summary: AI-powered database observability and query intelligence toolkit.
5
+ Home-page: https://github.com/your-org/dbwhisper
6
+ Author: Shubham
7
+ Author-email: Shubham <shubham@example.com>
8
+ License: MIT License
9
+
10
+ Copyright (c) 2026 Shubham
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+
30
+
31
+ Project-URL: Homepage, https://github.com/your-org/dbwhisper
32
+ Project-URL: Issues, https://github.com/your-org/dbwhisper/issues
33
+ Keywords: database,observability,analytics,ai,sql
34
+ Classifier: Development Status :: 2 - Pre-Alpha
35
+ Classifier: Intended Audience :: Developers
36
+ Classifier: License :: OSI Approved :: MIT License
37
+ Classifier: Programming Language :: Python :: 3
38
+ Classifier: Programming Language :: Python :: 3.9
39
+ Classifier: Programming Language :: Python :: 3.10
40
+ Classifier: Programming Language :: Python :: 3.11
41
+ Classifier: Programming Language :: Python :: 3.12
42
+ Classifier: Operating System :: OS Independent
43
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
44
+ Requires-Python: >=3.9
45
+ Description-Content-Type: text/markdown
46
+ License-File: LICENSE
47
+ Dynamic: author
48
+ Dynamic: home-page
49
+ Dynamic: license-file
50
+
51
+ # DBWhisper
52
+
53
+ **Listen to your database.**
54
+
55
+ `dbwhisper` is a minimal, production-clean Python package scaffold for an AI-powered database observability and query intelligence toolkit.
56
+
57
+ 🚧 Under active development.
58
+
59
+ ## Installation
60
+
61
+ ```bash
62
+ pip install dbwhisper
63
+ ```
64
+
65
+ For local development:
66
+
67
+ ```bash
68
+ pip install -e .
69
+ ```
70
+
71
+ ## Usage
72
+
73
+ ```bash
74
+ dbwhisper
75
+ ```
76
+
77
+ You should see:
78
+
79
+ ```text
80
+ DBWhisper initialized.
81
+ ```
82
+
83
+ ## What’s Included
84
+
85
+ - Modern `pyproject.toml` packaging
86
+ - `src/` layout
87
+ - Setuptools-based build configuration
88
+ - Console script entrypoint
89
+ - Placeholder core module and analyzer class
90
+ - Pytest smoke test
91
+ - GitHub Actions CI for lint and test
92
+
93
+ ## Roadmap
94
+
95
+ - Database event ingestion
96
+ - Query fingerprinting and anomaly detection
97
+ - Slow query analysis
98
+ - Advisor-style recommendations
99
+ - OpenTelemetry integration
100
+ - Pluggable data sources and exporters
101
+
102
+ ## Project Status
103
+
104
+ This repository is intentionally minimal so the package name can be reserved and published quickly. Core product features will land later.
105
+
@@ -0,0 +1,13 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.py
5
+ src/dbwhisper/__init__.py
6
+ src/dbwhisper/cli.py
7
+ src/dbwhisper/core.py
8
+ src/dbwhisper.egg-info/PKG-INFO
9
+ src/dbwhisper.egg-info/SOURCES.txt
10
+ src/dbwhisper.egg-info/dependency_links.txt
11
+ src/dbwhisper.egg-info/entry_points.txt
12
+ src/dbwhisper.egg-info/top_level.txt
13
+ tests/test_basic.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ dbwhisper = dbwhisper.cli:main
@@ -0,0 +1 @@
1
+ dbwhisper
@@ -0,0 +1,11 @@
1
+ from dbwhisper import Analyzer, __version__
2
+
3
+
4
+ def test_version_constant():
5
+ assert __version__ == "0.0.1"
6
+
7
+
8
+ def test_analyzer_placeholder():
9
+ analyzer = Analyzer()
10
+ assert analyzer.analyze("select 1") == "analysis pending"
11
+