onehouse-cli 0.1.0__tar.gz → 0.1.2__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.
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: onehouse-cli
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: A command-line tool for executing SQL commands against the Onehouse API
5
5
  Author-email: Sagar Lakshmipathy <18vidhyasagar@gmail.com>
6
- License: Other/Proprietary
7
- Keywords: onehouse,cli,sql
6
+ License: Proprietary
7
+ Keywords: onehouse,cli
8
8
  Classifier: Development Status :: 3 - Alpha
9
9
  Classifier: Intended Audience :: Developers
10
- Classifier: License :: OSI Approved :: MIT License
11
10
  Classifier: Programming Language :: Python :: 3
12
11
  Classifier: Programming Language :: Python :: 3.7
13
12
  Classifier: Programming Language :: Python :: 3.8
@@ -22,23 +21,31 @@ Requires-Dist: requests
22
21
 
23
22
  A command-line tool for executing SQL commands against the Onehouse API with synchronous responses.
24
23
 
24
+ ## Installation
25
+
26
+ ```bash
27
+ pip install onehouse-cli
28
+ ```
29
+
25
30
  ## Setup
26
- 1. **Create a virtual environment and install dependencies:**
27
- ```bash
28
- python3 -m venv venv
29
- source venv/bin/activate
30
- pip install -r requirements.txt
31
- ```
32
- 2. **Configure credentials:**
33
- From withing the `onehouse-cli` directory, run:
34
- ```bash
35
- ./onehouse-cli-configure
36
- ```
37
- Prompts for: Profile name, Account UID, Project UID, API Key, API Secret, Project Region, User ID, Request ID, Environment (production or staging)
38
-
39
- **Note:** The tool will ask if you want to automatically add the CLI tools to your shell PATH for global access.
40
-
41
- 3. **Credentials are stored in:** `~/.onehouse/credentials`
31
+
32
+ **Configure credentials:**
33
+ ```bash
34
+ onehouse-cli-configure
35
+ ```
36
+
37
+ This will prompt you for:
38
+ - Profile name
39
+ - Account UID
40
+ - Project UID
41
+ - API Key
42
+ - API Secret
43
+ - Project Region
44
+ - User ID
45
+ - Request ID
46
+ - Environment (production or staging)
47
+
48
+ **Credentials are stored in:** `~/.onehouse/credentials`
42
49
 
43
50
  ## Usage
44
51
 
@@ -69,7 +76,7 @@ onehouse-cli --command "ALTER OCU SET LIMIT = '3'" --profile myprofile --timeout
69
76
 
70
77
  ```bash
71
78
  # Configure first profile
72
- ./onehouse-cli-configure
79
+ onehouse-cli-configure
73
80
 
74
81
  # Execute queries
75
82
  onehouse-cli --command "SHOW LAKES" --profile apex
@@ -2,23 +2,31 @@
2
2
 
3
3
  A command-line tool for executing SQL commands against the Onehouse API with synchronous responses.
4
4
 
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install onehouse-cli
9
+ ```
10
+
5
11
  ## Setup
6
- 1. **Create a virtual environment and install dependencies:**
7
- ```bash
8
- python3 -m venv venv
9
- source venv/bin/activate
10
- pip install -r requirements.txt
11
- ```
12
- 2. **Configure credentials:**
13
- From withing the `onehouse-cli` directory, run:
14
- ```bash
15
- ./onehouse-cli-configure
16
- ```
17
- Prompts for: Profile name, Account UID, Project UID, API Key, API Secret, Project Region, User ID, Request ID, Environment (production or staging)
18
-
19
- **Note:** The tool will ask if you want to automatically add the CLI tools to your shell PATH for global access.
20
-
21
- 3. **Credentials are stored in:** `~/.onehouse/credentials`
12
+
13
+ **Configure credentials:**
14
+ ```bash
15
+ onehouse-cli-configure
16
+ ```
17
+
18
+ This will prompt you for:
19
+ - Profile name
20
+ - Account UID
21
+ - Project UID
22
+ - API Key
23
+ - API Secret
24
+ - Project Region
25
+ - User ID
26
+ - Request ID
27
+ - Environment (production or staging)
28
+
29
+ **Credentials are stored in:** `~/.onehouse/credentials`
22
30
 
23
31
  ## Usage
24
32
 
@@ -49,7 +57,7 @@ onehouse-cli --command "ALTER OCU SET LIMIT = '3'" --profile myprofile --timeout
49
57
 
50
58
  ```bash
51
59
  # Configure first profile
52
- ./onehouse-cli-configure
60
+ onehouse-cli-configure
53
61
 
54
62
  # Execute queries
55
63
  onehouse-cli --command "SHOW LAKES" --profile apex
@@ -2,7 +2,7 @@
2
2
  Onehouse CLI - A command-line tool for executing SQL commands against the Onehouse API.
3
3
  """
4
4
 
5
- __version__ = "0.1.0"
5
+ __version__ = "0.1.1"
6
6
 
7
7
  from .cli import main as cli_main
8
8
  from .configure import main as configure_main
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: onehouse-cli
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: A command-line tool for executing SQL commands against the Onehouse API
5
5
  Author-email: Sagar Lakshmipathy <18vidhyasagar@gmail.com>
6
- License: Other/Proprietary
7
- Keywords: onehouse,cli,sql
6
+ License: Proprietary
7
+ Keywords: onehouse,cli
8
8
  Classifier: Development Status :: 3 - Alpha
9
9
  Classifier: Intended Audience :: Developers
10
- Classifier: License :: OSI Approved :: MIT License
11
10
  Classifier: Programming Language :: Python :: 3
12
11
  Classifier: Programming Language :: Python :: 3.7
13
12
  Classifier: Programming Language :: Python :: 3.8
@@ -22,23 +21,31 @@ Requires-Dist: requests
22
21
 
23
22
  A command-line tool for executing SQL commands against the Onehouse API with synchronous responses.
24
23
 
24
+ ## Installation
25
+
26
+ ```bash
27
+ pip install onehouse-cli
28
+ ```
29
+
25
30
  ## Setup
26
- 1. **Create a virtual environment and install dependencies:**
27
- ```bash
28
- python3 -m venv venv
29
- source venv/bin/activate
30
- pip install -r requirements.txt
31
- ```
32
- 2. **Configure credentials:**
33
- From withing the `onehouse-cli` directory, run:
34
- ```bash
35
- ./onehouse-cli-configure
36
- ```
37
- Prompts for: Profile name, Account UID, Project UID, API Key, API Secret, Project Region, User ID, Request ID, Environment (production or staging)
38
-
39
- **Note:** The tool will ask if you want to automatically add the CLI tools to your shell PATH for global access.
40
-
41
- 3. **Credentials are stored in:** `~/.onehouse/credentials`
31
+
32
+ **Configure credentials:**
33
+ ```bash
34
+ onehouse-cli-configure
35
+ ```
36
+
37
+ This will prompt you for:
38
+ - Profile name
39
+ - Account UID
40
+ - Project UID
41
+ - API Key
42
+ - API Secret
43
+ - Project Region
44
+ - User ID
45
+ - Request ID
46
+ - Environment (production or staging)
47
+
48
+ **Credentials are stored in:** `~/.onehouse/credentials`
42
49
 
43
50
  ## Usage
44
51
 
@@ -69,7 +76,7 @@ onehouse-cli --command "ALTER OCU SET LIMIT = '3'" --profile myprofile --timeout
69
76
 
70
77
  ```bash
71
78
  # Configure first profile
72
- ./onehouse-cli-configure
79
+ onehouse-cli-configure
73
80
 
74
81
  # Execute queries
75
82
  onehouse-cli --command "SHOW LAKES" --profile apex
@@ -4,19 +4,18 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "onehouse-cli"
7
- version = "0.1.0"
7
+ version = "0.1.2"
8
8
  description = "A command-line tool for executing SQL commands against the Onehouse API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.7"
11
- license = {text = "Other/Proprietary"}
11
+ license = { text = "Proprietary" }
12
12
  authors = [
13
13
  {name = "Sagar Lakshmipathy", email = "18vidhyasagar@gmail.com"}
14
14
  ]
15
- keywords = ["onehouse", "cli", "sql"]
15
+ keywords = ["onehouse", "cli"]
16
16
  classifiers = [
17
17
  "Development Status :: 3 - Alpha",
18
18
  "Intended Audience :: Developers",
19
- "License :: OSI Approved :: MIT License",
20
19
  "Programming Language :: Python :: 3",
21
20
  "Programming Language :: Python :: 3.7",
22
21
  "Programming Language :: Python :: 3.8",
File without changes