labelbox-7.5.0
7.5.0
7.4.0
7.3.0
7.2.0
7.1.2
7.1.1
7.1.0
7.0.0
6.9.0
6.8.0
6.7.0
6.6.0
6.5.0
6.4.0
6.3.0
6.2.0
6.10.0
6.1.0
6.0.1
6.0.0
5.2.1
5.2.0
5.1.0
5.0.0
4.0.0
3.9.0
3.8.0
3.78.2
3.78.1
3.78.0
3.77.1
3.77.0
3.76.0
3.75.1
3.75.0
3.74.0
3.73.0
3.72.2
3.72.1
3.72.0
3.71.0
3.70.0
3.7.0
3.69.1
3.69.0
3.68.0
3.67.0
3.66.0
3.65.0
3.63.0
3.62.0
3.61.2
3.61.1
3.61.0
3.60.0
3.6.1
3.6.0
3.59.0
3.58.1
3.58.0
3.57.0
3.56.0
3.55.0
3.54.1
3.54.0
3.53.0
3.52.0
3.51.0
3.50.0
3.5.0
3.49.1
3.49.0
3.48.0
3.47.1
3.47.0
3.46.0
3.45.0
3.44.0
3.43.0
3.42.0
3.41.0
3.40.1
3.40.0
3.4.1
3.4.0
3.39.0
3.38.0
3.37.0
3.36.1
3.36.0
3.35.0
3.34.0
3.33.1
3.33.0
3.32.0
3.31.0
3.30.1
3.30.0
3.3.0
3.29.0
3.28.0
3.27.2
3.27.1
3.27.0
3.26.2
3.26.1
3.26.0
3.25.3
3.25.2
3.25.1
3.25.0
3.24.1
3.24.0
3.23.3
3.23.2
3.23.1
3.22.1
3.22.0
3.21.0
3.20.1
3.20.0
3.2.1
3.2.0
3.19.1
3.19.0
3.18.0
3.17.2
3.17.1
3.17.0
3.16.0
3.15.0
3.14.0
3.13.1
3.13.0
3.12.0
3.11.1
3.11.0
3.10.0
3.1.0
3.0.1
3.0.0rc3
3.0.0rc2
3.0.0rc1
3.0.0rc0
3.0.0
2.7b1
2.7b0
2.7.0
2.6b2
2.6b1
2.6.0
2.5b0
2.5.6
2.5.5
2.5.4
2.5.3
2.5.2
2.5.1
2.4.9
2.4.8
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.11
2.4.10
2.4.1
2.4
2.3
2.2
2.1
2.0.1
1.0.2
1.0.1
1.0.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5.dev1
0.0.5.dev0
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
7.5.0
7.4.0
7.3.0
7.2.0
7.1.2
7.1.1
7.1.0
7.0.0
6.9.0
6.8.0
6.7.0
6.6.0
6.5.0
6.4.0
6.3.0
6.2.0
6.10.0
6.1.0
6.0.1
6.0.0
5.2.1
5.2.0
5.1.0
5.0.0
4.0.0
3.9.0
3.8.0
3.78.2
3.78.1
3.78.0
3.77.1
3.77.0
3.76.0
3.75.1
3.75.0
3.74.0
3.73.0
3.72.2
3.72.1
3.72.0
3.71.0
3.70.0
3.7.0
3.69.1
3.69.0
3.68.0
3.67.0
3.66.0
3.65.0
3.63.0
3.62.0
3.61.2
3.61.1
3.61.0
3.60.0
3.6.1
3.6.0
3.59.0
3.58.1
3.58.0
3.57.0
3.56.0
3.55.0
3.54.1
3.54.0
3.53.0
3.52.0
3.51.0
3.50.0
3.5.0
3.49.1
3.49.0
3.48.0
3.47.1
3.47.0
3.46.0
3.45.0
3.44.0
3.43.0
3.42.0
3.41.0
3.40.1
3.40.0
3.4.1
3.4.0
3.39.0
3.38.0
3.37.0
3.36.1
3.36.0
3.35.0
3.34.0
3.33.1
3.33.0
3.32.0
3.31.0
3.30.1
3.30.0
3.3.0
3.29.0
3.28.0
3.27.2
3.27.1
3.27.0
3.26.2
3.26.1
3.26.0
3.25.3
3.25.2
3.25.1
3.25.0
3.24.1
3.24.0
3.23.3
3.23.2
3.23.1
3.22.1
3.22.0
3.21.0
3.20.1
3.20.0
3.2.1
3.2.0
3.19.1
3.19.0
3.18.0
3.17.2
3.17.1
3.17.0
3.16.0
3.15.0
3.14.0
3.13.1
3.13.0
3.12.0
3.11.1
3.11.0
3.10.0
3.1.0
3.0.1
3.0.0rc3
3.0.0rc2
3.0.0rc1
3.0.0rc0
3.0.0
2.7b1
2.7b0
2.7.0
2.6b2
2.6b1
2.6.0
2.5b0
2.5.6
2.5.5
2.5.4
2.5.3
2.5.2
2.5.1
2.4.9
2.4.8
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.11
2.4.10
2.4.1
2.4
2.3
2.2
2.1
2.0.1
1.0.2
1.0.1
1.0.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5.dev1
0.0.5.dev0
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
توضیحات
Labelbox Python API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | labelbox-7.5.0 |
| نام | labelbox |
| نسخه کتابخانه | 7.5.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Labelbox <engineering@labelbox.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/labelbox/ |
| مجوز | - |
# Labelbox
Core mono-module for Labelbox's Python SDK.
## Table of Contents
- [Setup](#setup)
- [Repository Organization](#repository-organization)
- [Testing](#testing)
## Setup
```bash
rye sync --all-features # to install labelbox[data] dependencies
```
## Repository Organization
The SDK source (excluding tests and support tools) is organized into the
following packages/modules:
* `data/` package contains code that maps annotations (labels or pre-labels) to
Python objects, as well as serialization and deserialization tools for converting
between NDJson and Annotation Types.
* `orm/` package contains code that supports the general mapping of Labelbox
data to Python objects. This includes base classes, attribute (field and
relationship) classes, generic GraphQL queries etc.
* `schema/` package contains definitions of classes which represent data type
(e.g. Project, Label etc.). It relies on `orm/` classes for easy and succinct
object definitions. It also contains custom functionalities and custom GraphQL
templates where necessary.
* `client.py` contains the `Client` class that's the client-side stub for
communicating with Labelbox servers.
* `exceptions.py` contains declarations for all Labelbox errors.
* `pagination.py` contains support for paginated relationship and collection
fetching.
* `utils.py` contains utility functions.
## Testing
### Unit Testing
```bash
rye run unit
```
### Integration Testing
```bash
LABELBOX_TEST_API_KEY="YOUR_API_TEST_KEY" LABELBOX_TEST_ENVIRON="prod" rye run integration
```
For more info on how to get a `LABELBOX_TEST_API_KEY` [Labelbox API key docs](https://labelbox.helpdocs.io/docs/api/getting-started).
**Integration tests by default will run against your account that you provide an API Key from and modify its data. If you want to run integration tests, without it impacting your existing account, create an additional account using a secondary e-mail on [Labelbox](https://labelbox.com). Free accounts are sufficent for integration testing purposes.**
You can also use a `.env` file if you prefer instead of needing to type out the environmental overrides every single time you want to run commands. Please add a `--env-file` parameter to the test command (EG `rye --env-file=.env run integration`).
### (Optional) Data Testing
For testing the impact of the extra installs included with `labelbox[data]`, run the following:
```bash
LABELBOX_TEST_API_KEY="YOUR_API_TEST_KEY" LABELBOX_TEST_ENVIRON="prod" rye run data
```
By default `rye sync` does not install the extra packages needed in `labelbox[data]`. You'll need to run `rye sync --all-features`. Do not checkin `requirements.lock` or `requirements-dev.lock` after doing this.
### Linting / Formatting
Before making a commit, to automatically adhere to our formatting standards, it is recommended to install and activate [pre-commit](https://pre-commit.com/)
```shell
pip install pre-commit
pre-commit install
```
After the above, running `git commit ...` will attempt to fix formatting,
and make necessary changes to files. You will then need to stage those files again.
You may also manually format your code by running the following:
```bash
rye run lint
```
### Documentation
To generate documentation for all modules (`ReadTheDocs`), run the following command.
```bash
rye run docs
```
نیازمندی
| مقدار | نام |
|---|---|
| - | geojson>=3.1.0 |
| - | google-api-core>=1.22.1 |
| - | lbox-clients==1.1.2 |
| - | pydantic>=2.0 |
| - | python-dateutil<2.10.0,>=2.8.2 |
| - | pyyaml>=6.0 |
| - | requests>=2.22.0 |
| - | strenum>=0.4.15 |
| - | tqdm>=4.66.2 |
| xtr | lbox-alignerr>=0.1.0; |
| xtr | imagesize>=1.4.1; |
| xtr | numpy>=1.25.0; |
| xtr | opencv-python-headless>=4.9.0.80; |
| xtr | pillow>=10.2.0; |
| xtr | pygeotile>=1.0.6; |
| xtr | pyproj>=3.5.0; |
| xtr | shapely>=2.0.3; |
| xtr | typeguard>=4.1.5; |
| xtr | typing-extensions>=4.10.0; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| <3.14,>=3.9 | Python |
نحوه نصب
نصب پکیج whl labelbox-7.5.0:
pip install labelbox-7.5.0.whl
نصب پکیج tar.gz labelbox-7.5.0:
pip install labelbox-7.5.0.tar.gz