Latest Version: v2.0.0 - Major refactoring with improved architecture, enhanced payload structure, and new features. See details below.
Version 2.0.0 (November 2025)
Architecture & Infrastructure
Modular Architecture
Modular Architecture
Complete restructuring from monolithic 2000+ line files to organized, maintainable modules:New Structure:
labellerr/core/annotation_templates/- Template managementlabellerr/core/autolabel/- Model training featureslabellerr/core/connectors/- S3 and GCS connectionslabellerr/core/datasets/- Dataset CRUD operationslabellerr/core/exports/- Export handling with pollinglabellerr/core/projects/- Project managementlabellerr/core/schemas/- Pydantic validation modelslabellerr/core/users/- User management
- Separation of concerns with single responsibility per module
- Factory pattern for automatic type-specific object instantiation
- Easier maintenance and extensibility
- Better code discoverability
Enhanced Payload Structure with Type Safety
Enhanced Payload Structure with Type Safety
Major Improvement: All function parameters now use Pydantic models for validation instead of plain dictionaries.Old Approach:New Approach:Benefits:
- Automatic validation before API calls
- IDE autocomplete and type checking
- Clear, self-documenting schema fields
- Early error detection
- Organized schemas by domain (autolabel, connectors, datasets, exports, files, projects, users)
Improved Project Creation Pipeline
Improved Project Creation Pipeline
New Workflow: Project creation now follows an explicit, modular pipeline for better control and reusability.Old Approach:New Approach:Why This Change?
- Explicit Dependencies: Datasets and templates validated before project creation
- Better Error Handling: Issues caught earlier in the pipeline
- Reusability: Same dataset can be attached to multiple projects
- Clearer Flow: Each step is explicit, testable, and maintainable
- Type Safety: Pydantic validation at each step
New Features
Cloud Export Support (AWS S3)
Cloud Export Support (AWS S3)
Export annotations directly to cloud storage with automatic status polling:Features:
- Direct export to AWS S3
- Automatic polling mechanism
- Multiple export formats (JSON, CSV, COCO JSON)
- Status filtering support
Autolabel Model Training
Autolabel Model Training
Train custom models on your annotated data with configurable hyperparameters:Features:
- Train YOLOv11 and other models
- Configurable hyperparameters
- Job status tracking
- List all training jobs
Enhanced Dataset Operations
Enhanced Dataset Operations
Split Dataset Creation:Additional Features:
create_dataset_from_local()- For local file/folder uploadscreate_dataset_from_connection()- For cloud storage connections
- New
delete_dataset()function - Improved sync operations for AWS S3 and GCS
- Better status tracking with polling
- Type-specific dataset classes (Image, Video, Audio, Document)
Annotation Template Management
Annotation Template Management
Dedicated module for structured annotation template creation:Features:
- Type-safe question definitions
- Reusable templates across projects
- Multiple question types (BoundingBox, polygon, radio, etc.)
- Automatic validation
Enhanced Connection Management
Enhanced Connection Management
Dedicated Connection Classes:
LabellerrS3Connection- AWS S3 operationsLabellerrGCSConnection- Google Cloud Storage operations
- Connection testing before creation
- Support for import and export types
- Better error handling
- Type-safe parameters
Breaking Changes
Project Creation (HIGH IMPACT)
Project Creation (HIGH IMPACT)
Old approach:New approach:Why? Explicit dependencies, better error handling, and dataset reusability.
Dataset Creation (MEDIUM IMPACT)
Dataset Creation (MEDIUM IMPACT)
Old:New:
Import Changes (LOW IMPACT)
Import Changes (LOW IMPACT)
Update imports from root to
labellerr.core.*:Additional Improvements
- Connection Pooling: Improved HTTP connection management for better performance
- Error Handling: Enhanced error messages with automatic retry logic
- Polling Mechanism: Smart status tracking for long-running operations (exports, datasets)
- Testing Infrastructure: Comprehensive unit and integration test coverage
- Documentation: Improved code examples and API documentation
- Type-Specific Classes: Specialized methods for Image, Video, Audio, and Document types
- Performance: Optimized request handling and data transfer
Migration Notes
- Update SDK:
pip install --upgrade labellerr - Update imports: Change to new
labellerr.core.*modules - Refactor project creation: Follow new 3-step process (dataset → template → project)
- Use Pydantic schemas: Replace dict payloads with schema models
- Test thoroughly: Validate all SDK operations in dev/staging before production
Version 1.0.1 (September 2025)
Improvements
- New project creation flow with updated payload structure
- Better validation for
annotation_guideandannotation_template_id "created_by"email now included automatically during project creation- Modularized SDK structure for easier maintenance
- Automated release pipeline added via
release_manager - Enhanced export status handling (polling + download URL fetching)
Bug Fixes
- Fixed
check_export_statusinconsistencies - Improved error handling for invalid project creation payloads
- Corrected edge-case failures in export polling
- Minor fixes in annotation guide validation logic
Branch Strategy
- main → production-ready releases
- develop → pre-release testing versions
Version 1.0.0 (December 2024)
Initial Release
First public release of the Labellerr Python SDK.Core Features
- Client Initialization: Authenticate using
LabellerrClient - Project Management: Create and configure annotation projects
- Dataset Operations: Manage datasets across image, video, audio, text, and documents
- Pre-annotations: Upload annotations (sync & async)
- Export Functionality: Export annotations in
json,coco_json,csv,png - Retrieval APIs: Fetch all projects and datasets
- Error Handling:
LabellerrErrorfor managed exception handling
Core Modules
LabellerrClient— main API client- Project operations (
initiate_create_project) - Pre-annotation upload methods
- Local export utilities
- Dataset retrieval helpers
Support & Resources
Documentation
Comprehensive SDK guides and examples
GitHub
View source code and report issues
Support
Get help from our team
Cookbooks
End-to-end examples and tutorials
Semantic Versioning: We follow SemVer. Breaking changes increment the major version (e.g., 1.x → 2.0).

