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.

Files changed (89) hide show
  1. {sqlshell-0.1.8/sqlshell.egg-info → sqlshell-0.1.9}/PKG-INFO +8 -6
  2. {sqlshell-0.1.8 → sqlshell-0.1.9}/README.md +8 -6
  3. {sqlshell-0.1.8 → sqlshell-0.1.9}/pyproject.toml +1 -1
  4. {sqlshell-0.1.8 → sqlshell-0.1.9}/setup.py +2 -2
  5. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/__init__.py +1 -1
  6. sqlshell-0.1.9/sqlshell/db/__init__.py +5 -0
  7. sqlshell-0.1.9/sqlshell/db/database_manager.py +691 -0
  8. sqlshell-0.1.9/sqlshell/editor.py +856 -0
  9. sqlshell-0.1.9/sqlshell/main.py +2416 -0
  10. sqlshell-0.1.9/sqlshell/query_tab.py +172 -0
  11. sqlshell-0.1.9/sqlshell/resources/create_icon.py +131 -0
  12. sqlshell-0.1.9/sqlshell/resources/create_splash.py +96 -0
  13. sqlshell-0.1.9/sqlshell/resources/icon.png +0 -0
  14. sqlshell-0.1.9/sqlshell/resources/logo_large.png +0 -0
  15. sqlshell-0.1.9/sqlshell/resources/logo_medium.png +0 -0
  16. sqlshell-0.1.9/sqlshell/resources/logo_small.png +0 -0
  17. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/setup.py +1 -1
  18. sqlshell-0.1.9/sqlshell/splash_screen.py +405 -0
  19. sqlshell-0.1.9/sqlshell/ui/__init__.py +6 -0
  20. sqlshell-0.1.9/sqlshell/ui/bar_chart_delegate.py +49 -0
  21. sqlshell-0.1.9/sqlshell/ui/filter_header.py +403 -0
  22. {sqlshell-0.1.8 → sqlshell-0.1.9/sqlshell.egg-info}/PKG-INFO +8 -6
  23. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell.egg-info/SOURCES.txt +14 -1
  24. sqlshell-0.1.9/sqlshell_logo.png +0 -0
  25. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/customer_data.parquet +0 -0
  26. sqlshell-0.1.9/test_data/product_catalog.xlsx +0 -0
  27. sqlshell-0.1.9/test_data/s1.parquet +0 -0
  28. sqlshell-0.1.9/test_data/sample_sales_data.xlsx +0 -0
  29. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test.db +0 -0
  30. sqlshell-0.1.9/test_data/test2.parquet +0 -0
  31. sqlshell-0.1.9/test_data/testproject.sqls +139 -0
  32. sqlshell-0.1.9/test_data/vaaaa.xlsx +0 -0
  33. sqlshell-0.1.9/test_data/weather_measurements.parquet +0 -0
  34. sqlshell-0.1.9/test_data/yo.parquet +0 -0
  35. sqlshell-0.1.8/sqlshell/editor.py +0 -355
  36. sqlshell-0.1.8/sqlshell/main.py +0 -1833
  37. sqlshell-0.1.8/sqlshell/resources/create_icon.py +0 -53
  38. sqlshell-0.1.8/sqlshell/resources/create_splash.py +0 -66
  39. sqlshell-0.1.8/sqlshell/splash_screen.py +0 -177
  40. sqlshell-0.1.8/sqlshell_logo.png +0 -0
  41. sqlshell-0.1.8/test_data/price_by_category.parquet +0 -0
  42. sqlshell-0.1.8/test_data/product_catalog.xlsx +0 -0
  43. sqlshell-0.1.8/test_data/sample_sales_data.xlsx +0 -0
  44. sqlshell-0.1.8/test_data/testproject.sqls +0 -23
  45. sqlshell-0.1.8/test_data/weather_measurements.parquet +0 -0
  46. {sqlshell-0.1.8 → sqlshell-0.1.9}/MANIFEST.in +0 -0
  47. {sqlshell-0.1.8 → sqlshell-0.1.9}/pool.db +0 -0
  48. {sqlshell-0.1.8 → sqlshell-0.1.9}/setup.cfg +0 -0
  49. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/create_test_data.py +0 -0
  50. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/data/create_test_data.py +0 -0
  51. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/resources/__init__.py +0 -0
  52. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/resources/splash_screen.gif +0 -0
  53. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/sqlshell/__init__.py +0 -0
  54. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/sqlshell/create_test_data.py +0 -0
  55. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/sqlshell/create_test_databases.py +0 -0
  56. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/sqlshell_demo.png +0 -0
  57. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell/syntax_highlighter.py +0 -0
  58. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell.egg-info/dependency_links.txt +0 -0
  59. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell.egg-info/entry_points.txt +0 -0
  60. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell.egg-info/requires.txt +0 -0
  61. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell.egg-info/top_level.txt +0 -0
  62. {sqlshell-0.1.8 → sqlshell-0.1.9}/sqlshell_demo.png +0 -0
  63. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/by_category.parquet +0 -0
  64. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/city_coordinates.csv +0 -0
  65. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/city_coordinates.parquet +0 -0
  66. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/city_coordinates.xlsx +0 -0
  67. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/customer_data.csv +0 -0
  68. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/customer_data.xlsx +0 -0
  69. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/customers_by_country.parquet +0 -0
  70. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/delete_me.parquet +0 -0
  71. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/joined_test.parquet +0 -0
  72. /sqlshell-0.1.8/test_data/test2.parquet → /sqlshell-0.1.9/test_data/price_by_category.parquet +0 -0
  73. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/product_catalog.csv +0 -0
  74. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/product_catalog.parquet +0 -0
  75. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/product_categories.csv +0 -0
  76. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/product_categories.parquet +0 -0
  77. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/product_categories.xlsx +0 -0
  78. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/sample_sales_data.csv +0 -0
  79. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/sample_sales_data.parquet +0 -0
  80. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/stock_data.csv +0 -0
  81. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/stock_data.parquet +0 -0
  82. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/stock_data.xlsx +0 -0
  83. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test.duckdb +0 -0
  84. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test3.parquet +0 -0
  85. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test3.xlsx +0 -0
  86. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test4.xlsx +0 -0
  87. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/test5.xlsx +0 -0
  88. {sqlshell-0.1.8 → sqlshell-0.1.9}/test_data/weather_measurements.csv +0 -0
  89. {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.8
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
- ![SQLShell Interface](sqlshell_logo.png)
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 CSV files effortlessly
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 Excel Files**
84
- - Click "Browse Excel" to select your file
85
- - File contents are loaded as 'imported_data' table
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
- ![SQLShell Interface](sqlshell_logo.png)
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 CSV files effortlessly
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 Excel Files**
55
- - Click "Browse Excel" to select your file
56
- - File contents are loaded as 'imported_data' table
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sqlshell"
7
- version = "0.1.8"
7
+ version = "0.1.9"
8
8
  description = "A powerful SQL shell with GUI interface for data analysis"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -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",
@@ -2,7 +2,7 @@
2
2
  SQLShell - A powerful SQL shell with GUI interface for data analysis
3
3
  """
4
4
 
5
- __version__ = "0.1.8"
5
+ __version__ = "0.1.9"
6
6
  __author__ = "SQLShell Team"
7
7
 
8
8
  # SQLShell package initialization
@@ -0,0 +1,5 @@
1
+ """Database management components for SQLShell application."""
2
+
3
+ from sqlshell.db.database_manager import DatabaseManager
4
+
5
+ __all__ = ['DatabaseManager']