apizit-cli 0.2.0b1__tar.gz → 0.2.0b2__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 (22) hide show
  1. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/PKG-INFO +10 -3
  2. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/README.md +9 -2
  3. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/pyproject.toml +1 -1
  4. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/__init__.py +1 -1
  5. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/context.py +1 -2
  6. apizit_cli-0.2.0b2/src/apizit_cli/domains.py +8 -0
  7. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/PKG-INFO +10 -3
  8. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/SOURCES.txt +1 -0
  9. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/setup.cfg +0 -0
  10. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/authentication.py +0 -0
  11. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/commands.py +0 -0
  12. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/configuration.py +0 -0
  13. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/credential_store.py +0 -0
  14. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/errors.py +0 -0
  15. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/http.py +0 -0
  16. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/main.py +0 -0
  17. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/operations.py +0 -0
  18. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/sources.py +0 -0
  19. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/dependency_links.txt +0 -0
  20. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/entry_points.txt +0 -0
  21. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/requires.txt +0 -0
  22. {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apizit-cli
3
- Version: 0.2.0b1
3
+ Version: 0.2.0b2
4
4
  Summary: Launch Python APIs with APIZIT from your terminal or CI.
5
5
  Author: APIZIT
6
6
  Classifier: Development Status :: 4 - Beta
@@ -18,9 +18,10 @@ Requires-Dist: pathspec<2,>=1
18
18
 
19
19
  # APIZIT CLI
20
20
 
21
- Launch Python code as a managed public API, inspect logs and manage releases from your terminal.
21
+ Launch supported Python, JavaScript, TypeScript or Java projects as managed public APIs, inspect logs and manage releases from your terminal.
22
22
 
23
- APIZIT is an advanced development beta. This client targets its managed dev service.
23
+ APIZIT is an advanced beta. This source version defaults to `https://api.apizit.com/v1`.
24
+ Version `0.2.0b1` uses its original dev default; use `--endpoint` explicitly with that version.
24
25
  Check the official CLI documentation for package availability and current workspace capabilities.
25
26
 
26
27
  Install with `pipx install --pip-args=--pre apizit-cli`
@@ -30,6 +31,12 @@ The client requires no AWS account, AWS credentials, Docker or APIZIT backend ch
30
31
  Run `apizit --help` and `apizit docs` for the command reference.
31
32
  The package contains the HTTP client and shared configuration contracts only.
32
33
 
34
+ Use `apizit --endpoint https://api-test.apizit.com/v1 login` to access the test installation.
35
+ Keep that explicit endpoint on subsequent test commands, or set `APIZIT_API_URL` for the terminal
36
+ or CI job. Accounts, saved workspaces and sessions are separate for each endpoint. Sign in again
37
+ when choosing a new address; the CLI never copies an existing session to it. A project already
38
+ linked to another endpoint requires that original explicit endpoint.
39
+
33
40
  ```sh
34
41
  apizit login
35
42
  apizit workspace list
@@ -1,8 +1,9 @@
1
1
  # APIZIT CLI
2
2
 
3
- Launch Python code as a managed public API, inspect logs and manage releases from your terminal.
3
+ Launch supported Python, JavaScript, TypeScript or Java projects as managed public APIs, inspect logs and manage releases from your terminal.
4
4
 
5
- APIZIT is an advanced development beta. This client targets its managed dev service.
5
+ APIZIT is an advanced beta. This source version defaults to `https://api.apizit.com/v1`.
6
+ Version `0.2.0b1` uses its original dev default; use `--endpoint` explicitly with that version.
6
7
  Check the official CLI documentation for package availability and current workspace capabilities.
7
8
 
8
9
  Install with `pipx install --pip-args=--pre apizit-cli`
@@ -12,6 +13,12 @@ The client requires no AWS account, AWS credentials, Docker or APIZIT backend ch
12
13
  Run `apizit --help` and `apizit docs` for the command reference.
13
14
  The package contains the HTTP client and shared configuration contracts only.
14
15
 
16
+ Use `apizit --endpoint https://api-test.apizit.com/v1 login` to access the test installation.
17
+ Keep that explicit endpoint on subsequent test commands, or set `APIZIT_API_URL` for the terminal
18
+ or CI job. Accounts, saved workspaces and sessions are separate for each endpoint. Sign in again
19
+ when choosing a new address; the CLI never copies an existing session to it. A project already
20
+ linked to another endpoint requires that original explicit endpoint.
21
+
15
22
  ```sh
16
23
  apizit login
17
24
  apizit workspace list
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "apizit-cli"
7
- version = "0.2.0b1"
7
+ version = "0.2.0b2"
8
8
  description = "Launch Python APIs with APIZIT from your terminal or CI."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -1,3 +1,3 @@
1
1
  """The APIZIT HTTP client. Importing this package never initializes a session."""
2
2
 
3
- __version__ = "0.2.0b1"
3
+ __version__ = "0.2.0b2"
@@ -9,8 +9,7 @@ from pathlib import Path
9
9
  from urllib.parse import urlsplit
10
10
 
11
11
  from apizit_cli.errors import CliError, EXIT_USAGE
12
-
13
- DEFAULT_API_ORIGIN = "https://jxo6vbfwy0.execute-api.eu-central-1.amazonaws.com/v1"
12
+ from apizit_cli.domains import DEFAULT_API_ORIGIN
14
13
 
15
14
 
16
15
  def normalize_origin(value: str) -> str:
@@ -0,0 +1,8 @@
1
+ """Generated by infra/scripts/export_platform_domains.py --cli; do not edit."""
2
+
3
+ DEFAULT_ENVIRONMENT = "beta"
4
+ API_ORIGINS = {
5
+ "dev": "https://api-test.apizit.com/v1",
6
+ "beta": "https://api.apizit.com/v1",
7
+ }
8
+ DEFAULT_API_ORIGIN = API_ORIGINS[DEFAULT_ENVIRONMENT]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apizit-cli
3
- Version: 0.2.0b1
3
+ Version: 0.2.0b2
4
4
  Summary: Launch Python APIs with APIZIT from your terminal or CI.
5
5
  Author: APIZIT
6
6
  Classifier: Development Status :: 4 - Beta
@@ -18,9 +18,10 @@ Requires-Dist: pathspec<2,>=1
18
18
 
19
19
  # APIZIT CLI
20
20
 
21
- Launch Python code as a managed public API, inspect logs and manage releases from your terminal.
21
+ Launch supported Python, JavaScript, TypeScript or Java projects as managed public APIs, inspect logs and manage releases from your terminal.
22
22
 
23
- APIZIT is an advanced development beta. This client targets its managed dev service.
23
+ APIZIT is an advanced beta. This source version defaults to `https://api.apizit.com/v1`.
24
+ Version `0.2.0b1` uses its original dev default; use `--endpoint` explicitly with that version.
24
25
  Check the official CLI documentation for package availability and current workspace capabilities.
25
26
 
26
27
  Install with `pipx install --pip-args=--pre apizit-cli`
@@ -30,6 +31,12 @@ The client requires no AWS account, AWS credentials, Docker or APIZIT backend ch
30
31
  Run `apizit --help` and `apizit docs` for the command reference.
31
32
  The package contains the HTTP client and shared configuration contracts only.
32
33
 
34
+ Use `apizit --endpoint https://api-test.apizit.com/v1 login` to access the test installation.
35
+ Keep that explicit endpoint on subsequent test commands, or set `APIZIT_API_URL` for the terminal
36
+ or CI job. Accounts, saved workspaces and sessions are separate for each endpoint. Sign in again
37
+ when choosing a new address; the CLI never copies an existing session to it. A project already
38
+ linked to another endpoint requires that original explicit endpoint.
39
+
33
40
  ```sh
34
41
  apizit login
35
42
  apizit workspace list
@@ -6,6 +6,7 @@ src/apizit_cli/commands.py
6
6
  src/apizit_cli/configuration.py
7
7
  src/apizit_cli/context.py
8
8
  src/apizit_cli/credential_store.py
9
+ src/apizit_cli/domains.py
9
10
  src/apizit_cli/errors.py
10
11
  src/apizit_cli/http.py
11
12
  src/apizit_cli/main.py
File without changes