Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

wip: partial fix for D104 docstring lint

Keshav Singhb872c7ef8c95
diff --git a/kornia/__init__.py b/kornia/__init__.py
index 736fe9de5..3e94ae341 100644
--- a/kornia/__init__.py
+++ b/kornia/__init__.py
@@ -15,6 +15,13 @@
# limitations under the License.
#
+"""
+Kornia β€” Differentiable computer vision and image processing for PyTorch.
+
+This package exposes core modules (filters, geometry, etc.) and provides
+convenience imports at the top level.
+"""
+
# NOTE: kornia filters and geometry must go first since are the core of the library
# and by changing the import order you might get into a circular dependencies issue.
from . import filters
@@ -41,6 +48,8 @@ from . import (
x,
)
+
+
# Multi-framework support using ivy
from .transpiler import to_jax, to_numpy, to_tensorflow
diff --git a/kornia/augmentation/__init__.py b/kornia/augmentation/__init__.py
index 4c899e17f..d97858e4b 100644
--- a/kornia/augmentation/__init__.py
+++ b/kornia/augmentation/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Augmentation β€” Differentiable image, video, and 3D data augmentation for PyTorch.
+
+This subpackage provides a wide range of augmentation modules for computer vision tasks.
+"""
+
# Lazy loading auto module
from kornia.augmentation import auto, container
from kornia.augmentation._2d import (
diff --git a/kornia/augmentation/auto/__init__.py b/kornia/augmentation/auto/__init__.py
index cb12a413e..02c32c064 100644
--- a/kornia/augmentation/auto/__init__.py
+++ b/kornia/augmentation/auto/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Augmentation Auto β€” Automated augmentation policies for computer vision.
+
+This subpackage provides AutoAugment and related policy-based augmentation utilities.
+"""
+
from .autoaugment import AutoAugment
from .base import PolicyAugmentBase
from .operations import PolicySequential
diff --git a/kornia/augmentation/auto/autoaugment/__init__.py b/kornia/augmentation/auto/autoaugment/__init__.py
index 86f95cd6d..01bbb8df3 100644
--- a/kornia/augmentation/auto/autoaugment/__init__.py
+++ b/kornia/augmentation/auto/autoaugment/__init__.py
@@ -15,4 +15,10 @@
# limitations under the License.
#
+"""
+Kornia AutoAugment β€” AutoAugment policy implementations for Kornia augmentation.
+
+This subpackage provides the AutoAugment class and related utilities.
+"""
+
from .autoaugment import AutoAugment
diff --git a/kornia/augmentation/auto/operations/__init__.py b/kornia/augmentation/auto/operations/__init__.py
index 6e8059f33..00ddbeb59 100644
--- a/kornia/augmentation/auto/operations/__init__.py
+++ b/kornia/augmentation/auto/operations/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia AutoAugment Operations β€” Building blocks for policy-based augmentation.
+
+This subpackage provides operation classes and utilities for AutoAugment policies.
+"""
+
from .base import OperationBase
from .ops import *
from .policy import PolicySequential
diff --git a/kornia/augmentation/auto/rand_augment/__init__.py b/kornia/augmentation/auto/rand_augment/__init__.py
index 475251a1c..9423f153c 100644
--- a/kornia/augmentation/auto/rand_augment/__init__.py
+++ b/kornia/augmentation/auto/rand_augment/__init__.py
@@ -15,4 +15,10 @@
# limitations under the License.
#
+"""
+Kornia RandAugment β€” RandAugment policy implementations for Kornia augmentation.
+
+This subpackage provides the RandAugment class and related utilities.
+"""
+
from .rand_augment import RandAugment
diff --git a/kornia/augmentation/auto/trivial_augment/__init__.py b/kornia/augmentation/auto/trivial_augment/__init__.py
index 9beef8b89..422a6c869 100644
--- a/kornia/augmentation/auto/trivial_augment/__init__.py
+++ b/kornia/augmentation/auto/trivial_augment/__init__.py
@@ -15,4 +15,10 @@
# limitations under the License.
#
+"""
+Kornia TrivialAugment β€” TrivialAugment policy implementations for Kornia augmentation.
+
+This subpackage provides the TrivialAugment class and related utilities.
+"""
+
from .trivial_augment import TrivialAugment
diff --git a/kornia/augmentation/container/__init__.py b/kornia/augmentation/container/__init__.py
index 76e2dfac3..01073b931 100644
--- a/kornia/augmentation/container/__init__.py
+++ b/kornia/augmentation/container/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Augmentation Container β€” Sequential and dispatcher augmentation utilities.
+
+This subpackage provides augmentation containers and dispatchers for flexible pipelines.
+"""
+
from kornia.augmentation.container.augment import AugmentationSequential
from kornia.augmentation.container.base import ImageSequentialBase
from kornia.augmentation.container.dispatcher import ManyToManyAugmentationDispather, ManyToOneAugmentationDispather
diff --git a/kornia/augmentation/presets/__init__.py b/kornia/augmentation/presets/__init__.py
index 4d273d5cb..085dd8b1c 100644
--- a/kornia/augmentation/presets/__init__.py
+++ b/kornia/augmentation/presets/__init__.py
@@ -14,3 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+
+"""
+Kornia Augmentation Presets β€” Predefined augmentation pipelines and configurations.
+
+This subpackage provides ready-to-use augmentation presets for common tasks.
+"""
diff --git a/kornia/augmentation/random_generator/__init__.py b/kornia/augmentation/random_generator/__init__.py
index 5a6245f10..e739d1a67 100644
--- a/kornia/augmentation/random_generator/__init__.py
+++ b/kornia/augmentation/random_generator/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Augmentation Random Generator β€” Random parameter generators for augmentations.
+
+This subpackage provides random generators for 2D and 3D augmentation modules.
+"""
+
from kornia.augmentation.random_generator._2d import *
from kornia.augmentation.random_generator._3d import *
diff --git a/kornia/augmentation/utils/__init__.py b/kornia/augmentation/utils/__init__.py
index 0ede66c83..b6f3d465e 100644
--- a/kornia/augmentation/utils/__init__.py
+++ b/kornia/augmentation/utils/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Augmentation Utils β€” Helper functions and utilities for augmentations.
+
+This subpackage provides internal helpers and utility functions for augmentation modules.
+"""
+
from kornia.augmentation.utils.helpers import (
_adapted_beta,
_adapted_rsampling,
diff --git a/kornia/color/__init__.py b/kornia/color/__init__.py
index 7420bd3e1..579d9d15f 100644
--- a/kornia/color/__init__.py
+++ b/kornia/color/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Color β€” Color space conversions and color-related utilities for PyTorch.
+
+This subpackage provides modules for color transformations, colormaps, and conversions.
+"""
+
from .colormap import AUTUMN, ApplyColorMap, ColorMap, ColorMapType, RGBColor, apply_colormap
from .gray import BgrToGrayscale, GrayscaleToRgb, RgbToGrayscale, bgr_to_grayscale, grayscale_to_rgb, rgb_to_grayscale
from .hls import HlsToRgb, RgbToHls, hls_to_rgb, rgb_to_hls
diff --git a/kornia/contrib/__init__.py b/kornia/contrib/__init__.py
index 550344855..59136a28a 100644
--- a/kornia/contrib/__init__.py
+++ b/kornia/contrib/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Contrib β€” Experimental and contributed modules for Kornia.
+
+This subpackage provides community-contributed and experimental features.
+"""
+
from .classification import ClassificationHead
from .connected_components import connected_components
from .diamond_square import diamond_square
diff --git a/kornia/contrib/models/__init__.py b/kornia/contrib/models/__init__.py
index f941c7d15..758633d4d 100644
--- a/kornia/contrib/models/__init__.py
+++ b/kornia/contrib/models/__init__.py
@@ -15,4 +15,10 @@
# limitations under the License.
#
+"""
+Kornia Contrib Models β€” Experimental and contributed model structures for Kornia.
+
+This subpackage provides contributed model classes and result structures.
+"""
+
from kornia.contrib.models.structures import Prompts, SegmentationResults
diff --git a/kornia/contrib/models/efficient_vit/__init__.py b/kornia/contrib/models/efficient_vit/__init__.py
index ec12f2fda..87760a2b8 100644
--- a/kornia/contrib/models/efficient_vit/__init__.py
+++ b/kornia/contrib/models/efficient_vit/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Contrib EfficientViT β€” Efficient Vision Transformer models for Kornia.
+
+This subpackage provides EfficientViT model classes and configurations.
+"""
+
from .model import EfficientViT, EfficientViTConfig
__all__ = ["EfficientViT", "EfficientViTConfig"]
diff --git a/kornia/contrib/models/efficient_vit/nn/__init__.py b/kornia/contrib/models/efficient_vit/nn/__init__.py
index 4d273d5cb..5ffb1c926 100644
--- a/kornia/contrib/models/efficient_vit/nn/__init__.py
+++ b/kornia/contrib/models/efficient_vit/nn/__init__.py
@@ -14,3 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+
+"""
+Kornia Contrib EfficientViT NN β€” Neural network layers for EfficientViT models.
+
+This subpackage provides neural network building blocks for EfficientViT.
+"""
diff --git a/kornia/contrib/models/efficient_vit/utils/__init__.py b/kornia/contrib/models/efficient_vit/utils/__init__.py
index 0a2367415..4f755baca 100644
--- a/kornia/contrib/models/efficient_vit/utils/__init__.py
+++ b/kornia/contrib/models/efficient_vit/utils/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Contrib EfficientViT Utils β€” Utility functions for EfficientViT models.
+
+This subpackage provides helper functions and utilities for EfficientViT implementations.
+"""
+
# EfficientViT: Multi-Scale Linear Attention for High-Resolution Dense Prediction
# Han Cai, Junyan Li, Muyan Hu, Chuang Gan, Song Han
# International Conference on Computer Vision (ICCV), 2023
diff --git a/kornia/contrib/models/rt_detr/__init__.py b/kornia/contrib/models/rt_detr/__init__.py
index 43a75b201..632c9402e 100644
--- a/kornia/contrib/models/rt_detr/__init__.py
+++ b/kornia/contrib/models/rt_detr/__init__.py
@@ -15,5 +15,11 @@
# limitations under the License.
#
+"""
+Kornia Contrib RT-DETR β€” Real-time DEtection TRansformer models for Kornia.
+
+This subpackage provides RT-DETR model classes, configs, and post-processors.
+"""
+
from kornia.contrib.models.rt_detr.model import RTDETR, RTDETRConfig, RTDETRModelType
from kornia.contrib.models.rt_detr.post_processor import DETRPostProcessor
diff --git a/kornia/contrib/models/rt_detr/architecture/__init__.py b/kornia/contrib/models/rt_detr/architecture/__init__.py
index 4d273d5cb..15c8d45a7 100644
--- a/kornia/contrib/models/rt_detr/architecture/__init__.py
+++ b/kornia/contrib/models/rt_detr/architecture/__init__.py
@@ -14,3 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+
+"""
+Kornia Contrib RT-DETR Architecture β€” Model architecture components for RT-DETR.
+
+This subpackage provides building blocks for RT-DETR model architectures.
+"""
diff --git a/kornia/contrib/models/sam/__init__.py b/kornia/contrib/models/sam/__init__.py
index 670fc65e7..5bc4836eb 100644
--- a/kornia/contrib/models/sam/__init__.py
+++ b/kornia/contrib/models/sam/__init__.py
@@ -15,4 +15,10 @@
# limitations under the License.
#
+"""
+Kornia Contrib SAM β€” Segment Anything Model (SAM) integration for Kornia.
+
+This subpackage provides SAM model classes and configuration for segmentation tasks.
+"""
+
from kornia.contrib.models.sam.model import Sam, SamConfig, SamModelType
diff --git a/kornia/contrib/models/sam/architecture/__init__.py b/kornia/contrib/models/sam/architecture/__init__.py
index 4d273d5cb..92e098df4 100644
--- a/kornia/contrib/models/sam/architecture/__init__.py
+++ b/kornia/contrib/models/sam/architecture/__init__.py
@@ -14,3 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+
+"""
+Kornia Contrib SAM Architecture β€” Model architecture components for SAM.
+
+This subpackage provides building blocks for the Segment Anything Model (SAM).
+"""
diff --git a/kornia/core/__init__.py b/kornia/core/__init__.py
index fc7f0a735..49e6e03e3 100644
--- a/kornia/core/__init__.py
+++ b/kornia/core/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Core β€” Core tensor operations, backends, and utilities for Kornia.
+
+This subpackage provides core functionality, device management, and backend support.
+"""
+
from . import external
from ._backend import (
Device,
diff --git a/kornia/core/mixin/__init__.py b/kornia/core/mixin/__init__.py
index a0dbf88d6..6c0b33d2f 100644
--- a/kornia/core/mixin/__init__.py
+++ b/kornia/core/mixin/__init__.py
@@ -15,5 +15,11 @@
# limitations under the License.
#
+"""
+Kornia Core Mixin β€” Mixins for image modules and ONNX export in Kornia.
+
+This subpackage provides mixin classes for extending core functionality.
+"""
+
from .image_module import ImageModuleMixIn
from .onnx import ONNXExportMixin, ONNXMixin, ONNXRuntimeMixin
diff --git a/kornia/enhance/__init__.py b/kornia/enhance/__init__.py
index 0729a6b5b..d1973c13a 100644
--- a/kornia/enhance/__init__.py
+++ b/kornia/enhance/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Enhance β€” Image enhancement operations for Kornia.
+
+This subpackage provides modules for brightness, contrast, and other image enhancements.
+"""
+
from .adjust import (
AdjustBrightness,
AdjustBrightnessAccumulative,
diff --git a/kornia/feature/__init__.py b/kornia/feature/__init__.py
index 5980118a9..eaac8c2de 100644
--- a/kornia/feature/__init__.py
+++ b/kornia/feature/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Feature β€” Feature detection, description, and matching for Kornia.
+
+This subpackage provides modules for keypoint detection, descriptors, and feature matching.
+"""
+
from .affine_shape import LAFAffineShapeEstimator, LAFAffNetShapeEstimator, PatchAffineShapeEstimator
from .dedode import DeDoDe
from .defmo import DeFMO
diff --git a/kornia/feature/adalam/__init__.py b/kornia/feature/adalam/__init__.py
index d2b462b09..6acbac6df 100644
--- a/kornia/feature/adalam/__init__.py
+++ b/kornia/feature/adalam/__init__.py
@@ -15,4 +15,10 @@
# limitations under the License.
#
+"""
+Kornia Feature Adalam β€” AdaLAM feature matching for Kornia.
+
+This subpackage provides AdaLAM filtering and matching utilities.
+"""
+
from .adalam import AdalamFilter, get_adalam_default_config, match_adalam
diff --git a/kornia/feature/dedode/__init__.py b/kornia/feature/dedode/__init__.py
index ad8068840..328fff5ef 100644
--- a/kornia/feature/dedode/__init__.py
+++ b/kornia/feature/dedode/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Feature DeDoDe β€” DeDoDe feature detector for Kornia.
+
+This subpackage provides the DeDoDe keypoint detector and related utilities.
+"""
+
from .dedode import DeDoDe
__all__ = ["DeDoDe"]
diff --git a/kornia/feature/dedode/transformer/__init__.py b/kornia/feature/dedode/transformer/__init__.py
index 2b5b6e681..a1dfa5766 100644
--- a/kornia/feature/dedode/transformer/__init__.py
+++ b/kornia/feature/dedode/transformer/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Feature DeDoDe Transformer β€” Transformer backbones for DeDoDe feature detector.
+
+This subpackage provides transformer models for DeDoDe feature extraction.
+"""
+
from .dinov2 import vit_large
__all__ = [
diff --git a/kornia/feature/disk/__init__.py b/kornia/feature/disk/__init__.py
index a1803ffaf..f0b289f64 100644
--- a/kornia/feature/disk/__init__.py
+++ b/kornia/feature/disk/__init__.py
@@ -15,5 +15,11 @@
# limitations under the License.
#
+"""
+Kornia Feature DISK β€” DISK feature detector and descriptor for Kornia.
+
+This subpackage provides the DISK keypoint detector and feature structures.
+"""
+
from .disk import DISK
from .structs import DISKFeatures
diff --git a/kornia/feature/lightglue_onnx/__init__.py b/kornia/feature/lightglue_onnx/__init__.py
index 25117e801..04d3f100b 100644
--- a/kornia/feature/lightglue_onnx/__init__.py
+++ b/kornia/feature/lightglue_onnx/__init__.py
@@ -15,4 +15,10 @@
# limitations under the License.
#
+"""
+Kornia Feature LightGlue ONNX β€” ONNX-based LightGlue feature matcher for Kornia.
+
+This subpackage provides the OnnxLightGlue matcher and related utilities.
+"""
+
from .lightglue import OnnxLightGlue
diff --git a/kornia/feature/lightglue_onnx/utils/__init__.py b/kornia/feature/lightglue_onnx/utils/__init__.py
index 73dddfd8d..d1ea8410f 100644
--- a/kornia/feature/lightglue_onnx/utils/__init__.py
+++ b/kornia/feature/lightglue_onnx/utils/__init__.py
@@ -15,5 +15,11 @@
# limitations under the License.
#
+"""
+Kornia Feature LightGlue ONNX Utils β€” Utilities for ONNX-based LightGlue matcher.
+
+This subpackage provides helper functions for LightGlue ONNX models.
+"""
+
from .download import download_onnx_from_url
from .keypoints import normalize_keypoints
diff --git a/kornia/feature/loftr/__init__.py b/kornia/feature/loftr/__init__.py
index b3bb160fa..89d1ab894 100644
--- a/kornia/feature/loftr/__init__.py
+++ b/kornia/feature/loftr/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Feature LoFTR β€” LoFTR feature matcher for Kornia.
+
+This subpackage provides the LoFTR (Detector-Free Local Feature Matching) implementation.
+"""
+
from __future__ import annotations
from .loftr import LoFTR
diff --git a/kornia/feature/loftr/backbone/__init__.py b/kornia/feature/loftr/backbone/__init__.py
index ec7609744..6337e5d20 100644
--- a/kornia/feature/loftr/backbone/__init__.py
+++ b/kornia/feature/loftr/backbone/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Feature LoFTR Backbone β€” Backbone modules for LoFTR feature matcher.
+
+This subpackage provides backbone architectures for LoFTR feature extraction.
+"""
+
from __future__ import annotations
from typing import Any
diff --git a/kornia/feature/loftr/loftr_module/__init__.py b/kornia/feature/loftr/loftr_module/__init__.py
index 9ddbb95bb..a871888a4 100644
--- a/kornia/feature/loftr/loftr_module/__init__.py
+++ b/kornia/feature/loftr/loftr_module/__init__.py
@@ -15,5 +15,11 @@
# limitations under the License.
#
+"""
+Kornia Feature LoFTR Module β€” LoFTR module components for Kornia.
+
+This subpackage provides fine preprocessing and transformer modules for LoFTR.
+"""
+
from .fine_preprocess import FinePreprocess
from .transformer import LocalFeatureTransformer
diff --git a/kornia/feature/loftr/utils/__init__.py b/kornia/feature/loftr/utils/__init__.py
index 4d273d5cb..072bcb211 100644
--- a/kornia/feature/loftr/utils/__init__.py
+++ b/kornia/feature/loftr/utils/__init__.py
@@ -14,3 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+
+"""
+Kornia Feature LoFTR Utils β€” Utilities for LoFTR feature matcher.
+
+This subpackage provides helper functions for LoFTR modules.
+"""
diff --git a/kornia/feature/sold2/__init__.py b/kornia/feature/sold2/__init__.py
index 80d43bfd3..08b4d265d 100644
--- a/kornia/feature/sold2/__init__.py
+++ b/kornia/feature/sold2/__init__.py
@@ -15,5 +15,11 @@
# limitations under the License.
#
+"""
+Kornia Feature SOLD2 β€” SOLD2 line segment detector for Kornia.
+
+This subpackage provides the SOLD2 detector and related utilities.
+"""
+
from .sold2 import SOLD2
from .sold2_detector import SOLD2_detector
diff --git a/kornia/filters/__init__.py b/kornia/filters/__init__.py
index 5988bc7d4..ad3036939 100644
--- a/kornia/filters/__init__.py
+++ b/kornia/filters/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Filters β€” Image filtering operations for Kornia.
+
+This subpackage provides modules for blurring, sharpening, and other image filters.
+"""
+
from __future__ import annotations
from .bilateral import BilateralBlur, JointBilateralBlur, bilateral_blur, joint_bilateral_blur
diff --git a/kornia/geometry/__init__.py b/kornia/geometry/__init__.py
index a052e887a..44e264eaa 100644
--- a/kornia/geometry/__init__.py
+++ b/kornia/geometry/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Geometry β€” Geometric vision operations for Kornia.
+
+This subpackage provides modules for transformations, camera models, and geometry processing.
+"""
+
from .bbox import *
from .calibration import *
from .camera import *
diff --git a/kornia/geometry/calibration/__init__.py b/kornia/geometry/calibration/__init__.py
index 7af1a50bf..ac0489a0c 100644
--- a/kornia/geometry/calibration/__init__.py
+++ b/kornia/geometry/calibration/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Geometry Calibration β€” Camera calibration utilities for Kornia.
+
+This subpackage provides functions for camera calibration, distortion, and undistortion.
+"""
+
from .distort import distort_points, tilt_projection
from .pnp import solve_pnp_dlt
from .undistort import undistort_image, undistort_points
diff --git a/kornia/geometry/camera/__init__.py b/kornia/geometry/camera/__init__.py
index cb5e62c2f..15a832b07 100644
--- a/kornia/geometry/camera/__init__.py
+++ b/kornia/geometry/camera/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Geometry Camera β€” Camera models and camera-related utilities for Kornia.
+
+This subpackage provides camera models, distortion, and projection functions.
+"""
+
from .distortion_affine import distort_points_affine, dx_distort_points_affine, undistort_points_affine
from .distortion_kannala_brandt import (
distort_points_kannala_brandt,
diff --git a/kornia/geometry/epipolar/__init__.py b/kornia/geometry/epipolar/__init__.py
index f065d0db7..ba44a625b 100644
--- a/kornia/geometry/epipolar/__init__.py
+++ b/kornia/geometry/epipolar/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Geometry Epipolar β€” Epipolar geometry operations for Kornia.
+
+This subpackage provides functions for epipolar distance, fundamental matrices, and stereo vision.
+"""
+
from ._metrics import (
left_to_right_epipolar_distance,
right_to_left_epipolar_distance,
diff --git a/kornia/geometry/liegroup/__init__.py b/kornia/geometry/liegroup/__init__.py
index 611718961..b2f144113 100644
--- a/kornia/geometry/liegroup/__init__.py
+++ b/kornia/geometry/liegroup/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Geometry Lie Group β€” Lie group operations for Kornia.
+
+This subpackage provides SE2, SE3, SO2, and related Lie group classes and utilities.
+"""
+
from .se2 import Se2
from .se3 import Se3
from .so2 import So2
diff --git a/kornia/geometry/solvers/__init__.py b/kornia/geometry/solvers/__init__.py
index 1094eb10e..4f4e2e943 100644
--- a/kornia/geometry/solvers/__init__.py
+++ b/kornia/geometry/solvers/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Geometry Solvers β€” Polynomial and geometric solvers for Kornia.
+
+This subpackage provides polynomial solvers and related utilities for geometry tasks.
+"""
+
from .polynomial_solver import (
determinant_to_polynomial,
multiply_deg_one_poly,
diff --git a/kornia/geometry/subpix/__init__.py b/kornia/geometry/subpix/__init__.py
index 69870c533..ef4e3ec16 100644
--- a/kornia/geometry/subpix/__init__.py
+++ b/kornia/geometry/subpix/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Geometry Subpix β€” Subpixel operations for Kornia.
+
+This subpackage provides subpixel localization and softmax utilities for geometry tasks.
+"""
+
from __future__ import annotations
from .dsnt import render_gaussian2d, spatial_expectation2d, spatial_softmax2d
diff --git a/kornia/geometry/transform/__init__.py b/kornia/geometry/transform/__init__.py
index dc0e9ee74..01864f1ae 100644
--- a/kornia/geometry/transform/__init__.py
+++ b/kornia/geometry/transform/__init__.py
@@ -15,6 +15,12 @@
# limitations under the License.
#
+"""
+Kornia Geometry Transform β€” Geometric transformation operations for Kornia.
+
+This subpackage provides affine, crop, and other geometric transformation utilities.
+"""
+
from .affwarp import *
from .crop2d import *
from .crop3d import *
diff --git a/kornia/grad_estimator/__init__.py b/kornia/grad_estimator/__init__.py
index ff403228d..9ce9b938b 100644
--- a/kornia/grad_estimator/__init__.py
+++ b/kornia/grad_estimator/__init__.py
@@ -15,4 +15,10 @@
# limitations under the License.
#
+"""
+Kornia Grad Estimator β€” Gradient estimation utilities for Kornia.
+
+This subpackage provides straight-through estimators and related functions.
+"""
+
from .ste import STEFunction, StraightThroughEstimator