sqlshell 0.1.8__py3-none-any.whl → 0.2.0__py3-none-any.whl

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 SQLShell Team
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.
sqlshell/MANIFEST.in ADDED
@@ -0,0 +1,6 @@
1
+ include LICENSE
2
+ include MANIFEST.in
3
+ include README.md
4
+ include sqlshell_demo.png
5
+ recursive-include sqlshell *.py
6
+ recursive-include sqlshell *.db
sqlshell/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # SQLShell
2
+
3
+ A powerful SQL shell with GUI interface for data analysis. SQLShell provides an intuitive interface for working with various data formats (CSV, Excel, Parquet) using SQL queries powered by DuckDB.
4
+
5
+ ![SQLShell Interface](sqlshell_demo.png)
6
+
7
+ ## Features
8
+
9
+ - Load and analyze data from CSV, Excel (.xlsx, .xls), and Parquet files
10
+ - Interactive GUI with syntax highlighting
11
+ - Real-time query results
12
+ - Table preview functionality
13
+ - Built-in test data generation
14
+ - Support for multiple concurrent table views
15
+
16
+ ## Installation
17
+
18
+ You can install SQLShell using pip:
19
+
20
+ ```bash
21
+ pip install sqlshell
22
+ ```
23
+
24
+ refer to
25
+
26
+ For development installation:
27
+
28
+ ```bash
29
+ git clone https://github.com/oyvinrog/SQLShell.git
30
+ cd sqlshell
31
+ pip install -e .
32
+ ```
33
+
34
+ ## Usage
35
+
36
+ After installation, you can start SQLShell from anywhere in your terminal by running:
37
+
38
+ ```bash
39
+ sqls
40
+ ```
41
+
42
+ This will open the GUI interface where you can:
43
+ 1. Load data files using the "Load Files" button
44
+ 2. Write SQL queries in the query editor
45
+ 3. Execute queries using the "Execute" button or Ctrl+Enter
46
+ 4. View results in the table view below
47
+ 5. Load sample test data using the "Test" button
48
+
49
+ ## Requirements
50
+
51
+ - Python 3.8 or higher
52
+ - PyQt6
53
+ - DuckDB
54
+ - Pandas
55
+ - Other dependencies will be automatically installed
56
+
57
+ ## License
58
+
59
+ This project is licensed under the MIT License - see the LICENSE file for details.
sqlshell/__init__.py CHANGED
@@ -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