vector-inspector 0.3.2__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 (59) hide show
  1. vector_inspector-0.3.2/PKG-INFO +277 -0
  2. vector_inspector-0.3.2/README.md +249 -0
  3. vector_inspector-0.3.2/pyproject.toml +66 -0
  4. vector_inspector-0.3.2/src/vector_inspector/__init__.py +3 -0
  5. vector_inspector-0.3.2/src/vector_inspector/__main__.py +4 -0
  6. vector_inspector-0.3.2/src/vector_inspector/config/__init__.py +4 -0
  7. vector_inspector-0.3.2/src/vector_inspector/config/known_embedding_models.json +432 -0
  8. vector_inspector-0.3.2/src/vector_inspector/core/__init__.py +1 -0
  9. vector_inspector-0.3.2/src/vector_inspector/core/cache_manager.py +159 -0
  10. vector_inspector-0.3.2/src/vector_inspector/core/connection_manager.py +277 -0
  11. vector_inspector-0.3.2/src/vector_inspector/core/connections/__init__.py +8 -0
  12. vector_inspector-0.3.2/src/vector_inspector/core/connections/base_connection.py +274 -0
  13. vector_inspector-0.3.2/src/vector_inspector/core/connections/chroma_connection.py +531 -0
  14. vector_inspector-0.3.2/src/vector_inspector/core/connections/pinecone_connection.py +768 -0
  15. vector_inspector-0.3.2/src/vector_inspector/core/connections/qdrant_connection.py +837 -0
  16. vector_inspector-0.3.2/src/vector_inspector/core/connections/template_connection.py +346 -0
  17. vector_inspector-0.3.2/src/vector_inspector/core/embedding_providers/__init__.py +14 -0
  18. vector_inspector-0.3.2/src/vector_inspector/core/embedding_providers/base_provider.py +128 -0
  19. vector_inspector-0.3.2/src/vector_inspector/core/embedding_providers/clip_provider.py +260 -0
  20. vector_inspector-0.3.2/src/vector_inspector/core/embedding_providers/provider_factory.py +176 -0
  21. vector_inspector-0.3.2/src/vector_inspector/core/embedding_providers/sentence_transformer_provider.py +203 -0
  22. vector_inspector-0.3.2/src/vector_inspector/core/embedding_utils.py +167 -0
  23. vector_inspector-0.3.2/src/vector_inspector/core/model_registry.py +205 -0
  24. vector_inspector-0.3.2/src/vector_inspector/main.py +21 -0
  25. vector_inspector-0.3.2/src/vector_inspector/services/__init__.py +1 -0
  26. vector_inspector-0.3.2/src/vector_inspector/services/backup_restore_service.py +276 -0
  27. vector_inspector-0.3.2/src/vector_inspector/services/credential_service.py +130 -0
  28. vector_inspector-0.3.2/src/vector_inspector/services/filter_service.py +72 -0
  29. vector_inspector-0.3.2/src/vector_inspector/services/import_export_service.py +303 -0
  30. vector_inspector-0.3.2/src/vector_inspector/services/profile_service.py +409 -0
  31. vector_inspector-0.3.2/src/vector_inspector/services/settings_service.py +195 -0
  32. vector_inspector-0.3.2/src/vector_inspector/services/visualization_service.py +123 -0
  33. vector_inspector-0.3.2/src/vector_inspector/ui/__init__.py +1 -0
  34. vector_inspector-0.3.2/src/vector_inspector/ui/components/__init__.py +1 -0
  35. vector_inspector-0.3.2/src/vector_inspector/ui/components/backup_restore_dialog.py +350 -0
  36. vector_inspector-0.3.2/src/vector_inspector/ui/components/connection_manager_panel.py +327 -0
  37. vector_inspector-0.3.2/src/vector_inspector/ui/components/filter_builder.py +370 -0
  38. vector_inspector-0.3.2/src/vector_inspector/ui/components/item_dialog.py +118 -0
  39. vector_inspector-0.3.2/src/vector_inspector/ui/components/loading_dialog.py +30 -0
  40. vector_inspector-0.3.2/src/vector_inspector/ui/components/profile_manager_panel.py +565 -0
  41. vector_inspector-0.3.2/src/vector_inspector/ui/dialogs/__init__.py +6 -0
  42. vector_inspector-0.3.2/src/vector_inspector/ui/dialogs/cross_db_migration.py +383 -0
  43. vector_inspector-0.3.2/src/vector_inspector/ui/dialogs/embedding_config_dialog.py +315 -0
  44. vector_inspector-0.3.2/src/vector_inspector/ui/dialogs/provider_type_dialog.py +189 -0
  45. vector_inspector-0.3.2/src/vector_inspector/ui/main_window.py +610 -0
  46. vector_inspector-0.3.2/src/vector_inspector/ui/views/__init__.py +1 -0
  47. vector_inspector-0.3.2/src/vector_inspector/ui/views/collection_browser.py +112 -0
  48. vector_inspector-0.3.2/src/vector_inspector/ui/views/connection_view.py +503 -0
  49. vector_inspector-0.3.2/src/vector_inspector/ui/views/info_panel.py +504 -0
  50. vector_inspector-0.3.2/src/vector_inspector/ui/views/metadata_view.py +736 -0
  51. vector_inspector-0.3.2/src/vector_inspector/ui/views/search_view.py +308 -0
  52. vector_inspector-0.3.2/src/vector_inspector/ui/views/visualization_view.py +263 -0
  53. vector_inspector-0.3.2/src/vector_inspector/utils/__init__.py +1 -0
  54. vector_inspector-0.3.2/src/vector_inspector/utils/lazy_imports.py +49 -0
  55. vector_inspector-0.3.2/tests/test_connections.py +71 -0
  56. vector_inspector-0.3.2/tests/test_filter_service.py +101 -0
  57. vector_inspector-0.3.2/tests/test_pinecone_connection.py +408 -0
  58. vector_inspector-0.3.2/tests/test_runner.py +35 -0
  59. vector_inspector-0.3.2/tests/test_settings_service.py +101 -0
@@ -0,0 +1,277 @@
1
+ Metadata-Version: 2.1
2
+ Name: vector-inspector
3
+ Version: 0.3.2
4
+ Summary: A comprehensive desktop application for visualizing, querying, and managing vector database data
5
+ Author-Email: Anthony Dawson <anthonypdawson+github@gmail.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://vector-inspector.divinedevops.com
8
+ Project-URL: Source, https://github.com/anthonypdawson/vector-inspector
9
+ Project-URL: Issues, https://github.com/anthonypdawson/vector-inspector/issues
10
+ Project-URL: Documentation, https://github.com/anthonypdawson/vector-inspector#readme
11
+ Requires-Python: <3.13,>=3.10
12
+ Requires-Dist: chromadb>=0.4.22
13
+ Requires-Dist: qdrant-client>=1.7.0
14
+ Requires-Dist: pyside6>=6.6.0
15
+ Requires-Dist: PySide6-Addons>=6.6.3.1
16
+ Requires-Dist: pandas>=2.1.0
17
+ Requires-Dist: numpy>=1.26.0
18
+ Requires-Dist: scikit-learn>=1.3.0
19
+ Requires-Dist: umap-learn>=0.5.5
20
+ Requires-Dist: plotly>=5.18.0
21
+ Requires-Dist: sentence-transformers>=2.2.0
22
+ Requires-Dist: fastembed>=0.7.4
23
+ Requires-Dist: pyarrow>=14.0.0
24
+ Requires-Dist: pinecone>=8.0.0
25
+ Requires-Dist: keyring>=25.7.0
26
+ Requires-Dist: hf-xet>=1.2.0
27
+ Description-Content-Type: text/markdown
28
+
29
+
30
+ # Vector Inspector
31
+
32
+ > **Disclaimer:** This tool is currently under active development and is **not production ready**. Not all features have been thoroughly tested and code is released frequently. Use with caution in critical or production environments.
33
+
34
+ [![CI](https://github.com/anthonypdawson/vector-inspector/actions/workflows/ci-tests.yml/badge.svg?branch=master)](https://github.com/anthonypdawson/vector-inspector/actions/workflows/ci-tests.yml)
35
+ [![Publish](https://github.com/anthonypdawson/vector-inspector/actions/workflows/publish.yml/badge.svg?branch=master)](https://github.com/anthonypdawson/vector-inspector/actions/workflows/publish.yml)
36
+
37
+ [![PyPI Version](https://img.shields.io/pypi/v/vector-inspector.svg?cacheSeconds=300)](https://pypi.org/project/vector-inspector/)
38
+ [![PyPI Downloads](https://static.pepy.tech/personalized-badge/vector-inspector?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https://pepy.tech/projects/vector-inspector)
39
+
40
+
41
+ A comprehensive desktop application for visualizing, querying, and managing vector database data. Similar to SQL database viewers, Vector Inspector provides an intuitive GUI for exploring vector embeddings, metadata, and performing similarity searches across multiple vector database providers.
42
+
43
+ ## Overview
44
+
45
+ Vector Inspector bridges the gap between vector databases and user-friendly data exploration tools. While vector databases are powerful for semantic search and AI applications, they often lack the intuitive inspection and management tools that traditional SQL databases have. This project aims to provide that missing layer.
46
+
47
+ ## Table of Contents
48
+
49
+ - [Overview](#overview)
50
+ - [Key Features](#key-features)
51
+ - [Architecture](#architecture)
52
+ - [Use Cases](#use-cases)
53
+ - [Feature Access](#feature-access)
54
+ - [Roadmap](#roadmap)
55
+ - [Installation](#installation)
56
+ - [Configuration](#configuration)
57
+ - [Development Setup](#development-setup)
58
+ - [Contributing](#contributing)
59
+ - [License](#license)
60
+ - [Acknowledgments](#acknowledgments)
61
+
62
+ ## Key Features
63
+
64
+ ### 1. **Multi-Provider Support**
65
+ - Connect to vector databases:
66
+ - ChromaDB (persistent local storage)
67
+ - Qdrant (remote server or embedded local)
68
+ - Pinecone (cloud-hosted)
69
+ - Unified interface regardless of backend provider
70
+ - Automatically saves last connection configuration
71
+ - Secure API key storage for cloud providers
72
+
73
+ ### 2. **Data Visualization**
74
+ - **Metadata Explorer**: Browse and filter vector entries by metadata fields
75
+ - **Vector Dimensionality Reduction**: Visualize high-dimensional vectors in 2D/3D using:
76
+ - t-SNE
77
+ - UMAP
78
+ - PCA
79
+ - **Cluster Visualization**: Color-code vectors by metadata categories or clustering results
80
+ - **Interactive Plots**: Zoom, pan, and select vectors for detailed inspection
81
+ - **Data Distribution Charts**: Histograms and statistics for metadata fields
82
+
83
+ ### 3. **Search & Query Interface**
84
+ - **Similarity Search**:
85
+ - Text-to-vector search (with embedding model integration)
86
+ - Vector-to-vector search
87
+ - Find similar items to selected entries
88
+ - Adjustable top-k results and similarity thresholds
89
+ - **Metadata Filtering**:
90
+ - SQL-like query builder for metadata
91
+ - Combine vector similarity with metadata filters
92
+ - Advanced filtering: ranges, IN clauses, pattern matching
93
+ - **Hybrid Search**: Combine semantic search with keyword search
94
+ - **Query History**: Save and reuse frequent queries
95
+
96
+ ### 4. **Data Management**
97
+ - **Browse Collections/Indexes**: View all available collections with statistics
98
+ - **CRUD Operations**:
99
+ - View individual vectors and their metadata
100
+ - Add new vectors (with auto-embedding options)
101
+ - Update metadata fields
102
+ - Delete vectors (single or batch)
103
+ - **Bulk Import/Export**:
104
+ - Import from CSV, JSON, Parquet
105
+ - Export query results to various formats
106
+ - Backup and restore collections
107
+ - **Schema Inspector**: View collection configuration, vector dimensions, metadata schema
108
+
109
+ ### 5. **SQL-Like Experience**
110
+ - **Query Console**: Write queries in a familiar SQL-like syntax (where supported)
111
+ - **Results Grid**:
112
+ - Sortable, filterable table view
113
+ - Pagination for large result sets
114
+ - Column customization
115
+ - **Data Inspector**: Click any row to see full details including raw vector
116
+ - **Query Execution Plans**: Understand how queries are executed
117
+ - **Auto-completion**: Intelligent suggestions for collection names, fields, and operations
118
+
119
+ ### 6. **Advanced Features**
120
+ - **Embedding Model Integration**:
121
+ - Use OpenAI, Cohere, HuggingFace models for text-to-vector conversion
122
+ - Local model support (sentence-transformers)
123
+ - Custom model integration
124
+ - **Vector Analysis**:
125
+ - Compute similarity matrices
126
+ - Identify outliers and anomalies
127
+ - Cluster analysis with k-means, DBSCAN
128
+ - **Embedding Inspector**:
129
+ - For similar collections or items, automatically identify which vector dimensions (activations) most contribute to the similarity
130
+ - Map key activations to interpretable concepts (e.g., 'humor', 'sadness', 'anger') using metadata or labels
131
+ - Generate human-readable explanations for why items are similar
132
+ - **Performance Monitoring**:
133
+ - Query latency tracking
134
+ - Index performance metrics
135
+ - Connection health monitoring
136
+
137
+ ## Architecture
138
+
139
+ Vector Inspector is built with PySide6 (Qt for Python) for the GUI, providing a native desktop experience. The backend uses Python with support for multiple vector database providers through a unified interface.
140
+
141
+ For detailed architecture information, see [docs/architecture.md](docs/architecture.md).
142
+
143
+ ## Use Cases
144
+
145
+ 1. **AI/ML Development**: Inspect embeddings generated during model development
146
+ 2. **RAG System Debugging**: Verify what documents are being retrieved
147
+ 3. **Data Quality Assurance**: Identify poorly embedded or outlier vectors
148
+ 4. **Production Monitoring**: Check vector database health and data consistency
149
+ 5. **Data Migration**: Transfer data between vector database providers
150
+ 6. **Education**: Learn and experiment with vector databases interactively
151
+
152
+ ## Feature Access
153
+
154
+ Vector Inspector follows a user-friendly monetization model:
155
+
156
+ - **All vector database providers are free** — Try the full app with any database
157
+ - **Core workflows remain free** — Connect, browse, search, visualize, and manage your data
158
+ - **Pro adds power tools** — Advanced analytics, enterprise formats, workflow automation, and collaboration
159
+
160
+ **Nothing currently in Free will ever move to Pro.** See [FEATURES.md](FEATURES.md) for a detailed comparison.
161
+
162
+ ## Roadmap
163
+
164
+ **Current Status**: ✅ Phase 2 Complete
165
+
166
+ See [ROADMAP.md](ROADMAP.md) for the complete development roadmap and planned features.
167
+
168
+
169
+ ## Installation
170
+
171
+ ### From PyPI (Recommended)
172
+
173
+ ```bash
174
+ pip install vector-inspector
175
+ vector-inspector
176
+ ```
177
+
178
+ ### From a Downloaded Wheel or Tarball (e.g., GitHub Release)
179
+
180
+ Download the `.whl` or `.tar.gz` file from the [GitHub Releases](https://github.com/anthonypdawson/vector-inspector/releases) page, then install with:
181
+
182
+ ```bash
183
+ pip install <your-filename.whl>
184
+ # or
185
+ pip install <your-filename.tar.gz>
186
+ ```
187
+
188
+ After installation, run the application with:
189
+
190
+ ```bash
191
+ vector-inspector
192
+ ```
193
+
194
+ ### From Source
195
+
196
+ ```bash
197
+ # Clone the repository
198
+ git clone https://github.com/anthonypdawson/vector-inspector.git
199
+ cd vector-inspector
200
+
201
+ # Install dependencies using PDM
202
+ pdm install
203
+
204
+ # Launch application
205
+ ./run.sh # Linux/macOS
206
+ ./run.bat # Windows
207
+ ```
208
+
209
+ ## Configuration
210
+
211
+ Paths are resolved relative to the project root (where `pyproject.toml` is). For example, entering `./data/chroma_db` will use the absolute path resolved from the project root.
212
+
213
+ The application automatically saves your last connection configuration to `~/.vector-viewer/settings.json`. The next time you launch the application, it will attempt to reconnect using the last saved settings.
214
+
215
+ Example settings structure:
216
+ ```json
217
+ {
218
+ "last_connection": {
219
+ "provider": "chromadb",
220
+ "connection_type": "persistent",
221
+ "path": "./data/chroma_db"
222
+ }
223
+ }
224
+ ```
225
+
226
+ ## Development Setup
227
+
228
+ ```bash
229
+ # Install PDM if you haven't already
230
+ pip install pdm
231
+
232
+ # Install dependencies with development tools (PDM will create venv automatically)
233
+ pdm install -d
234
+
235
+ # Run tests
236
+ pdm run pytest
237
+
238
+ # Run application in development mode
239
+ ./run.sh # Linux/macOS
240
+ ./run.bat # Windows
241
+
242
+ # Or use Python module directly from src directory:
243
+ cd src
244
+ pdm run python -m vector_viewer
245
+ ```
246
+
247
+ ## Contributing
248
+
249
+ Contributions are welcome! Areas where help is needed:
250
+ - Additional vector database provider integrations
251
+ - UI/UX improvements
252
+ - Performance optimizations
253
+ - Documentation
254
+ - Test coverage
255
+
256
+ Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
257
+
258
+ ## License
259
+
260
+ MIT License - See [LICENSE](LICENSE) file for details.
261
+
262
+ ## Acknowledgments
263
+
264
+ This project draws inspiration from:
265
+ - DBeaver (SQL database viewer)
266
+ - MongoDB Compass (NoSQL database GUI)
267
+ - Pinecone Console
268
+ - Various vector database management tools
269
+
270
+ ---
271
+
272
+
273
+ See [CHANGELOG.md](CHANGELOG.md) for the latest status and what's new in each release.
274
+
275
+ See [GETTING_STARTED.md](GETTING_STARTED.md) for usage instructions and [IMPLEMENTATION_SUMMARY.md](IMPLEMENTATION_SUMMARY.md) for technical details.
276
+
277
+ **Contact**: Anthony Dawson
@@ -0,0 +1,249 @@
1
+
2
+ # Vector Inspector
3
+
4
+ > **Disclaimer:** This tool is currently under active development and is **not production ready**. Not all features have been thoroughly tested and code is released frequently. Use with caution in critical or production environments.
5
+
6
+ [![CI](https://github.com/anthonypdawson/vector-inspector/actions/workflows/ci-tests.yml/badge.svg?branch=master)](https://github.com/anthonypdawson/vector-inspector/actions/workflows/ci-tests.yml)
7
+ [![Publish](https://github.com/anthonypdawson/vector-inspector/actions/workflows/publish.yml/badge.svg?branch=master)](https://github.com/anthonypdawson/vector-inspector/actions/workflows/publish.yml)
8
+
9
+ [![PyPI Version](https://img.shields.io/pypi/v/vector-inspector.svg?cacheSeconds=300)](https://pypi.org/project/vector-inspector/)
10
+ [![PyPI Downloads](https://static.pepy.tech/personalized-badge/vector-inspector?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https://pepy.tech/projects/vector-inspector)
11
+
12
+
13
+ A comprehensive desktop application for visualizing, querying, and managing vector database data. Similar to SQL database viewers, Vector Inspector provides an intuitive GUI for exploring vector embeddings, metadata, and performing similarity searches across multiple vector database providers.
14
+
15
+ ## Overview
16
+
17
+ Vector Inspector bridges the gap between vector databases and user-friendly data exploration tools. While vector databases are powerful for semantic search and AI applications, they often lack the intuitive inspection and management tools that traditional SQL databases have. This project aims to provide that missing layer.
18
+
19
+ ## Table of Contents
20
+
21
+ - [Overview](#overview)
22
+ - [Key Features](#key-features)
23
+ - [Architecture](#architecture)
24
+ - [Use Cases](#use-cases)
25
+ - [Feature Access](#feature-access)
26
+ - [Roadmap](#roadmap)
27
+ - [Installation](#installation)
28
+ - [Configuration](#configuration)
29
+ - [Development Setup](#development-setup)
30
+ - [Contributing](#contributing)
31
+ - [License](#license)
32
+ - [Acknowledgments](#acknowledgments)
33
+
34
+ ## Key Features
35
+
36
+ ### 1. **Multi-Provider Support**
37
+ - Connect to vector databases:
38
+ - ChromaDB (persistent local storage)
39
+ - Qdrant (remote server or embedded local)
40
+ - Pinecone (cloud-hosted)
41
+ - Unified interface regardless of backend provider
42
+ - Automatically saves last connection configuration
43
+ - Secure API key storage for cloud providers
44
+
45
+ ### 2. **Data Visualization**
46
+ - **Metadata Explorer**: Browse and filter vector entries by metadata fields
47
+ - **Vector Dimensionality Reduction**: Visualize high-dimensional vectors in 2D/3D using:
48
+ - t-SNE
49
+ - UMAP
50
+ - PCA
51
+ - **Cluster Visualization**: Color-code vectors by metadata categories or clustering results
52
+ - **Interactive Plots**: Zoom, pan, and select vectors for detailed inspection
53
+ - **Data Distribution Charts**: Histograms and statistics for metadata fields
54
+
55
+ ### 3. **Search & Query Interface**
56
+ - **Similarity Search**:
57
+ - Text-to-vector search (with embedding model integration)
58
+ - Vector-to-vector search
59
+ - Find similar items to selected entries
60
+ - Adjustable top-k results and similarity thresholds
61
+ - **Metadata Filtering**:
62
+ - SQL-like query builder for metadata
63
+ - Combine vector similarity with metadata filters
64
+ - Advanced filtering: ranges, IN clauses, pattern matching
65
+ - **Hybrid Search**: Combine semantic search with keyword search
66
+ - **Query History**: Save and reuse frequent queries
67
+
68
+ ### 4. **Data Management**
69
+ - **Browse Collections/Indexes**: View all available collections with statistics
70
+ - **CRUD Operations**:
71
+ - View individual vectors and their metadata
72
+ - Add new vectors (with auto-embedding options)
73
+ - Update metadata fields
74
+ - Delete vectors (single or batch)
75
+ - **Bulk Import/Export**:
76
+ - Import from CSV, JSON, Parquet
77
+ - Export query results to various formats
78
+ - Backup and restore collections
79
+ - **Schema Inspector**: View collection configuration, vector dimensions, metadata schema
80
+
81
+ ### 5. **SQL-Like Experience**
82
+ - **Query Console**: Write queries in a familiar SQL-like syntax (where supported)
83
+ - **Results Grid**:
84
+ - Sortable, filterable table view
85
+ - Pagination for large result sets
86
+ - Column customization
87
+ - **Data Inspector**: Click any row to see full details including raw vector
88
+ - **Query Execution Plans**: Understand how queries are executed
89
+ - **Auto-completion**: Intelligent suggestions for collection names, fields, and operations
90
+
91
+ ### 6. **Advanced Features**
92
+ - **Embedding Model Integration**:
93
+ - Use OpenAI, Cohere, HuggingFace models for text-to-vector conversion
94
+ - Local model support (sentence-transformers)
95
+ - Custom model integration
96
+ - **Vector Analysis**:
97
+ - Compute similarity matrices
98
+ - Identify outliers and anomalies
99
+ - Cluster analysis with k-means, DBSCAN
100
+ - **Embedding Inspector**:
101
+ - For similar collections or items, automatically identify which vector dimensions (activations) most contribute to the similarity
102
+ - Map key activations to interpretable concepts (e.g., 'humor', 'sadness', 'anger') using metadata or labels
103
+ - Generate human-readable explanations for why items are similar
104
+ - **Performance Monitoring**:
105
+ - Query latency tracking
106
+ - Index performance metrics
107
+ - Connection health monitoring
108
+
109
+ ## Architecture
110
+
111
+ Vector Inspector is built with PySide6 (Qt for Python) for the GUI, providing a native desktop experience. The backend uses Python with support for multiple vector database providers through a unified interface.
112
+
113
+ For detailed architecture information, see [docs/architecture.md](docs/architecture.md).
114
+
115
+ ## Use Cases
116
+
117
+ 1. **AI/ML Development**: Inspect embeddings generated during model development
118
+ 2. **RAG System Debugging**: Verify what documents are being retrieved
119
+ 3. **Data Quality Assurance**: Identify poorly embedded or outlier vectors
120
+ 4. **Production Monitoring**: Check vector database health and data consistency
121
+ 5. **Data Migration**: Transfer data between vector database providers
122
+ 6. **Education**: Learn and experiment with vector databases interactively
123
+
124
+ ## Feature Access
125
+
126
+ Vector Inspector follows a user-friendly monetization model:
127
+
128
+ - **All vector database providers are free** — Try the full app with any database
129
+ - **Core workflows remain free** — Connect, browse, search, visualize, and manage your data
130
+ - **Pro adds power tools** — Advanced analytics, enterprise formats, workflow automation, and collaboration
131
+
132
+ **Nothing currently in Free will ever move to Pro.** See [FEATURES.md](FEATURES.md) for a detailed comparison.
133
+
134
+ ## Roadmap
135
+
136
+ **Current Status**: ✅ Phase 2 Complete
137
+
138
+ See [ROADMAP.md](ROADMAP.md) for the complete development roadmap and planned features.
139
+
140
+
141
+ ## Installation
142
+
143
+ ### From PyPI (Recommended)
144
+
145
+ ```bash
146
+ pip install vector-inspector
147
+ vector-inspector
148
+ ```
149
+
150
+ ### From a Downloaded Wheel or Tarball (e.g., GitHub Release)
151
+
152
+ Download the `.whl` or `.tar.gz` file from the [GitHub Releases](https://github.com/anthonypdawson/vector-inspector/releases) page, then install with:
153
+
154
+ ```bash
155
+ pip install <your-filename.whl>
156
+ # or
157
+ pip install <your-filename.tar.gz>
158
+ ```
159
+
160
+ After installation, run the application with:
161
+
162
+ ```bash
163
+ vector-inspector
164
+ ```
165
+
166
+ ### From Source
167
+
168
+ ```bash
169
+ # Clone the repository
170
+ git clone https://github.com/anthonypdawson/vector-inspector.git
171
+ cd vector-inspector
172
+
173
+ # Install dependencies using PDM
174
+ pdm install
175
+
176
+ # Launch application
177
+ ./run.sh # Linux/macOS
178
+ ./run.bat # Windows
179
+ ```
180
+
181
+ ## Configuration
182
+
183
+ Paths are resolved relative to the project root (where `pyproject.toml` is). For example, entering `./data/chroma_db` will use the absolute path resolved from the project root.
184
+
185
+ The application automatically saves your last connection configuration to `~/.vector-viewer/settings.json`. The next time you launch the application, it will attempt to reconnect using the last saved settings.
186
+
187
+ Example settings structure:
188
+ ```json
189
+ {
190
+ "last_connection": {
191
+ "provider": "chromadb",
192
+ "connection_type": "persistent",
193
+ "path": "./data/chroma_db"
194
+ }
195
+ }
196
+ ```
197
+
198
+ ## Development Setup
199
+
200
+ ```bash
201
+ # Install PDM if you haven't already
202
+ pip install pdm
203
+
204
+ # Install dependencies with development tools (PDM will create venv automatically)
205
+ pdm install -d
206
+
207
+ # Run tests
208
+ pdm run pytest
209
+
210
+ # Run application in development mode
211
+ ./run.sh # Linux/macOS
212
+ ./run.bat # Windows
213
+
214
+ # Or use Python module directly from src directory:
215
+ cd src
216
+ pdm run python -m vector_viewer
217
+ ```
218
+
219
+ ## Contributing
220
+
221
+ Contributions are welcome! Areas where help is needed:
222
+ - Additional vector database provider integrations
223
+ - UI/UX improvements
224
+ - Performance optimizations
225
+ - Documentation
226
+ - Test coverage
227
+
228
+ Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
229
+
230
+ ## License
231
+
232
+ MIT License - See [LICENSE](LICENSE) file for details.
233
+
234
+ ## Acknowledgments
235
+
236
+ This project draws inspiration from:
237
+ - DBeaver (SQL database viewer)
238
+ - MongoDB Compass (NoSQL database GUI)
239
+ - Pinecone Console
240
+ - Various vector database management tools
241
+
242
+ ---
243
+
244
+
245
+ See [CHANGELOG.md](CHANGELOG.md) for the latest status and what's new in each release.
246
+
247
+ See [GETTING_STARTED.md](GETTING_STARTED.md) for usage instructions and [IMPLEMENTATION_SUMMARY.md](IMPLEMENTATION_SUMMARY.md) for technical details.
248
+
249
+ **Contact**: Anthony Dawson
@@ -0,0 +1,66 @@
1
+ [project]
2
+ name = "vector-inspector"
3
+ version = "0.3.2"
4
+ description = "A comprehensive desktop application for visualizing, querying, and managing vector database data"
5
+ authors = [
6
+ { name = "Anthony Dawson", email = "anthonypdawson+github@gmail.com" },
7
+ ]
8
+ dependencies = [
9
+ "chromadb>=0.4.22",
10
+ "qdrant-client>=1.7.0",
11
+ "pyside6>=6.6.0",
12
+ "PySide6-Addons>=6.6.3.1",
13
+ "pandas>=2.1.0",
14
+ "numpy>=1.26.0",
15
+ "scikit-learn>=1.3.0",
16
+ "umap-learn>=0.5.5",
17
+ "plotly>=5.18.0",
18
+ "sentence-transformers>=2.2.0",
19
+ "fastembed>=0.7.4",
20
+ "pyarrow>=14.0.0",
21
+ "pinecone>=8.0.0",
22
+ "keyring>=25.7.0",
23
+ "hf-xet>=1.2.0",
24
+ ]
25
+ requires-python = ">=3.10,<3.13"
26
+ readme = "README.md"
27
+
28
+ [project.license]
29
+ text = "MIT"
30
+
31
+ [project.urls]
32
+ Homepage = "https://vector-inspector.divinedevops.com"
33
+ Source = "https://github.com/anthonypdawson/vector-inspector"
34
+ Issues = "https://github.com/anthonypdawson/vector-inspector/issues"
35
+ Documentation = "https://github.com/anthonypdawson/vector-inspector#readme"
36
+
37
+ [project.scripts]
38
+ vector-inspector = "vector_inspector.main:main"
39
+
40
+ [tool.pdm]
41
+ distribution = true
42
+
43
+ [tool.pdm.build]
44
+ package-dir = "src"
45
+
46
+ [tool.pdm.scripts.vector-inspector]
47
+ cmd = "python -m vector_inspector.main"
48
+
49
+ [tool.pdm.scripts.vector-inspector.env]
50
+ PYTHONPATH = "src"
51
+
52
+ [tool.pdm.dev-dependencies]
53
+ dev = [
54
+ "pytest>=7.4.0",
55
+ "pytest-qt>=4.2.0",
56
+ "black>=23.12.0",
57
+ "ruff>=0.1.0",
58
+ "mypy>=1.7.0",
59
+ "ipython>=8.18.0",
60
+ ]
61
+
62
+ [build-system]
63
+ requires = [
64
+ "pdm-backend",
65
+ ]
66
+ build-backend = "pdm.backend"
@@ -0,0 +1,3 @@
1
+ """Vector Inspector - A comprehensive desktop application for vector database visualization."""
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1,4 @@
1
+ from .main import main
2
+
3
+ if __name__ == "__main__":
4
+ main()
@@ -0,0 +1,4 @@
1
+ """Data package for Vector Inspector.
2
+
3
+ Contains static data files like the model registry.
4
+ """