content-cli 0.2.0__tar.gz → 0.3.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: content-cli
3
- Version: 0.2.0
3
+ Version: 0.3.3
4
4
  Summary: Command-line client for the Content engine (talks to /api/v1).
5
5
  Project-URL: Homepage, https://github.com/LatentNoise/content
6
6
  Project-URL: Source, https://github.com/LatentNoise/content
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.13
21
21
  Classifier: Topic :: Multimedia :: Video
22
22
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
23
  Requires-Python: >=3.11
24
- Requires-Dist: content-sdk==0.2.0
24
+ Requires-Dist: content-sdk==0.3.3
25
25
  Description-Content-Type: text/markdown
26
26
 
27
27
  # `content` — Content CLI
@@ -34,7 +34,7 @@ there is no parallel contract.
34
34
 
35
35
  ## Install
36
36
 
37
- Once published, the CLI is an ordinary Python application — nothing to clone:
37
+ The CLI is an ordinary Python application — nothing to clone:
38
38
 
39
39
  ```bash
40
40
  uv tool install content-cli # isolated, on your PATH — recommended
@@ -44,23 +44,12 @@ content --help
44
44
  pipx install content-cli
45
45
  ```
46
46
 
47
- `content-cli` pulls `content-sdk` from PyPI as an ordinary dependency, pinned
48
- to the matching release.
49
-
50
- > **Not published yet.** Until the first publication the packages are attached
51
- > to each GitHub release as wheels; see *From a release* below. The commands
52
- > above are what will work afterwards.
53
-
54
- ### From a release (today)
55
-
56
- Download `content_sdk-<version>-py3-none-any.whl` and
57
- `content_cli-<version>-py3-none-any.whl` from the
58
- [latest release](https://github.com/LatentNoise/content/releases/latest), then:
59
-
60
- ```bash
61
- uv tool install ./content_cli-<version>-py3-none-any.whl \
62
- --find-links . # --find-links lets it resolve the SDK beside it
63
- ```
47
+ [`content-cli` on PyPI](https://pypi.org/project/content-cli/) pulls
48
+ [`content-sdk`](https://pypi.org/project/content-sdk/) as an ordinary
49
+ dependency, pinned to the matching release. The wheels are also attached to
50
+ each [GitHub release](https://github.com/LatentNoise/content/releases/latest)
51
+ for air-gapped installs (`uv tool install ./content_cli-<v>-py3-none-any.whl
52
+ --find-links .`).
64
53
 
65
54
  ### From a clone
66
55
 
@@ -8,7 +8,7 @@ there is no parallel contract.
8
8
 
9
9
  ## Install
10
10
 
11
- Once published, the CLI is an ordinary Python application — nothing to clone:
11
+ The CLI is an ordinary Python application — nothing to clone:
12
12
 
13
13
  ```bash
14
14
  uv tool install content-cli # isolated, on your PATH — recommended
@@ -18,23 +18,12 @@ content --help
18
18
  pipx install content-cli
19
19
  ```
20
20
 
21
- `content-cli` pulls `content-sdk` from PyPI as an ordinary dependency, pinned
22
- to the matching release.
23
-
24
- > **Not published yet.** Until the first publication the packages are attached
25
- > to each GitHub release as wheels; see *From a release* below. The commands
26
- > above are what will work afterwards.
27
-
28
- ### From a release (today)
29
-
30
- Download `content_sdk-<version>-py3-none-any.whl` and
31
- `content_cli-<version>-py3-none-any.whl` from the
32
- [latest release](https://github.com/LatentNoise/content/releases/latest), then:
33
-
34
- ```bash
35
- uv tool install ./content_cli-<version>-py3-none-any.whl \
36
- --find-links . # --find-links lets it resolve the SDK beside it
37
- ```
21
+ [`content-cli` on PyPI](https://pypi.org/project/content-cli/) pulls
22
+ [`content-sdk`](https://pypi.org/project/content-sdk/) as an ordinary
23
+ dependency, pinned to the matching release. The wheels are also attached to
24
+ each [GitHub release](https://github.com/LatentNoise/content/releases/latest)
25
+ for air-gapped installs (`uv tool install ./content_cli-<v>-py3-none-any.whl
26
+ --find-links .`).
38
27
 
39
28
  ### From a clone
40
29
 
@@ -0,0 +1,12 @@
1
+ """content — command-line client for the Content engine."""
2
+
3
+ from importlib.metadata import PackageNotFoundError, version
4
+
5
+ # The installed wheel's own version — never a literal. The 0.2.0 release
6
+ # shipped `content --version` answering "0.1.0" because this file carried a
7
+ # hardcoded string that no release tooling rewrote (it was the one version
8
+ # declaration outside `make version`'s lockstep). Metadata cannot drift.
9
+ try:
10
+ __version__ = version("content-cli")
11
+ except PackageNotFoundError: # an uninstalled source tree (no dist metadata)
12
+ __version__ = "0+source"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "content-cli"
3
- version = "0.2.0"
3
+ version = "0.3.3"
4
4
  description = "Command-line client for the Content engine (talks to /api/v1)."
5
5
  readme = "README.md"
6
6
  license = "AGPL-3.0-or-later"
@@ -24,7 +24,7 @@ classifiers = [
24
24
  # Pinned to the exact SDK release, not a floor: the monorepo ships one version
25
25
  # for everything (`make version`), and a CLI resolving to a different SDK than
26
26
  # the one it was tested against is precisely the drift that guarantees buys.
27
- dependencies = ["content-sdk==0.2.0"]
27
+ dependencies = ["content-sdk==0.3.3"]
28
28
 
29
29
  [project.scripts]
30
30
  content = "content_cli.cli:main"
@@ -1,3 +0,0 @@
1
- """content — command-line client for the Content engine."""
2
-
3
- __version__ = "0.1.0"
File without changes
File without changes
File without changes