sfapi-client 0.0.9__tar.gz → 0.2.0__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.
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/PKG-INFO +4 -4
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/README.md +3 -3
- sfapi_client-0.2.0/docs/examples/check_current_and_past_jobs.ipynb +927 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/examples/run_job_and_check_status.ipynb +5 -7
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/index.md +2 -2
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/requirements-dev.txt +1 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/client.py +65 -74
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/compute.py +1 -1
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/users.py +15 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_models/__init__.py +34 -7
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/client.py +68 -76
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/compute.py +1 -1
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/paths.py +4 -1
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/users.py +17 -1
- sfapi_client-0.2.0/src/sfapi_client/exceptions.py +16 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/conftest.py +92 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_api.py +4 -5
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_api_async.py +4 -6
- sfapi_client-0.2.0/tests/test_client.py +23 -0
- sfapi_client-0.2.0/tests/test_client_async.py +28 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_compute.py +18 -19
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_compute_async.py +24 -23
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_groups_async.py +2 -5
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_jobs.py +10 -10
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_jobs_async.py +16 -16
- sfapi_client-0.2.0/tests/test_key.py +33 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_paths.py +22 -23
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_paths_async.py +28 -28
- sfapi_client-0.2.0/tests/test_projects.py +12 -0
- sfapi_client-0.2.0/tests/test_projects_async.py +17 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_resources.py +19 -19
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_resources_async.py +21 -19
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_users.py +28 -17
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_users_async.py +29 -13
- sfapi_client-0.0.9/docs/examples/check_current_and_past_jobs.ipynb +0 -926
- sfapi_client-0.0.9/src/sfapi_client/exceptions.py +0 -7
- sfapi_client-0.0.9/tests/test_client.py +0 -17
- sfapi_client-0.0.9/tests/test_client_async.py +0 -19
- sfapi_client-0.0.9/tests/test_projects.py +0 -15
- sfapi_client-0.0.9/tests/test_projects_async.py +0 -19
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/dependabot.yml +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/workflows/black.yml +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/workflows/mkdocs.yml +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/workflows/pypi.yml +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/workflows/pytest.yml +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/workflows/ruff.yml +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.gitignore +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.pre-commit-config.yaml +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/LEGAL +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/LICENSE +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/community/contributing.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/examples/getting_bearer_token.ipynb +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/gen_examples.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/gen_sync.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/javascript/apiselector.js +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/quickstart/index.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/SUMMARY.txt +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/client/index.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/compute/index.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/exceptions/index.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/groups/index.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/jobs/index.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/paths/index.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/projects/index.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/resources/index.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/users/index.md +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/mkdocs.yml +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/pyproject.toml +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/pytest.ini +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/scripts/run.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/__init__.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/__init__.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/groups.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/jobs.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/paths.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/projects.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_compute.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_jobs.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_models/job_status_response_sacct.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_models/job_status_response_squeue.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_models/resources.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_monitor.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/__init__.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/groups.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/jobs.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/projects.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_utils.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/client.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/compute.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/groups.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/jobs.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/paths.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/projects.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/resources.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/users.py +0 -0
- {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_groups.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: sfapi_client
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Python client for NERSC SF API
|
|
5
5
|
Author-email: Chris Harris <cjh@lbl.gov>, Nicholas Tyler <tylern@lbl.gov>
|
|
6
6
|
License-File: LICENSE
|
|
@@ -58,9 +58,9 @@ Compute(name='perlmutter', full_name='Perlmutter', description='System Degraded'
|
|
|
58
58
|
|
|
59
59
|
## Documentation
|
|
60
60
|
|
|
61
|
-
For the basics, head over to the [QuickStart](https://nersc.github.io/sfapi_client/quickstart/). We also have Jupyter
|
|
61
|
+
For the basics, head over to the [QuickStart](https://nersc.github.io/sfapi_client/quickstart/). We also have Jupyter Notebook [examples](https://nersc.github.io/sfapi_client/examples/).
|
|
62
62
|
|
|
63
|
-
More in depth developer documentation can be found in the [API reference](https://nersc.github.io/sfapi_client
|
|
63
|
+
More in depth developer documentation can be found in the [API reference](https://nersc.github.io/sfapi_client).
|
|
64
64
|
|
|
65
65
|
## Dependencies
|
|
66
66
|
|
|
@@ -71,7 +71,7 @@ The sfapi_client project relies on these libraries:
|
|
|
71
71
|
* `pydantic` - Data models.
|
|
72
72
|
* `tenacity` - Retry.
|
|
73
73
|
* `datamodel-code-generator` - Generating data models from the Open API specification.
|
|
74
|
-
* `unasync` - Generating synchronous interface from
|
|
74
|
+
* `unasync` - Generating synchronous interface from the async implementation.
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
## Installation
|
|
@@ -29,9 +29,9 @@ Compute(name='perlmutter', full_name='Perlmutter', description='System Degraded'
|
|
|
29
29
|
|
|
30
30
|
## Documentation
|
|
31
31
|
|
|
32
|
-
For the basics, head over to the [QuickStart](https://nersc.github.io/sfapi_client/quickstart/). We also have Jupyter
|
|
32
|
+
For the basics, head over to the [QuickStart](https://nersc.github.io/sfapi_client/quickstart/). We also have Jupyter Notebook [examples](https://nersc.github.io/sfapi_client/examples/).
|
|
33
33
|
|
|
34
|
-
More in depth developer documentation can be found in the [API reference](https://nersc.github.io/sfapi_client
|
|
34
|
+
More in depth developer documentation can be found in the [API reference](https://nersc.github.io/sfapi_client).
|
|
35
35
|
|
|
36
36
|
## Dependencies
|
|
37
37
|
|
|
@@ -42,7 +42,7 @@ The sfapi_client project relies on these libraries:
|
|
|
42
42
|
* `pydantic` - Data models.
|
|
43
43
|
* `tenacity` - Retry.
|
|
44
44
|
* `datamodel-code-generator` - Generating data models from the Open API specification.
|
|
45
|
-
* `unasync` - Generating synchronous interface from
|
|
45
|
+
* `unasync` - Generating synchronous interface from the async implementation.
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
## Installation
|