{"id":26739434,"url":"https://github.com/labelbox/labelbox-python","last_synced_at":"2026-01-22T12:11:24.880Z","repository":{"id":37484054,"uuid":"147428821","full_name":"Labelbox/labelbox-python","owner":"Labelbox","description":"The data factory for next gen AI","archived":false,"fork":false,"pushed_at":"2025-04-11T18:21:59.000Z","size":164964,"stargazers_count":135,"open_issues_count":4,"forks_count":65,"subscribers_count":16,"default_branch":"develop","last_synced_at":"2025-04-11T19:38:51.793Z","etag":null,"topics":["ai","annotation","ml","mlops","python","sdk"],"latest_commit_sha":null,"homepage":"https://labelbox.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Labelbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-04T22:43:50.000Z","updated_at":"2025-04-05T14:38:26.000Z","dependencies_parsed_at":"2024-02-05T14:29:25.546Z","dependency_job_id":"97129f20-1099-4fd7-a076-8068d4277e01","html_url":"https://github.com/Labelbox/labelbox-python","commit_stats":null,"previous_names":[],"tags_count":171,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labelbox%2Flabelbox-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labelbox%2Flabelbox-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labelbox%2Flabelbox-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labelbox%2Flabelbox-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Labelbox","download_url":"https://codeload.github.com/Labelbox/labelbox-python/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248489904,"owners_count":21112659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","annotation","ml","mlops","python","sdk"],"created_at":"2025-03-28T04:29:03.324Z","updated_at":"2026-01-22T12:11:24.820Z","avatar_url":"https://github.com/Labelbox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" width=\"100%\"\u003e\n\u003cimg src=\"./docs/logo-full-black.svg\"/\u003e\n\u003c/p\u003e\n\n[![Release Notes](https://img.shields.io/github/release/labelbox/labelbox-python)](https://github.com/Labelbox/labelbox-python/releases)\n[![CI)](https://github.com/Labelbox/labelbox-python/actions/workflows/python-package-develop.yml/badge.svg?branch=develop)](https://github.com/Labelbox/labelbox-python/actions/workflows/python-package-develop.yml)\n[![Downloads](https://pepy.tech/badge/labelbox)](https://pepy.tech/project/labelbox)\n[![Dependency Status](https://img.shields.io/librariesio/github/labelbox/labelbox-python)](https://libraries.io/github/labelbox/labelbox-python)\n[![Open Issues](https://img.shields.io/github/issues-raw/labelbox/labelbox-python)](https://github.com/labelbox/labelbox-python/issues)\n[![Changelog](https://img.shields.io/badge/Changelog-Recent%20Updates-blue.svg)](https://docs.labelbox.com/changelog)\n[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Twitter Follow](https://img.shields.io/twitter/follow/labelbox.svg?style=social\u0026label=Follow)](https://twitter.com/labelbox)\n[![LinkedIn Follow](https://img.shields.io/badge/Follow-LinkedIn-blue.svg?style=flat\u0026logo=linkedin)](https://www.linkedin.com/company/labelbox/)\n[![Supported Python Versions](https://img.shields.io/pypi/pyversions/labelbox)](https://img.shields.io/pypi/pyversions/labelbox)\n[![SLSA 3](https://slsa.dev/images/gh-badge-level3.svg)](https://slsa.dev)\n\n# Labelbox\nWith Labelbox, enterprises can easily curate and annotate data, generate high-quality human feedback data for computer vision and language models, evaluate and improve model performance, and automate tasks by seamlessly combining AI and human-centric workflows. The academic and research community also relies on Labelbox for cutting-edge AI research and experimentation.\n\nVisit [Labelbox](http://labelbox.com/) for more information.\n\n## Table of Contents\n- [Quick Start](#quick-start)\n- [Contribution Guidelines](#contribution-guidelines)\n- [Develop with AI Assistance](#develop-with-ai-assistance)\n- [Documentation](#documentation)\n- [Jupyter Notebooks](#jupyter-notebooks)\n\n## Quick Start\n   \n### Sign Up\nIf you haven't already, create a free account at [Labelbox](http://app.labelbox.com/).\n\n### Generate an API key\nLog into Labelbox and navigate to [Account \u003e API Keys](https://docs.labelbox.com/docs/create-an-api-key) to generate an API key. \n\n### Install\n\nTo install the SDK, run the following command.\n\n```bash\npip install labelbox\n```\n\nIf you'd like to install the SDK with enhanced functionality, which additional optional capabilities surrounding data processing, run the following command.\n\n```bash\npip install \"labelbox[data]\"\n```\n\n**Please note that if you prefer to build and install your own version of the SDK, it is important to be aware that only tagged commits have been thoroughly tested. Building from the head of develop branch carries some level of risk.**\n\n### Validate Installation and API Key\n\nAfter installing the SDK and getting an API Key, it's time to validate them both. \n\n```python\nimport labelbox as lb\n\nclient = lb.Client(API_KEY) # API_KEY = API Key generated from labelbox.com\ndataset = client.create_dataset(name=\"Test Dataset\")\ndata_rows = [{\"row_data\": \"My First Data Row\", \"global_key\": \"first-data-row\"}]\ntask = dataset.create_data_rows(data_rows)\ntask.wait_till_done()\n```\n\nYou should be set! Running the snippet above should create a dataset called `Test Dataset` with its content being `My First Data Row`. You can log into [Labelbox](http://labelbox.com/) to verify this. If you have any issues please file a Github Issue or contact [Labelbox Support](https://docs.labelbox.com/docs/contacting-customer-support) directly. For more advanced examples and information on the SDK, see [Documentation](#documentation) below.\n\n## Contribution Guidelines\nWe encourage anyone to contribute to this repository to help improve it. Please refer to [Contributing Guide](CONTRIBUTING.md) for detailed information on how to contribute. This guide also includes instructions for how to build and run the SDK locally.\n\n## Documentation\nThe SDK is well-documented to help developers get started quickly and use the SDK effectively. Here are links to that documentation:\n\n- [Labelbox Official Documentation](https://docs.labelbox.com/docs/overview)\n- [Jupyter Notebook Examples](https://github.com/Labelbox/labelbox-python/tree/develop/examples)\n- [Python SDK Reference](https://labelbox-python.readthedocs.io/en/latest/)\n\n## Jupyter Notebooks\nWe have samples in the `examples` directory to help you get started with the SDK.\n\nMake sure your notebook will use your source code:\n1. `ipython profile create`\n2. `ipython locate` - will show where the config file is. This is the config file used by the Jupyter server, since it runs via ipython\n3. Open the file (this should be ipython_config.py and it is usually located in ~/.ipython/profile_default) and add the following line of code: \n```\nc.InteractiveShellApp.exec_lines = [\n  'import sys; sys.path.insert(0, \"\u003clabelbox-python root folder\u003e\")'\n]\n```\n4. Go to the root of your project and run `jupyter notebook` to start the server.\n\n## Provenance\n\nTo enhance the software supply chain security of Labelbox's users, as of v.3.72.2, every Labelbox SDK release contains a [SLSA Level 3 Provenance](https://github.com/slsa-framework/slsa-github-generator/blob/main/internal/builders/generic/README.md) document.  \nThis document provides detailed information about the build process, including the repository and branch from which the package was generated.\n\nBy using the [SLSA framework's official verifier](https://github.com/slsa-framework/slsa-verifier), you can verify the provenance document to ensure that the package is from a trusted source. Verifying the provenance helps confirm that the package has not been tampered with and was built in a secure environment.\n\nExample of usage for the v.3.72.2 release wheel:\n\n```\nexport VERSION=3.72.2 # sdk release version \nexport TAG=v.3.72.2 # github tag\npip download --no-deps labelbox==${VERSION}\n\ncurl --location -O \\\n  https://github.com/Labelbox/labelbox-python/releases/download/${TAG}/multiple.intoto.jsonl\n\nslsa-verifier verify-artifact --source-branch develop --builder-id 'https://github.com/slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@refs/tags/v2.0.0' --source-uri \"git+https://github.com/Labelbox/labelbox-python\" --provenance-path multiple.intoto.jsonl ./labelbox-${VERSION}-py3-none-any.whl\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabelbox%2Flabelbox-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabelbox%2Flabelbox-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabelbox%2Flabelbox-python/lists"}