A Blazing fast DataScience library for CSV,txt,SQL,Dictionary reading and CLI Plotting
Project description
UltraQuery
UltraQuery is a fast and lightweight Python module + CLI tool for:
- 📂 Reading
.csv,.txt, and.sqlitefiles - 👁️ Viewing data or building DataFrame-like structures
- 📈 Plotting directly from terminal using CLI flags
- ⚙️ Powered by a custom C++ engine for high performance
🔖 Version
- v0.1.0
- Released: 08-08-2025
- Authors: Mayank Chaudhary, Krishna Agarwal, Abhedhya Faujdar
📦 Installation
pip install UltraQuery
🐍 Python Usage
from ultraquery import UltraQuery
uq = UltraQuery.UltraQuery()
data={
"name" : ["adam","james","sofia"],
"age" : [23,63,87]
}
uq.viewdata("cars.csv", "year")
uq.df("cars.csv", limit=100)
uq.plot("cars.csv", xcol="year", ycol="price", graph_type="line")
uq.read_dict(data)
💻 CLI Usage
ultraquery -f cars.csv -l 50 -df
ultraquery -f cars.csv -l 100 -plt -x year -y price -typ line
🚩 CLI Flags
| Flag | Description |
|---|---|
-f |
Path to CSV/SQL file |
-df |
Show data as a table |
-l |
Limit number of rows to load |
-plt |
Enable graph plotting |
-x |
Set X-axis column |
-y |
Set Y-axis column |
-typ |
Type of plot (bar, pie, etc.) |
-sql |
Enable SQLite mode |
table |
Specify SQLite table |
column_list |
View column list |
vc |
View raw column data |
dict |
Get Dataframe from Dictionary |
col |
Enter Column |
🧠 Available Functions
viewcolumn(file) # List columns from a CSV
viewdata(file, col) # Display elements of column col
df(file, n) # Load data into custom frame
viewsql(file, table, n) # Load rows from SQLite
plot(file, x, y, typ) # Plot selected columns
read_dict(dictionary) # Give dataframe directly from a dictionary
✅ Supported Plot Types
- bar
- line
- scatter
- pie
- histogram
📊 Example
ultraquery -f sales.csv -l 100 -plt -x month -y revenue -typ bar
🚀 Features
- ⚡ Fast CSV reading via C++ engine
- 🧪 Native Python class interface
- 🧭 CLI for quick data exploration
- 🎨 Easy plotting with matplotlib
- 🗄️ SQLite table reading support
🔍 Engine Details
- Uses native shared library (
engine.dll/engine.so) - Loaded via
ctypes - Core C++ functions:
readcsv,columnsget,getdata,dataframe,read_dict
👥 Contributors
📄 License
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
ultraquery-0.1.0.tar.gz
(1.2 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ultraquery-0.1.0.tar.gz.
File metadata
- Download URL: ultraquery-0.1.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b799f472d83f7d1ac0df328791a8c25a634148ac57929ff6d70e4ba42156757c
|
|
| MD5 |
2a34568a3659ed02a71343b01543c450
|
|
| BLAKE2b-256 |
5b7429cda68f1497a0124b4f3328117e6f172aa54668e27dbb31980e8d28fc1a
|
File details
Details for the file ultraquery-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ultraquery-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
291639b42979edd635dd8b4acb0173e11b1e126d8bdb68fced7d129a96495f34
|
|
| MD5 |
5aadce426c0b865927a73b08270a076b
|
|
| BLAKE2b-256 |
62839842aaa2ed579634e398915ca63341f6e081c4400de691e369f3783f62bb
|