Skip to main content

Roboflow Python Library

This is a helper library to load your Roboflow datasets into your python scripts and Jupyter notebooks.

Requirements

This package requires python >=3.6 and a (free) Roboflow account.

Installing

With PIP

pip install roboflow

With Anaconda

conda install roboflow

Setup

The roboflow package works in conjunction with your Roboflow account.

Simply select "Show Download Code" when exporting a dataset and you will receive a link that includes your API key. You can use the roboflow package to manage downloading the dataset in various formats.

import roboflow
roboflow.load("https://app.roboflow.ai/ds/####?key=####", "tfrecord")
# dataset is now downloaded and unzipped in your current directory

By default the folder is named

${dataset-name}.${version-number}-${version-name}.${format}

(For example, Chess Sample.v1-small-gray.coco).

The file hierarchy is three folders containing the train, valid, and test data you selected in the Roboflow upload flow (and the format you specified in roboflow.load above). There is also a README.roboflow.txt describing the preprocessing and augmentation steps and, optionally, a README.dataset.txt provided by the person who shared the dataset.

Example file layout

Benefits

This package currently provides two main benefits over downloading and loading your datasets manually.

  1. If you have previously loaded your dataset, it will automatically use the local copy rather than re-downloading.
  2. You can dynamically choose the export format at runtime rather than export-time.

Roadmap

We plan to include more features in the future to allow you (for example, to let you easily do inference on your trained models).

Metadata

Release files for roboflow 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for roboflow 0.0.1
File Size Uploaded Provenance Actions
roboflow-0.0.1.tar.gz 2.3 kB Without provenance Details for roboflow-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for roboflow 0.0.1
File Interpreter ABI Platform Actions
roboflow-0.0.1-py3-none-any.whl Python 3 none any Details for roboflow-0.0.1-py3-none-any.whl

Total release size: 8.7 kB

Release files / roboflow-0.0.1.tar.gz

Download URL roboflow-0.0.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
87cd6d6930327f1cfe94b243c36ac016f617e35e586b2fd3e47bed6bb566f553
BLAKE2b-256 checksum
How to use checksums
0dad14c77d85ff57b1ddb15b4cb2a9f39b715b65a7b517244dffe02fb3599fb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Release files / roboflow-0.0.1-py3-none-any.whl

Download URL roboflow-0.0.1-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71907dc5b9dbea8c94e4746978f5430e4fe0c2777e90ef88d2a43542a38dc89c
BLAKE2b-256 checksum
How to use checksums
5bb7dd879cf581949a119432082e966f7afd119da411e6287727d3f288c94026
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Security for roboflow 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page