openduck-cli 0.1.1__tar.gz → 0.1.3__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.
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/PKG-INFO +27 -10
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/README.md +26 -9
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/__init__.py +1 -1
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/PKG-INFO +27 -10
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/pyproject.toml +1 -1
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/__main__.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/core/__init__.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/core/clipboard.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/core/config.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/core/error_classifier.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/core/sql_utils.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/__init__.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/app.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/dialogs/__init__.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/dialogs/add_connection_dialog.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/dialogs/export_dialog.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/dialogs/save_query_dialog.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/screens/__init__.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/screens/about.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/screens/matrix.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/styles.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/__init__.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/database_tree.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/file_tree.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/query_tab.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/resize_handle.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/results_table.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/sql_editor.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/main.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/SOURCES.txt +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/dependency_links.txt +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/entry_points.txt +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/requires.txt +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/top_level.txt +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/setup.cfg +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/tests/test.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/tests/test_all_errors.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/tests/test_save_load.py +0 -0
- {openduck_cli-0.1.1 → openduck_cli-0.1.3}/tests/test_unit.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openduck-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A flat file SQL client based on DuckDB
|
|
5
5
|
Author: Bertatron
|
|
6
6
|
License-Expression: MIT
|
|
@@ -82,33 +82,50 @@ OpenDuck automatically recognises and formats queries for:
|
|
|
82
82
|
|
|
83
83
|
### 1. Installation
|
|
84
84
|
|
|
85
|
-
**
|
|
85
|
+
**Recommended: Install via `pip3` from PyPI**
|
|
86
86
|
```bash
|
|
87
|
-
|
|
87
|
+
pip3 install openduck-cli
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
+
> **Tip:** If your system manages Python externally (e.g., Debian/Ubuntu PEP 668), install into a virtual environment or use `pipx`:
|
|
91
|
+
> ```bash
|
|
92
|
+
> python3 -m venv ~/.openduck-venv
|
|
93
|
+
> ~/.openduck-venv/bin/pip3 install openduck-cli
|
|
94
|
+
> # Create a symlink to run it from anywhere:
|
|
95
|
+
> sudo ln -s ~/.openduck-venv/bin/openduck /usr/local/bin/openduck
|
|
96
|
+
> ```
|
|
97
|
+
|
|
98
|
+
|
|
90
99
|
**From source:**
|
|
91
100
|
```bash
|
|
92
101
|
git clone https://github.com/klandermans/openduck.git
|
|
93
102
|
cd openduck
|
|
94
|
-
|
|
95
|
-
# or
|
|
103
|
+
pip3 install -r requirements.txt
|
|
104
|
+
# or install in editable mode:
|
|
105
|
+
pip3 install -e .
|
|
96
106
|
```
|
|
97
107
|
|
|
98
108
|
> **Note:** `textual[syntax]` installs the required `tree-sitter` and `tree-sitter-sql` engines for syntax highlighting out of the box.
|
|
99
109
|
|
|
110
|
+
---
|
|
111
|
+
|
|
100
112
|
### 2. Run OpenDuck
|
|
101
113
|
|
|
114
|
+
After installing with `pip3`, run it directly from any directory:
|
|
115
|
+
|
|
102
116
|
```bash
|
|
103
|
-
|
|
117
|
+
openduck
|
|
104
118
|
```
|
|
119
|
+
*(or `openduck-cli`)*
|
|
105
120
|
|
|
106
|
-
|
|
121
|
+
If you cloned the source repository:
|
|
107
122
|
|
|
108
123
|
```bash
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
openduck
|
|
124
|
+
python3 openduck.py
|
|
125
|
+
# or
|
|
126
|
+
python3 -m openduck
|
|
127
|
+
# or with the shell wrapper:
|
|
128
|
+
./openduck.sh
|
|
112
129
|
```
|
|
113
130
|
|
|
114
131
|
---
|
|
@@ -64,33 +64,50 @@ OpenDuck automatically recognises and formats queries for:
|
|
|
64
64
|
|
|
65
65
|
### 1. Installation
|
|
66
66
|
|
|
67
|
-
**
|
|
67
|
+
**Recommended: Install via `pip3` from PyPI**
|
|
68
68
|
```bash
|
|
69
|
-
|
|
69
|
+
pip3 install openduck-cli
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
+
> **Tip:** If your system manages Python externally (e.g., Debian/Ubuntu PEP 668), install into a virtual environment or use `pipx`:
|
|
73
|
+
> ```bash
|
|
74
|
+
> python3 -m venv ~/.openduck-venv
|
|
75
|
+
> ~/.openduck-venv/bin/pip3 install openduck-cli
|
|
76
|
+
> # Create a symlink to run it from anywhere:
|
|
77
|
+
> sudo ln -s ~/.openduck-venv/bin/openduck /usr/local/bin/openduck
|
|
78
|
+
> ```
|
|
79
|
+
|
|
80
|
+
|
|
72
81
|
**From source:**
|
|
73
82
|
```bash
|
|
74
83
|
git clone https://github.com/klandermans/openduck.git
|
|
75
84
|
cd openduck
|
|
76
|
-
|
|
77
|
-
# or
|
|
85
|
+
pip3 install -r requirements.txt
|
|
86
|
+
# or install in editable mode:
|
|
87
|
+
pip3 install -e .
|
|
78
88
|
```
|
|
79
89
|
|
|
80
90
|
> **Note:** `textual[syntax]` installs the required `tree-sitter` and `tree-sitter-sql` engines for syntax highlighting out of the box.
|
|
81
91
|
|
|
92
|
+
---
|
|
93
|
+
|
|
82
94
|
### 2. Run OpenDuck
|
|
83
95
|
|
|
96
|
+
After installing with `pip3`, run it directly from any directory:
|
|
97
|
+
|
|
84
98
|
```bash
|
|
85
|
-
|
|
99
|
+
openduck
|
|
86
100
|
```
|
|
101
|
+
*(or `openduck-cli`)*
|
|
87
102
|
|
|
88
|
-
|
|
103
|
+
If you cloned the source repository:
|
|
89
104
|
|
|
90
105
|
```bash
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
openduck
|
|
106
|
+
python3 openduck.py
|
|
107
|
+
# or
|
|
108
|
+
python3 -m openduck
|
|
109
|
+
# or with the shell wrapper:
|
|
110
|
+
./openduck.sh
|
|
94
111
|
```
|
|
95
112
|
|
|
96
113
|
---
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openduck-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A flat file SQL client based on DuckDB
|
|
5
5
|
Author: Bertatron
|
|
6
6
|
License-Expression: MIT
|
|
@@ -82,33 +82,50 @@ OpenDuck automatically recognises and formats queries for:
|
|
|
82
82
|
|
|
83
83
|
### 1. Installation
|
|
84
84
|
|
|
85
|
-
**
|
|
85
|
+
**Recommended: Install via `pip3` from PyPI**
|
|
86
86
|
```bash
|
|
87
|
-
|
|
87
|
+
pip3 install openduck-cli
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
+
> **Tip:** If your system manages Python externally (e.g., Debian/Ubuntu PEP 668), install into a virtual environment or use `pipx`:
|
|
91
|
+
> ```bash
|
|
92
|
+
> python3 -m venv ~/.openduck-venv
|
|
93
|
+
> ~/.openduck-venv/bin/pip3 install openduck-cli
|
|
94
|
+
> # Create a symlink to run it from anywhere:
|
|
95
|
+
> sudo ln -s ~/.openduck-venv/bin/openduck /usr/local/bin/openduck
|
|
96
|
+
> ```
|
|
97
|
+
|
|
98
|
+
|
|
90
99
|
**From source:**
|
|
91
100
|
```bash
|
|
92
101
|
git clone https://github.com/klandermans/openduck.git
|
|
93
102
|
cd openduck
|
|
94
|
-
|
|
95
|
-
# or
|
|
103
|
+
pip3 install -r requirements.txt
|
|
104
|
+
# or install in editable mode:
|
|
105
|
+
pip3 install -e .
|
|
96
106
|
```
|
|
97
107
|
|
|
98
108
|
> **Note:** `textual[syntax]` installs the required `tree-sitter` and `tree-sitter-sql` engines for syntax highlighting out of the box.
|
|
99
109
|
|
|
110
|
+
---
|
|
111
|
+
|
|
100
112
|
### 2. Run OpenDuck
|
|
101
113
|
|
|
114
|
+
After installing with `pip3`, run it directly from any directory:
|
|
115
|
+
|
|
102
116
|
```bash
|
|
103
|
-
|
|
117
|
+
openduck
|
|
104
118
|
```
|
|
119
|
+
*(or `openduck-cli`)*
|
|
105
120
|
|
|
106
|
-
|
|
121
|
+
If you cloned the source repository:
|
|
107
122
|
|
|
108
123
|
```bash
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
openduck
|
|
124
|
+
python3 openduck.py
|
|
125
|
+
# or
|
|
126
|
+
python3 -m openduck
|
|
127
|
+
# or with the shell wrapper:
|
|
128
|
+
./openduck.sh
|
|
112
129
|
```
|
|
113
130
|
|
|
114
131
|
---
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|