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.
Files changed (39) hide show
  1. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/PKG-INFO +27 -10
  2. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/README.md +26 -9
  3. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/__init__.py +1 -1
  4. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/PKG-INFO +27 -10
  5. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/pyproject.toml +1 -1
  6. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/__main__.py +0 -0
  7. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/core/__init__.py +0 -0
  8. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/core/clipboard.py +0 -0
  9. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/core/config.py +0 -0
  10. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/core/error_classifier.py +0 -0
  11. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/core/sql_utils.py +0 -0
  12. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/__init__.py +0 -0
  13. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/app.py +0 -0
  14. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/dialogs/__init__.py +0 -0
  15. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/dialogs/add_connection_dialog.py +0 -0
  16. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/dialogs/export_dialog.py +0 -0
  17. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/dialogs/save_query_dialog.py +0 -0
  18. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/screens/__init__.py +0 -0
  19. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/screens/about.py +0 -0
  20. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/screens/matrix.py +0 -0
  21. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/styles.py +0 -0
  22. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/__init__.py +0 -0
  23. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/database_tree.py +0 -0
  24. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/file_tree.py +0 -0
  25. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/query_tab.py +0 -0
  26. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/resize_handle.py +0 -0
  27. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/results_table.py +0 -0
  28. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/gui/widgets/sql_editor.py +0 -0
  29. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck/main.py +0 -0
  30. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/SOURCES.txt +0 -0
  31. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/dependency_links.txt +0 -0
  32. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/entry_points.txt +0 -0
  33. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/requires.txt +0 -0
  34. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/openduck_cli.egg-info/top_level.txt +0 -0
  35. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/setup.cfg +0 -0
  36. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/tests/test.py +0 -0
  37. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/tests/test_all_errors.py +0 -0
  38. {openduck_cli-0.1.1 → openduck_cli-0.1.3}/tests/test_save_load.py +0 -0
  39. {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.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
- **Via PyPI:**
85
+ **Recommended: Install via `pip3` from PyPI**
86
86
  ```bash
87
- pip install openduck-cli
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
- pip install -r requirements.txt
95
- # or: pip install -e .
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
- python openduck.py
117
+ openduck
104
118
  ```
119
+ *(or `openduck-cli`)*
105
120
 
106
- Or make it available system-wide as a command:
121
+ If you cloned the source repository:
107
122
 
108
123
  ```bash
109
- chmod +x openduck.sh
110
- sudo cp openduck.sh /usr/local/bin/openduck
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
- **Via PyPI:**
67
+ **Recommended: Install via `pip3` from PyPI**
68
68
  ```bash
69
- pip install openduck-cli
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
- pip install -r requirements.txt
77
- # or: pip install -e .
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
- python openduck.py
99
+ openduck
86
100
  ```
101
+ *(or `openduck-cli`)*
87
102
 
88
- Or make it available system-wide as a command:
103
+ If you cloned the source repository:
89
104
 
90
105
  ```bash
91
- chmod +x openduck.sh
92
- sudo cp openduck.sh /usr/local/bin/openduck
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
  """OpenDuck - A flat file SQL client based on DuckDB."""
2
2
 
3
- __version__ = "0.1.1"
3
+ __version__ = "0.1.3"
4
4
 
5
5
  from openduck.core.config import (
6
6
  CWD,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openduck-cli
3
- Version: 0.1.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
- **Via PyPI:**
85
+ **Recommended: Install via `pip3` from PyPI**
86
86
  ```bash
87
- pip install openduck-cli
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
- pip install -r requirements.txt
95
- # or: pip install -e .
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
- python openduck.py
117
+ openduck
104
118
  ```
119
+ *(or `openduck-cli`)*
105
120
 
106
- Or make it available system-wide as a command:
121
+ If you cloned the source repository:
107
122
 
108
123
  ```bash
109
- chmod +x openduck.sh
110
- sudo cp openduck.sh /usr/local/bin/openduck
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
  ---
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "openduck-cli"
7
- version = "0.1.1"
7
+ version = "0.1.3"
8
8
  description = "A flat file SQL client based on DuckDB"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Bertatron" }]
File without changes
File without changes