$npx skillfedfor your agent

batchgeneratorsv2

Batchgenerators but better

With conditionsPyPI Artificial IntelligenceReleased Jul 2026125.3K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — batchgeneratorsv2-0.3.5-py3-none-any.whl
v0.3.5 · released 2026-07-16 · Python >=3.9 · 3 runtime deps: torch, numpy, batchgenerators

Yes, with conditions. Install if you need sample-level, type-aware augmentation for medical imaging or computer vision and are comfortable with an early-stage library (Planning status). The low install friction, active maintenance, and permissive Apache license make it low-risk. However, verify that the currently implemented transforms cover your use case, since the package explicitly covers only a subset of the original batchgenerators.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.9 and torch installed.
  • GPU-based augmentation is not supported; CPU optimization is the design focus.
  • Low friction install with three core dependencies (torch, numpy, batchgenerators).

License · maintenance · safety

permissive license (permissive) — Apache 2.0 permissive license allows commercial and derivative use with attribution and modification notice requirements. No restrictions on redistribution or proprietary applications.

last release 2026-07-16 (29 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 125,259 downloads/mo, #11,828 on PyPI

Verify before relying

pip install batchgeneratorsv2

from batchgeneratorsv2.transforms import SomeTransform
import torch
import numpy as np

# Apply transforms at sample level
transform = SomeTransform()
augmented_sample = transform(sample)
  • Which specific transforms are currently implemented beyond the description's mention of a 'small subset'
  • Performance benchmarks comparing torch-based implementations to the original batchgenerators
  • API stability guarantees given the 'work in progress' status and Planning classifier
Same gist for agents: .md · .json

What it is and what it does

batchgeneratorsv2 is a rewrite of the batchgenerators framework for medical image analysis and deep learning pipelines. It provides data augmentation transforms that explicitly handle different data types—images, segmentation masks, pixel-wise regression targets, keypoints, and bounding boxes—with transforms applied at the sample level rather than batch level. The package prioritizes CPU performance and uses PyTorch implementations where possible, though it remains in early development with only a subset of the original transforms currently available.

The package is built for workflows that need reliable, type-aware augmentation for medical imaging and computer vision tasks. It depends on torch, numpy, and the original batchgenerators package, making it suitable for projects already using PyTorch. The explicit distinction between data types means you don't have to manually manage which transforms apply to which parts of your data.

Use it for

  • Augment medical imaging datasets for segmentation tasks while preserving label correspondence
  • Apply sample-level transforms in medical image analysis pipelines built with nnU-Net
  • Preprocess images, masks, and keypoints together with type-aware augmentation for detection workflows
  • Build CPU-optimized data loading pipelines for deep learning without GPU augmentation overhead

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Install if you need sample-level, type-aware augmentation for medical imaging or computer vision and are comfortable with an early-stage library (Planning status). The low install friction, active maintenance, and permissive Apache license make it low-risk. However, verify that the currently implemented transforms cover your use case, since the package explicitly covers only a subset of the original batchgenerators.

Install

batchgeneratorsv2 on PyPI

Before you install

Low friction install with three core dependencies (torch, numpy, batchgenerators). Active maintenance status with a release 29 days ago. Early development stage (Planning) means the API and feature set may still shift.

Requires Python >=3.9 and torch installed. GPU-based augmentation is not supported; CPU optimization is the design focus.

License in practice

Apache 2.0 permissive license allows commercial and derivative use with attribution and modification notice requirements. No restrictions on redistribution or proprietary applications.

Quickstart

pip install batchgeneratorsv2

from batchgeneratorsv2.transforms import SomeTransform
import torch
import numpy as np

# Apply transforms at sample level
transform = SomeTransform()
augmented_sample = transform(sample)

Verify before relying

  • Which specific transforms are currently implemented beyond the description's mention of a 'small subset'
  • Performance benchmarks comparing torch-based implementations to the original batchgenerators
  • API stability guarantees given the 'work in progress' status and Planning classifier

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
torchnumpybatchgenerators
MaintenanceActively maintained 29 days since the last release
First released
Downloads125,259 / month, #11,828 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 1 - PlanningIntended Audience :: DevelopersIntended Audience :: Healthcare IndustryIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: Image RecognitionTopic :: Scientific/Engineering :: Medical Science Apps.

Evidence: batchgeneratorsv2-0.3.5-py3-none-any.whl

Tags

Capabilities
data augmentation transformsmedical image augmentationbatch data generationsample-level transformsdeep learning preprocessingimage segmentation augmentationtorch-based augmentation
Topics
medical-imagingdata-augmentationpytorch
PyPI keywords
deep learningimage segmentationsemantic segmentationmedical image analysismedical image segmentationnnU-Netnnunet

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “data augmentation transforms”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also batchgenerators · torchio · ttach · torch-audiomentations · albumentations · imgaug · TotalSegmentator · torchxrayvision · augmax · monai