scale-nucleus 0.1.17__tar.gz → 0.3.2__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.
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/LICENSE +0 -0
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/PKG-INFO +18 -2
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/README.md +13 -0
- scale-nucleus-0.3.2/nucleus/__init__.py +918 -0
- scale-nucleus-0.3.2/nucleus/annotation.py +607 -0
- scale-nucleus-0.3.2/nucleus/autocurate.py +35 -0
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/nucleus/constants.py +15 -4
- scale-nucleus-0.3.2/nucleus/data_transfer_object/__init__.py +0 -0
- scale-nucleus-0.3.2/nucleus/data_transfer_object/dataset_details.py +11 -0
- scale-nucleus-0.3.2/nucleus/data_transfer_object/dataset_info.py +28 -0
- scale-nucleus-0.3.2/nucleus/data_transfer_object/dataset_size.py +7 -0
- scale-nucleus-0.3.2/nucleus/data_transfer_object/dict_compatible_model.py +11 -0
- scale-nucleus-0.3.2/nucleus/dataset.py +1270 -0
- scale-nucleus-0.3.2/nucleus/dataset_item.py +301 -0
- scale-nucleus-0.3.2/nucleus/dataset_item_uploader.py +297 -0
- scale-nucleus-0.3.2/nucleus/deprecation_warning.py +32 -0
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/nucleus/errors.py +12 -1
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/nucleus/job.py +60 -2
- scale-nucleus-0.3.2/nucleus/logger.py +9 -0
- scale-nucleus-0.3.2/nucleus/model.py +161 -0
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/nucleus/model_run.py +53 -58
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/nucleus/payload_constructor.py +40 -16
- scale-nucleus-0.3.2/nucleus/prediction.py +401 -0
- scale-nucleus-0.3.2/nucleus/retry_strategy.py +3 -0
- scale-nucleus-0.3.2/nucleus/scene.py +426 -0
- scale-nucleus-0.3.2/nucleus/slice.py +269 -0
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/nucleus/upload_response.py +20 -9
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/nucleus/url_utils.py +2 -0
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/nucleus/utils.py +91 -37
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/pyproject.toml +10 -1
- {scale-nucleus-0.1.17 → scale-nucleus-0.3.2}/setup.py +8 -5
- scale-nucleus-0.1.17/nucleus/__init__.py +0 -1281
- scale-nucleus-0.1.17/nucleus/annotation.py +0 -329
- scale-nucleus-0.1.17/nucleus/dataset.py +0 -439
- scale-nucleus-0.1.17/nucleus/dataset_item.py +0 -195
- scale-nucleus-0.1.17/nucleus/model.py +0 -83
- scale-nucleus-0.1.17/nucleus/prediction.py +0 -206
- scale-nucleus-0.1.17/nucleus/scene.py +0 -241
- scale-nucleus-0.1.17/nucleus/slice.py +0 -170
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: scale-nucleus
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.3.2
|
4
4
|
Summary: The official Python client library for Nucleus, the Data Platform for AI
|
5
5
|
Home-page: https://scale.com/nucleus
|
6
6
|
License: MIT
|
@@ -12,9 +12,12 @@ Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.7
|
13
13
|
Classifier: Programming Language :: Python :: 3.8
|
14
14
|
Classifier: Programming Language :: Python :: 3.9
|
15
|
+
Requires-Dist: Sphinx (>=4.2.0,<5.0.0)
|
15
16
|
Requires-Dist: aiohttp (>=3.7.4,<4.0.0)
|
16
|
-
Requires-Dist: dataclasses (>=0.7,<0.8);
|
17
|
+
Requires-Dist: dataclasses (>=0.7,<0.8); python_full_version >= "3.6.1" and python_version < "3.7"
|
18
|
+
Requires-Dist: isort (>=5.10.1,<6.0.0)
|
17
19
|
Requires-Dist: nest-asyncio (>=1.5.1,<2.0.0)
|
20
|
+
Requires-Dist: pydantic (>=1.8.2,<2.0.0)
|
18
21
|
Requires-Dist: requests (>=2.23.0,<3.0.0)
|
19
22
|
Requires-Dist: tqdm (>=4.41.0,<5.0.0)
|
20
23
|
Project-URL: Documentation, https://dashboard.scale.com/nucleus/docs/api
|
@@ -70,6 +73,8 @@ Please install the pre-commit hooks by running the following command:
|
|
70
73
|
poetry run pre-commit install
|
71
74
|
```
|
72
75
|
|
76
|
+
When releasing a new version please add release notes to the changelog in `CHANGELOG.md`.
|
77
|
+
|
73
78
|
**Best practices for testing:**
|
74
79
|
(1). Please run pytest from the root directory of the repo, i.e.
|
75
80
|
|
@@ -83,3 +88,14 @@ poetry run pytest tests/test_dataset.py
|
|
83
88
|
poetry run pytest -m "not integration"
|
84
89
|
```
|
85
90
|
|
91
|
+
**Updating documentation:**
|
92
|
+
We use [Sphinx](https://www.sphinx-doc.org/en/master/) to autogenerate our API Reference from docstrings.
|
93
|
+
|
94
|
+
To test your local docstring changes, run the following commands from the repository's root directory:
|
95
|
+
```
|
96
|
+
poetry shell
|
97
|
+
cd docs
|
98
|
+
sphinx-autobuild . ./_build/html --watch ../nucleus
|
99
|
+
```
|
100
|
+
`sphinx-autobuild` will spin up a server on localhost (port 8000 by default) that will watch for and automatically rebuild a version of the API reference based on your local docstring changes.
|
101
|
+
|
@@ -47,6 +47,8 @@ Please install the pre-commit hooks by running the following command:
|
|
47
47
|
poetry run pre-commit install
|
48
48
|
```
|
49
49
|
|
50
|
+
When releasing a new version please add release notes to the changelog in `CHANGELOG.md`.
|
51
|
+
|
50
52
|
**Best practices for testing:**
|
51
53
|
(1). Please run pytest from the root directory of the repo, i.e.
|
52
54
|
|
@@ -59,3 +61,14 @@ poetry run pytest tests/test_dataset.py
|
|
59
61
|
```
|
60
62
|
poetry run pytest -m "not integration"
|
61
63
|
```
|
64
|
+
|
65
|
+
**Updating documentation:**
|
66
|
+
We use [Sphinx](https://www.sphinx-doc.org/en/master/) to autogenerate our API Reference from docstrings.
|
67
|
+
|
68
|
+
To test your local docstring changes, run the following commands from the repository's root directory:
|
69
|
+
```
|
70
|
+
poetry shell
|
71
|
+
cd docs
|
72
|
+
sphinx-autobuild . ./_build/html --watch ../nucleus
|
73
|
+
```
|
74
|
+
`sphinx-autobuild` will spin up a server on localhost (port 8000 by default) that will watch for and automatically rebuild a version of the API reference based on your local docstring changes.
|