nepher-cli 0.2.3__tar.gz → 0.2.4__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.
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/PKG-INFO +1 -1
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/pyproject.toml +1 -1
- nepher_cli-0.2.4/src/nepher_cli/__init__.py +10 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/cli.py +6 -1
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/commands/tournament.py +1 -0
- nepher_cli-0.2.3/src/nepher_cli/__init__.py +0 -3
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/.gitignore +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/README.md +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/__main__.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/commands/__init__.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/commands/account.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/commands/envhub.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/commands/hackathon.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/commands/highlight.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/commands/simstore.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/config.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/core/__init__.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/core/credentials.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/core/http.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/envhub/__init__.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/envhub/cache.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/envhub/config.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/py.typed +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/tournament/__init__.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/tournament/agent_check.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/tournament/api.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/tournament/packer.py +0 -0
- {nepher_cli-0.2.3 → nepher_cli-0.2.4}/src/nepher_cli/tournament/wallet.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nepher-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: npcli — unified Nepher command-line interface for accounts, hackathons, EnvHub, tournaments, and SimStore
|
|
5
5
|
Project-URL: Homepage, https://github.com/nepher-ai/nepher-cli
|
|
6
6
|
Author: Nepher
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "nepher-cli"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.4"
|
|
8
8
|
description = "npcli — unified Nepher command-line interface for accounts, hackathons, EnvHub, tournaments, and SimStore"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""npcli — unified Nepher command-line interface."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
6
|
+
|
|
7
|
+
try:
|
|
8
|
+
__version__ = version("nepher-cli")
|
|
9
|
+
except PackageNotFoundError: # pragma: no cover
|
|
10
|
+
__version__ = "0.0.0"
|
|
@@ -15,7 +15,7 @@ from nepher_cli.commands.tournament import tournament
|
|
|
15
15
|
@click.group(
|
|
16
16
|
context_settings={"help_option_names": ["-h", "--help"], "max_content_width": 100},
|
|
17
17
|
)
|
|
18
|
-
@click.version_option(version=__version__, prog_name="npcli")
|
|
18
|
+
@click.version_option(version=__version__, package_name="nepher-cli", prog_name="npcli")
|
|
19
19
|
def main() -> None:
|
|
20
20
|
"""npcli — the unified Nepher command-line interface.
|
|
21
21
|
|
|
@@ -39,6 +39,11 @@ def main() -> None:
|
|
|
39
39
|
npcli envhub list
|
|
40
40
|
npcli tournament list
|
|
41
41
|
|
|
42
|
+
\b
|
|
43
|
+
Tournament submit requires bittensor-wallet for wallet signing:
|
|
44
|
+
pip install bittensor-wallet
|
|
45
|
+
# or: pip install "nepher-cli[bittensor]"
|
|
46
|
+
|
|
42
47
|
Run any sub-command with --help for details and examples.
|
|
43
48
|
|
|
44
49
|
API keys are created at https://account.nepher.ai (Account > API Keys).
|
|
@@ -530,6 +530,7 @@ def tournament_submit(
|
|
|
530
530
|
|
|
531
531
|
Requires [bold]bittensor-wallet[/bold] for wallet signing:
|
|
532
532
|
pip install bittensor-wallet
|
|
533
|
+
# or: pip install "nepher-cli[bittensor]"
|
|
533
534
|
"""
|
|
534
535
|
resolved_key = _resolve_api_key(api_key)
|
|
535
536
|
resolved_url = api_url or TOURNAMENT_BACKEND
|
|
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
|