sqlshell 0.1.8__tar.gz → 0.1.9__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.
Potentially problematic release.
This version of sqlshell might be problematic. Click here for more details.
- {sqlshell-0.1.8/sqlshell.egg-info → sqlshell-0.1.9}/PKG-INFO +8 -6
- {sqlshell-0.1.8 → sqlshell-0.1.9}/README.md +8 -6
- {sqlshell-0.1.8 → sqlshell-0.1.9}/pyproject.toml +1 -1
- {sqlshell-0.1.8 → sqlshell-0.1.9}/setup.py +2 -2
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/__init__.py +1 -1
- sqlshell-0.1.9/sqlshell/db/__init__.py +5 -0
- sqlshell-0.1.9/sqlshell/db/database_manager.py +691 -0
- sqlshell-0.1.9/sqlshell/editor.py +856 -0
- sqlshell-0.1.9/sqlshell/main.py +2416 -0
- sqlshell-0.1.9/sqlshell/query_tab.py +172 -0
- sqlshell-0.1.9/sqlshell/resources/create_icon.py +131 -0
- sqlshell-0.1.9/sqlshell/resources/create_splash.py +96 -0
- sqlshell-0.1.9/sqlshell/resources/icon.png +0 -0
- sqlshell-0.1.9/sqlshell/resources/logo_large.png +0 -0
- sqlshell-0.1.9/sqlshell/resources/logo_medium.png +0 -0
- sqlshell-0.1.9/sqlshell/resources/logo_small.png +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/setup.py +1 -1
- sqlshell-0.1.9/sqlshell/splash_screen.py +405 -0
- sqlshell-0.1.9/sqlshell/ui/__init__.py +6 -0
- sqlshell-0.1.9/sqlshell/ui/bar_chart_delegate.py +49 -0
- sqlshell-0.1.9/sqlshell/ui/filter_header.py +403 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9/sqlshell.egg-info}/PKG-INFO +8 -6
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell.egg-info/SOURCES.txt +14 -1
- sqlshell-0.1.9/sqlshell_logo.png +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/customer_data.parquet +0 -0
- sqlshell-0.1.9/test_data/product_catalog.xlsx +0 -0
- sqlshell-0.1.9/test_data/s1.parquet +0 -0
- sqlshell-0.1.9/test_data/sample_sales_data.xlsx +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test.db +0 -0
- sqlshell-0.1.9/test_data/test2.parquet +0 -0
- sqlshell-0.1.9/test_data/testproject.sqls +139 -0
- sqlshell-0.1.9/test_data/vaaaa.xlsx +0 -0
- sqlshell-0.1.9/test_data/weather_measurements.parquet +0 -0
- sqlshell-0.1.9/test_data/yo.parquet +0 -0
- sqlshell-0.1.8/sqlshell/editor.py +0 -355
- sqlshell-0.1.8/sqlshell/main.py +0 -1833
- sqlshell-0.1.8/sqlshell/resources/create_icon.py +0 -53
- sqlshell-0.1.8/sqlshell/resources/create_splash.py +0 -66
- sqlshell-0.1.8/sqlshell/splash_screen.py +0 -177
- sqlshell-0.1.8/sqlshell_logo.png +0 -0
- sqlshell-0.1.8/test_data/price_by_category.parquet +0 -0
- sqlshell-0.1.8/test_data/product_catalog.xlsx +0 -0
- sqlshell-0.1.8/test_data/sample_sales_data.xlsx +0 -0
- sqlshell-0.1.8/test_data/testproject.sqls +0 -23
- sqlshell-0.1.8/test_data/weather_measurements.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/MANIFEST.in +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/pool.db +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/setup.cfg +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/create_test_data.py +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/data/create_test_data.py +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/resources/__init__.py +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/resources/splash_screen.gif +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/sqlshell/__init__.py +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/sqlshell/create_test_data.py +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/sqlshell/create_test_databases.py +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/sqlshell_demo.png +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/syntax_highlighter.py +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell.egg-info/dependency_links.txt +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell.egg-info/entry_points.txt +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell.egg-info/requires.txt +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell.egg-info/top_level.txt +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell_demo.png +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/by_category.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/city_coordinates.csv +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/city_coordinates.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/city_coordinates.xlsx +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/customer_data.csv +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/customer_data.xlsx +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/customers_by_country.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/delete_me.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/joined_test.parquet +0 -0
- /sqlshell-0.1.8/test_data/test2.parquet → /sqlshell-0.1.9/test_data/price_by_category.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/product_catalog.csv +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/product_catalog.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/product_categories.csv +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/product_categories.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/product_categories.xlsx +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/sample_sales_data.csv +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/sample_sales_data.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/stock_data.csv +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/stock_data.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/stock_data.xlsx +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test.duckdb +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test3.parquet +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test3.xlsx +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test4.xlsx +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test5.xlsx +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/weather_measurements.csv +0 -0
- {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/weather_measurements.xlsx +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlshell
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9
|
|
4
4
|
Summary: A powerful SQL shell with GUI interface for data analysis
|
|
5
5
|
Home-page: https://github.com/yourusername/sqlshell
|
|
6
6
|
Author: SQLShell Team
|
|
@@ -31,7 +31,7 @@ Dynamic: requires-python
|
|
|
31
31
|
|
|
32
32
|
<div align="center">
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
<img src="sqlshell_logo.png" alt="SQLShell Logo" width="256" height="256">
|
|
35
35
|
|
|
36
36
|
**A modern SQL REPL interface for seamless querying of Excel, Parquet, and SQLite databases**
|
|
37
37
|
|
|
@@ -43,9 +43,10 @@ Dynamic: requires-python
|
|
|
43
43
|
|
|
44
44
|
- **Interactive SQL Interface** - Rich syntax highlighting for enhanced query writing
|
|
45
45
|
- **DuckDB Integration** - Built-in support for local DuckDB database (pool.db)
|
|
46
|
-
- **Multi-Format Support** - Import and query Excel (.xlsx, .xls) and
|
|
46
|
+
- **Multi-Format Support** - Import and query Excel (.xlsx, .xls), CSV, and Parquet files effortlessly
|
|
47
47
|
- **Modern UI** - Clean, tabular results display with intuitive controls
|
|
48
48
|
- **Productivity Tools** - Streamlined workflow with keyboard shortcuts (e.g., Ctrl+Enter for query execution)
|
|
49
|
+
- **Professional Design** - Human-readable interface with optimized graphics
|
|
49
50
|
|
|
50
51
|
## 📦 Installation
|
|
51
52
|
|
|
@@ -80,9 +81,9 @@ pip install sqlshell
|
|
|
80
81
|
2. **Database Connection**
|
|
81
82
|
- SQLShell automatically connects to a local DuckDB database named 'pool.db'
|
|
82
83
|
|
|
83
|
-
3. **Working with
|
|
84
|
-
- Click "
|
|
85
|
-
- File contents are loaded as
|
|
84
|
+
3. **Working with Data Files**
|
|
85
|
+
- Click "Load Files" to select your Excel, CSV, or Parquet files
|
|
86
|
+
- File contents are loaded as queryable SQL tables
|
|
86
87
|
- Query using standard SQL syntax
|
|
87
88
|
|
|
88
89
|
4. **Query Execution**
|
|
@@ -118,3 +119,4 @@ FROM test_v;
|
|
|
118
119
|
- Use temporary views for complex query organization
|
|
119
120
|
- Leverage keyboard shortcuts for efficient workflow
|
|
120
121
|
- Explore the multi-format support for various data sources
|
|
122
|
+
- Create multiple tabs for parallel query development
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<img src="sqlshell_logo.png" alt="SQLShell Logo" width="256" height="256">
|
|
6
6
|
|
|
7
7
|
**A modern SQL REPL interface for seamless querying of Excel, Parquet, and SQLite databases**
|
|
8
8
|
|
|
@@ -14,9 +14,10 @@
|
|
|
14
14
|
|
|
15
15
|
- **Interactive SQL Interface** - Rich syntax highlighting for enhanced query writing
|
|
16
16
|
- **DuckDB Integration** - Built-in support for local DuckDB database (pool.db)
|
|
17
|
-
- **Multi-Format Support** - Import and query Excel (.xlsx, .xls) and
|
|
17
|
+
- **Multi-Format Support** - Import and query Excel (.xlsx, .xls), CSV, and Parquet files effortlessly
|
|
18
18
|
- **Modern UI** - Clean, tabular results display with intuitive controls
|
|
19
19
|
- **Productivity Tools** - Streamlined workflow with keyboard shortcuts (e.g., Ctrl+Enter for query execution)
|
|
20
|
+
- **Professional Design** - Human-readable interface with optimized graphics
|
|
20
21
|
|
|
21
22
|
## 📦 Installation
|
|
22
23
|
|
|
@@ -51,9 +52,9 @@ pip install sqlshell
|
|
|
51
52
|
2. **Database Connection**
|
|
52
53
|
- SQLShell automatically connects to a local DuckDB database named 'pool.db'
|
|
53
54
|
|
|
54
|
-
3. **Working with
|
|
55
|
-
- Click "
|
|
56
|
-
- File contents are loaded as
|
|
55
|
+
3. **Working with Data Files**
|
|
56
|
+
- Click "Load Files" to select your Excel, CSV, or Parquet files
|
|
57
|
+
- File contents are loaded as queryable SQL tables
|
|
57
58
|
- Query using standard SQL syntax
|
|
58
59
|
|
|
59
60
|
4. **Query Execution**
|
|
@@ -88,4 +89,5 @@ FROM test_v;
|
|
|
88
89
|
|
|
89
90
|
- Use temporary views for complex query organization
|
|
90
91
|
- Leverage keyboard shortcuts for efficient workflow
|
|
91
|
-
- Explore the multi-format support for various data sources
|
|
92
|
+
- Explore the multi-format support for various data sources
|
|
93
|
+
- Create multiple tabs for parallel query development
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
import os
|
|
3
3
|
|
|
4
4
|
# Read version from __init__.py
|
|
5
|
-
with open(os.path.join('sqlshell', '__init__.py'), 'r') as f:
|
|
5
|
+
with open(os.path.join('sqlshell', '__init__.py'), 'r', encoding='utf-8') as f:
|
|
6
6
|
for line in f:
|
|
7
7
|
if line.startswith('__version__'):
|
|
8
8
|
version = line.split('=')[1].strip().strip('"\'')
|
|
@@ -29,7 +29,7 @@ setup(
|
|
|
29
29
|
},
|
|
30
30
|
author="SQLShell Team",
|
|
31
31
|
description="A powerful SQL shell with GUI interface for data analysis",
|
|
32
|
-
long_description=open('README.md').read(),
|
|
32
|
+
long_description=open('README.md', encoding='utf-8').read(),
|
|
33
33
|
long_description_content_type="text/markdown",
|
|
34
34
|
keywords="sql, data analysis, gui, duckdb",
|
|
35
35
|
url="https://github.com/yourusername/sqlshell",
|