Skip to main content

A powerful SQL shell with GUI interface for data analysis

Project description

SQLShell

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.

Features

  • Load and analyze data from CSV, Excel (.xlsx, .xls), and Parquet files
  • Interactive GUI with syntax highlighting
  • Real-time query results
  • Table preview functionality
  • Built-in test data generation
  • Support for multiple concurrent table views

Installation

You can install SQLShell using pip:

pip install sqlshell

For development installation:

git clone https://github.com/yourusername/sqlshell.git
cd sqlshell
pip install -e .

Usage

After installation, you can start SQLShell from anywhere in your terminal by running:

sqls

This will open the GUI interface where you can:

  1. Load data files using the "Load Files" button
  2. Write SQL queries in the query editor
  3. Execute queries using the "Execute" button or Ctrl+Enter
  4. View results in the table view below
  5. Load sample test data using the "Test" button

Requirements

  • Python 3.8 or higher
  • PyQt6
  • DuckDB
  • Pandas
  • Other dependencies will be automatically installed

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlshell-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlshell-0.1.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file sqlshell-0.1.0.tar.gz.

File metadata

  • Download URL: sqlshell-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for sqlshell-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fac0f1f384122d43a91d5d7e0645f64e5e8688ff71693de7d5990520b0bbc6fd
MD5 891c02b4a4feff827405d577858058ae
BLAKE2b-256 2f8df01ef396e87664e3aec3b285f71fbc906fad83a44c0c01dc0982df0b3d02

See more details on using hashes here.

File details

Details for the file sqlshell-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sqlshell-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for sqlshell-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a493fe5a5ddebfa7b4c46d8e37c8e92bc1241325bfad4a7df7a519e9edf4b4d5
MD5 a7605b3f17aefadae5d63bd7fea71db4
BLAKE2b-256 bb4505aba709e2c361a4181cb003e8cfe7338925d2a0bca12e908f3b7f2b3856

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page