codabench-client 0.1.0__tar.gz → 0.1.1__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 (20) hide show
  1. {codabench_client-0.1.0/codabench_client.egg-info → codabench_client-0.1.1}/PKG-INFO +19 -14
  2. {codabench_client-0.1.0 → codabench_client-0.1.1}/README.md +15 -9
  3. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench/__init__.py +1 -1
  4. {codabench_client-0.1.0 → codabench_client-0.1.1/codabench_client.egg-info}/PKG-INFO +19 -14
  5. {codabench_client-0.1.0 → codabench_client-0.1.1}/pyproject.toml +5 -5
  6. {codabench_client-0.1.0 → codabench_client-0.1.1}/LICENSE +0 -0
  7. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench/__main__.py +0 -0
  8. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench/auth.py +0 -0
  9. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench/cli.py +0 -0
  10. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench/client.py +0 -0
  11. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench/competitions.py +0 -0
  12. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench/downloads.py +0 -0
  13. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench/errors.py +0 -0
  14. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench/text.py +0 -0
  15. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench_client.egg-info/SOURCES.txt +0 -0
  16. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench_client.egg-info/dependency_links.txt +0 -0
  17. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench_client.egg-info/entry_points.txt +0 -0
  18. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench_client.egg-info/requires.txt +0 -0
  19. {codabench_client-0.1.0 → codabench_client-0.1.1}/codabench_client.egg-info/top_level.txt +0 -0
  20. {codabench_client-0.1.0 → codabench_client-0.1.1}/setup.cfg +0 -0
@@ -1,15 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codabench-client
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A small, readable Python client and CLI for the Codabench API.
5
- License: MIT
6
- Project-URL: Homepage, https://github.com/amoujar/codabench-client
7
- Project-URL: Issues, https://github.com/amoujar/codabench-client/issues
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/moujar/Codabench-client
7
+ Project-URL: Issues, https://github.com/moujar/Codabench-client/issues
8
8
  Keywords: codabench,codalab,benchmark,competition,machine-learning
9
9
  Classifier: Development Status :: 4 - Beta
10
10
  Classifier: Environment :: Console
11
11
  Classifier: Intended Audience :: Science/Research
12
- Classifier: License :: OSI Approved :: MIT License
13
12
  Classifier: Programming Language :: Python :: 3
14
13
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
15
14
  Requires-Python: >=3.9
@@ -39,8 +38,17 @@ codabench outputs 17525 # fetch the prediction & scoring out
39
38
  ## Install
40
39
 
41
40
  ```bash
42
- git clone https://github.com/<you>/api-codabench.git
43
- cd api-codabench
41
+ pip install codabench-client
42
+ ```
43
+
44
+ That puts the `codabench` command on your PATH and makes `import codabench` available.
45
+ Pin it if you want a fixed version: `pip install codabench-client==0.1.0`.
46
+
47
+ To work on the package itself:
48
+
49
+ ```bash
50
+ git clone https://github.com/moujar/codabench-client.git
51
+ cd codabench-client
44
52
  pip install -e .
45
53
  ```
46
54
 
@@ -65,19 +73,16 @@ CODABENCH_PASSWORD=your_password
65
73
  `CODABENCH_USERNAME` / `CODABENCH_PASSWORD`. Reading a **public** competition needs no
66
74
  credentials at all.
67
75
 
68
- > **Accounts are per-instance.** A `www.codabench.org` login does not work on
69
- > `dev.codabench.org`, and vice versa.
70
-
71
76
  ## Commands
72
77
 
73
78
 
74
79
  | Command | What it does |
75
80
  | ---------------------------------------------- | ---------------------------------------------------------- |
76
81
  | `codabench competitions [--search TEXT]` | List competitions |
77
- | `codabench show <id|url>` | Pages, phases, tasks, files, leaderboard |
78
- | `codabench files <id|url>` | List / download the "Files" tab |
79
- | `codabench submit <id|url> -z FILE` | Upload a submission, optionally wait for the score |
80
- | `codabench outputs <id|url>` | Download a submission's zip, prediction & scoring output |
82
+ | `codabench show <id\|url>` | Pages, phases, tasks, files, leaderboard |
83
+ | `codabench files <id\|url>` | List / download the "Files" tab |
84
+ | `codabench submit <id\|url> -z FILE` | Upload a submission, optionally wait for the score |
85
+ | `codabench outputs <id\|url>` | Download a submission's zip, prediction & scoring output |
81
86
  | `codabench rerun --submission ID --task KEY` | Re-run a submission on another task (robot accounts) |
82
87
  | `codabench create -b bundle.zip` | Create a competition from a bundle |
83
88
 
@@ -19,8 +19,17 @@ codabench outputs 17525 # fetch the prediction & scoring out
19
19
  ## Install
20
20
 
21
21
  ```bash
22
- git clone https://github.com/<you>/api-codabench.git
23
- cd api-codabench
22
+ pip install codabench-client
23
+ ```
24
+
25
+ That puts the `codabench` command on your PATH and makes `import codabench` available.
26
+ Pin it if you want a fixed version: `pip install codabench-client==0.1.0`.
27
+
28
+ To work on the package itself:
29
+
30
+ ```bash
31
+ git clone https://github.com/moujar/codabench-client.git
32
+ cd codabench-client
24
33
  pip install -e .
25
34
  ```
26
35
 
@@ -45,19 +54,16 @@ CODABENCH_PASSWORD=your_password
45
54
  `CODABENCH_USERNAME` / `CODABENCH_PASSWORD`. Reading a **public** competition needs no
46
55
  credentials at all.
47
56
 
48
- > **Accounts are per-instance.** A `www.codabench.org` login does not work on
49
- > `dev.codabench.org`, and vice versa.
50
-
51
57
  ## Commands
52
58
 
53
59
 
54
60
  | Command | What it does |
55
61
  | ---------------------------------------------- | ---------------------------------------------------------- |
56
62
  | `codabench competitions [--search TEXT]` | List competitions |
57
- | `codabench show <id|url>` | Pages, phases, tasks, files, leaderboard |
58
- | `codabench files <id|url>` | List / download the "Files" tab |
59
- | `codabench submit <id|url> -z FILE` | Upload a submission, optionally wait for the score |
60
- | `codabench outputs <id|url>` | Download a submission's zip, prediction & scoring output |
63
+ | `codabench show <id\|url>` | Pages, phases, tasks, files, leaderboard |
64
+ | `codabench files <id\|url>` | List / download the "Files" tab |
65
+ | `codabench submit <id\|url> -z FILE` | Upload a submission, optionally wait for the score |
66
+ | `codabench outputs <id\|url>` | Download a submission's zip, prediction & scoring output |
61
67
  | `codabench rerun --submission ID --task KEY` | Re-run a submission on another task (robot accounts) |
62
68
  | `codabench create -b bundle.zip` | Create a competition from a bundle |
63
69
 
@@ -30,7 +30,7 @@ from .competitions import (
30
30
  )
31
31
  from .errors import ApiError, AuthError, CodabenchError
32
32
 
33
- __version__ = "0.1.0"
33
+ __version__ = "0.1.1"
34
34
 
35
35
  __all__ = [
36
36
  "ARTIFACTS",
@@ -1,15 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codabench-client
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A small, readable Python client and CLI for the Codabench API.
5
- License: MIT
6
- Project-URL: Homepage, https://github.com/amoujar/codabench-client
7
- Project-URL: Issues, https://github.com/amoujar/codabench-client/issues
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/moujar/Codabench-client
7
+ Project-URL: Issues, https://github.com/moujar/Codabench-client/issues
8
8
  Keywords: codabench,codalab,benchmark,competition,machine-learning
9
9
  Classifier: Development Status :: 4 - Beta
10
10
  Classifier: Environment :: Console
11
11
  Classifier: Intended Audience :: Science/Research
12
- Classifier: License :: OSI Approved :: MIT License
13
12
  Classifier: Programming Language :: Python :: 3
14
13
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
15
14
  Requires-Python: >=3.9
@@ -39,8 +38,17 @@ codabench outputs 17525 # fetch the prediction & scoring out
39
38
  ## Install
40
39
 
41
40
  ```bash
42
- git clone https://github.com/<you>/api-codabench.git
43
- cd api-codabench
41
+ pip install codabench-client
42
+ ```
43
+
44
+ That puts the `codabench` command on your PATH and makes `import codabench` available.
45
+ Pin it if you want a fixed version: `pip install codabench-client==0.1.0`.
46
+
47
+ To work on the package itself:
48
+
49
+ ```bash
50
+ git clone https://github.com/moujar/codabench-client.git
51
+ cd codabench-client
44
52
  pip install -e .
45
53
  ```
46
54
 
@@ -65,19 +73,16 @@ CODABENCH_PASSWORD=your_password
65
73
  `CODABENCH_USERNAME` / `CODABENCH_PASSWORD`. Reading a **public** competition needs no
66
74
  credentials at all.
67
75
 
68
- > **Accounts are per-instance.** A `www.codabench.org` login does not work on
69
- > `dev.codabench.org`, and vice versa.
70
-
71
76
  ## Commands
72
77
 
73
78
 
74
79
  | Command | What it does |
75
80
  | ---------------------------------------------- | ---------------------------------------------------------- |
76
81
  | `codabench competitions [--search TEXT]` | List competitions |
77
- | `codabench show <id|url>` | Pages, phases, tasks, files, leaderboard |
78
- | `codabench files <id|url>` | List / download the "Files" tab |
79
- | `codabench submit <id|url> -z FILE` | Upload a submission, optionally wait for the score |
80
- | `codabench outputs <id|url>` | Download a submission's zip, prediction & scoring output |
82
+ | `codabench show <id\|url>` | Pages, phases, tasks, files, leaderboard |
83
+ | `codabench files <id\|url>` | List / download the "Files" tab |
84
+ | `codabench submit <id\|url> -z FILE` | Upload a submission, optionally wait for the score |
85
+ | `codabench outputs <id\|url>` | Download a submission's zip, prediction & scoring output |
81
86
  | `codabench rerun --submission ID --task KEY` | Re-run a submission on another task (robot accounts) |
82
87
  | `codabench create -b bundle.zip` | Create a competition from a bundle |
83
88
 
@@ -4,17 +4,17 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "codabench-client"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  description = "A small, readable Python client and CLI for the Codabench API."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
11
- license = { text = "MIT" }
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
12
13
  keywords = ["codabench", "codalab", "benchmark", "competition", "machine-learning"]
13
14
  classifiers = [
14
15
  "Development Status :: 4 - Beta",
15
16
  "Environment :: Console",
16
17
  "Intended Audience :: Science/Research",
17
- "License :: OSI Approved :: MIT License",
18
18
  "Programming Language :: Python :: 3",
19
19
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
20
20
  ]
@@ -24,8 +24,8 @@ dependencies = ["requests>=2.25"]
24
24
  codabench = "codabench.cli:main"
25
25
 
26
26
  [project.urls]
27
- Homepage = "https://github.com/amoujar/codabench-client"
28
- Issues = "https://github.com/amoujar/codabench-client/issues"
27
+ Homepage = "https://github.com/moujar/Codabench-client"
28
+ Issues = "https://github.com/moujar/Codabench-client/issues"
29
29
 
30
30
  [tool.setuptools]
31
31
  packages = ["codabench"]