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.
Files changed (96) hide show
  1. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/PKG-INFO +4 -4
  2. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/README.md +3 -3
  3. sfapi_client-0.2.0/docs/examples/check_current_and_past_jobs.ipynb +927 -0
  4. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/examples/run_job_and_check_status.ipynb +5 -7
  5. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/index.md +2 -2
  6. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/requirements-dev.txt +1 -0
  7. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/client.py +65 -74
  8. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/compute.py +1 -1
  9. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/users.py +15 -0
  10. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_models/__init__.py +34 -7
  11. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/client.py +68 -76
  12. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/compute.py +1 -1
  13. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/paths.py +4 -1
  14. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/users.py +17 -1
  15. sfapi_client-0.2.0/src/sfapi_client/exceptions.py +16 -0
  16. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/conftest.py +92 -0
  17. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_api.py +4 -5
  18. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_api_async.py +4 -6
  19. sfapi_client-0.2.0/tests/test_client.py +23 -0
  20. sfapi_client-0.2.0/tests/test_client_async.py +28 -0
  21. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_compute.py +18 -19
  22. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_compute_async.py +24 -23
  23. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_groups_async.py +2 -5
  24. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_jobs.py +10 -10
  25. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_jobs_async.py +16 -16
  26. sfapi_client-0.2.0/tests/test_key.py +33 -0
  27. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_paths.py +22 -23
  28. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_paths_async.py +28 -28
  29. sfapi_client-0.2.0/tests/test_projects.py +12 -0
  30. sfapi_client-0.2.0/tests/test_projects_async.py +17 -0
  31. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_resources.py +19 -19
  32. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_resources_async.py +21 -19
  33. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_users.py +28 -17
  34. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/tests/test_users_async.py +29 -13
  35. sfapi_client-0.0.9/docs/examples/check_current_and_past_jobs.ipynb +0 -926
  36. sfapi_client-0.0.9/src/sfapi_client/exceptions.py +0 -7
  37. sfapi_client-0.0.9/tests/test_client.py +0 -17
  38. sfapi_client-0.0.9/tests/test_client_async.py +0 -19
  39. sfapi_client-0.0.9/tests/test_projects.py +0 -15
  40. sfapi_client-0.0.9/tests/test_projects_async.py +0 -19
  41. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/dependabot.yml +0 -0
  42. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/workflows/black.yml +0 -0
  43. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/workflows/mkdocs.yml +0 -0
  44. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/workflows/pypi.yml +0 -0
  45. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/workflows/pytest.yml +0 -0
  46. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.github/workflows/ruff.yml +0 -0
  47. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.gitignore +0 -0
  48. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/.pre-commit-config.yaml +0 -0
  49. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/LEGAL +0 -0
  50. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/LICENSE +0 -0
  51. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/community/contributing.md +0 -0
  52. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/examples/getting_bearer_token.ipynb +0 -0
  53. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/gen_examples.py +0 -0
  54. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/gen_sync.py +0 -0
  55. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/javascript/apiselector.js +0 -0
  56. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/quickstart/index.md +0 -0
  57. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/SUMMARY.txt +0 -0
  58. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/client/index.md +0 -0
  59. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/compute/index.md +0 -0
  60. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/exceptions/index.md +0 -0
  61. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/groups/index.md +0 -0
  62. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/jobs/index.md +0 -0
  63. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/paths/index.md +0 -0
  64. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/projects/index.md +0 -0
  65. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/resources/index.md +0 -0
  66. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/docs/reference/async/users/index.md +0 -0
  67. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/mkdocs.yml +0 -0
  68. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/pyproject.toml +0 -0
  69. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/pytest.ini +0 -0
  70. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/scripts/run.py +0 -0
  71. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/__init__.py +0 -0
  72. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/__init__.py +0 -0
  73. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/groups.py +0 -0
  74. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/jobs.py +0 -0
  75. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/paths.py +0 -0
  76. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_async/projects.py +0 -0
  77. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_compute.py +0 -0
  78. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_jobs.py +0 -0
  79. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_models/job_status_response_sacct.py +0 -0
  80. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_models/job_status_response_squeue.py +0 -0
  81. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_models/resources.py +0 -0
  82. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_monitor.py +0 -0
  83. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/__init__.py +0 -0
  84. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/groups.py +0 -0
  85. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/jobs.py +0 -0
  86. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_sync/projects.py +0 -0
  87. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/_utils.py +0 -0
  88. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/client.py +0 -0
  89. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/compute.py +0 -0
  90. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/groups.py +0 -0
  91. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/jobs.py +0 -0
  92. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/paths.py +0 -0
  93. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/projects.py +0 -0
  94. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/resources.py +0 -0
  95. {sfapi_client-0.0.9 → sfapi_client-0.2.0}/src/sfapi_client/users.py +0 -0
  96. {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.9
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 Nodebook [examples](https://nersc.github.io/sfapi_client/examples/).
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/reference/async/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 asyn implementation.
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 Nodebook [examples](https://nersc.github.io/sfapi_client/examples/).
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/reference/async/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 asyn implementation.
45
+ * `unasync` - Generating synchronous interface from the async implementation.
46
46
 
47
47
 
48
48
  ## Installation