SDK and CLI for Dataloop platform
Project description
DTLPY – SDK and CLI for Dataloop.ai
📚 Platform Documentation | 📖 SDK Documentation | Developer docs
An open-source SDK and CLI toolkit to interact seamlessly with the Dataloop.ai platform, providing powerful data management, annotation capabilities, and workflow automation.
Table of Contents
Overview
DTLPY provides a robust Python SDK and a powerful CLI, enabling developers and data scientists to automate tasks, manage datasets, annotations, and streamline workflows within the Dataloop platform.
Installation
Install DTLPY directly from PyPI using pip:
pip install dtlpy
Alternatively, for the latest development version, install directly from GitHub:
pip install git+https://github.com/dataloop-ai/dtlpy.git
Usage
SDK Usage
Here's a basic example to get started with the DTLPY SDK:
import dtlpy as dl
# Authenticate
dl.login()
# Access a project
project = dl.projects.get(project_name='your-project-name')
# Access dataset
dataset = project.datasets.get(dataset_name='your-dataset-name')
CLI Usage
DTLPY also provides a convenient command-line interface:
dlp login
dlp projects ls
dlp datasets ls --project-name your-project-name
Python Version Support
DTLPY supports multiple Python versions as follows:
Python Version | 3.11 | 3.10 | 3.9 | 3.8 | 3.7 | 3.6 | 3.5 |
---|---|---|---|---|---|---|---|
dtlpy >= 1.99 | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
dtlpy 1.76–1.98 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
dtlpy >= 1.61 | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
dtlpy 1.50–1.60 | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ❌ |
dtlpy <= 1.49 | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
Development
To set up the development environment, clone the repository and install dependencies:
git clone https://github.com/dataloop-ai/dtlpy.git
cd dtlpy
pip install -r requirements.txt
Resources
- Dataloop Platform
- Full SDK Documentation
- Platform Documentation
- SDK Examples and Tutorials
- Developer docs
Contribution Guidelines
We encourage contributions! Please ensure:
- Clear and descriptive commit messages
- Code follows existing formatting and conventions
- Comprehensive tests for new features or bug fixes
- Updates to documentation if relevant
Create pull requests for review. All contributions will be reviewed carefully and integrated accordingly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file dtlpy-1.111.11-py3-none-any.whl
.
File metadata
- Download URL: dtlpy-1.111.11-py3-none-any.whl
- Upload date:
- Size: 585.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
242c18e0ccd1286960d7b19806ee7c35edefad571311ab52e199fe2bdc6af88b
|
|
MD5 |
d548de8f7168c5df5ab91e8ed4f53935
|
|
BLAKE2b-256 |
35127e82bfeb24449046321b3def14ce282b13d60ff8f6f53fc1581e4e7faa47
|