← all repositories
roboflow/roboflow-python

Roboflow’s Python SDK is client glue with a surprisingly lean mode

It wraps the Roboflow platform in Python so you can manage datasets, train models, and run inference without touching the web UI.

618 stars Python Computer VisionML Frameworks
roboflow-python
Not currently ranked — collecting fresh signals.
star history

What it does

roboflow-python is the official Python client for Roboflow’s computer-vision platform. It exposes the service’s workspace-project-version hierarchy as Python objects, letting you upload images and annotations, kick off training jobs, and run inference against hosted or self-hosted models. A slim variant, roboflow-slim, strips out heavy dependencies like OpenCV and NumPy for environments where a ~400 MB install is unwelcome.

The interesting bit

The library mirrors Roboflow’s URL structure—workspace, project, and version slugs match the web app exactly—so navigating the API feels like navigating the site. The split-package approach (full versus slim) is unusual for a platform SDK and shows some consideration for CI pipelines and embedded targets.

Key highlights

  • Supports object detection, classification, instance segmentation, and semantic segmentation projects.
  • Can deploy external model weights (e.g., YOLOv10) back into the Roboflow platform.
  • Includes a CLI for search-and-export operations without writing Python.
  • roboflow-slim shares the same codebase and version as the main package, but drops image processing, inference, and training dependencies to shrink the install footprint.
  • Active-learning helpers let you pipe predictions from one project into image uploads for another.

Caveats

  • roboflow-slim drops inference, training, and image processing to save space; you cannot have the small install and the full feature set.
  • The library is strictly a client for the Roboflow platform; every meaningful operation requires an account and API key.
  • The README contains visible typos—smart quotes in code snippets and a misspelled forum URL—so copy-paste with caution.

Verdict

Useful if you are already paying for Roboflow and want to automate uploads, exports, or training pipelines. Skip it if you are looking for a standalone, open-source computer vision library; this is a remote control, not the TV.

Frequently asked

What is roboflow/roboflow-python?
It wraps the Roboflow platform in Python so you can manage datasets, train models, and run inference without touching the web UI.
Is roboflow-python open source?
Yes — roboflow/roboflow-python is open source, released under the Apache-2.0 license.
What language is roboflow-python written in?
roboflow/roboflow-python is primarily written in Python.
How popular is roboflow-python?
roboflow/roboflow-python has 618 stars on GitHub.
Where can I find roboflow-python?
roboflow/roboflow-python is on GitHub at https://github.com/roboflow/roboflow-python.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.