Skip to content

types-shapely 2.1.0.20250917

Version history | Download JSON

  • PyPI https://pypi.org/project/types-shapely/
    Repository https://github.com/python/typeshed

  • py.typed
    stubs-only typeshed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 1084
        "Any" : 5
        "Untyped" : 107
    • 91.1% coverage
    • 90.6% coverage (strict)
    • 1196 typable
      • 1084 typed
      • 107 untyped
      • 5 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 657
        "classes" : 374
        "other" : 149
    • 162 functions (+286 overloads)
      • 495 parameters
    • 52 classes
      • 103 methods (+0 overloads)
        • 173 parameters
      • 98 properties
    • 37 modules
      • 149 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
shapely 100.0% 100.0% 1 0
shapely._ragged_array 100.0% 100.0% 8 0
shapely.affinity 100.0% 100.0% 25 0
shapely.algorithms.cga 100.0% 100.0% 2 0
shapely.algorithms.polylabel 100.0% 100.0% 3 0
shapely.constructive 75.6% 75.6% 119 0
shapely.coordinates 100.0% 100.0% 15 0
shapely.coords 100.0% 100.0% 8 0
shapely.creation 83.6% 83.6% 67 0
shapely.decorators 100.0% 100.0% 10 0
shapely.errors 100.0% 100.0% 4 0
shapely.geometry.base 98.8% 97.6% 84 2
shapely.geometry.collection 100.0% 100.0% 3 0
shapely.geometry.geo 100.0% 100.0% 20 0
shapely.geometry.linestring 100.0% 100.0% 66 1
shapely.geometry.multilinestring 100.0% 100.0% 21 1
shapely.geometry.multipoint 100.0% 100.0% 21 1
shapely.geometry.multipolygon 100.0% 100.0% 21 1
shapely.geometry.point 100.0% 100.0% 39 1
shapely.geometry.polygon 100.0% 100.0% 60 1
shapely.geos 100.0% 100.0% 3 0
shapely.io 80.6% 80.6% 31 3
shapely.lib 100.0% 100.0% 194 0
shapely.linear 77.3% 77.3% 22 0
shapely.measurement 71.9% 71.9% 32 0
shapely.ops 100.0% 100.0% 39 2
shapely.plotting 100.0% 84.0% 25 4
shapely.predicates 73.5% 73.5% 117 3
shapely.prepared 100.0% 100.0% 24 0
shapely.set_operations 78.0% 78.0% 50 0
shapely.speedups 100.0% 100.0% 4 0
shapely.strtree 100.0% 100.0% 5 0
shapely.testing 100.0% 100.0% 9 0
shapely.validation 100.0% 100.0% 4 0
shapely.vectorized 100.0% 100.0% 8 0
shapely.wkb 88.2% 88.2% 17 0
shapely.wkt 86.7% 86.7% 15 0

Incomplete Annotations

shapely.constructive (29 missing, 0 any)

Symbol Typable Typed Any
func shapely.constructive.build_area 3 2 0
func shapely.constructive.snap 5 4 0
func shapely.constructive.centroid 3 2 0
func shapely.constructive.concave_hull 5 4 0
func shapely.constructive.segmentize 4 3 0
func shapely.constructive.node 3 2 0
func shapely.constructive.simplify 5 4 0
func shapely.constructive.remove_repeated_points 4 3 0
func shapely.constructive.delaunay_triangles 5 4 0
func shapely.constructive.reverse 3 2 0
func shapely.constructive.buffer 9 8 0
func shapely.constructive.normalize 3 2 0
func shapely.constructive.extract_unique_points 3 2 0
func shapely.constructive.voronoi_polygons 7 6 0
func shapely.constructive.oriented_envelope 3 2 0
func shapely.constructive.make_valid 5 4 0
func shapely.constructive.minimum_clearance_line 3 2 0
func shapely.constructive.orient_polygons 4 3 0
func shapely.constructive.clip_by_rect 7 6 0
func shapely.constructive.minimum_bounding_circle 3 2 0
func shapely.constructive.boundary 3 2 0
func shapely.constructive.convex_hull 3 2 0
func shapely.constructive.envelope 3 2 0
func shapely.constructive.point_on_surface 3 2 0
func shapely.constructive.polygonize_full 3 2 0
func shapely.constructive.constrained_delaunay_triangles 3 2 0
func shapely.constructive.polygonize 3 2 0
func shapely.constructive.offset_curve 7 6 0
func shapely.constructive.maximum_inscribed_circle 4 3 0

shapely.creation (11 missing, 0 any)

Symbol Typable Typed Any
func shapely.creation.prepare 3 2 0
func shapely.creation.multipoints 5 4 0
func shapely.creation.multipolygons 5 4 0
func shapely.creation.multilinestrings 5 4 0
func shapely.creation.geometrycollections 5 4 0
func shapely.creation.linearrings 8 7 0
func shapely.creation.linestrings 8 7 0
func shapely.creation.points 8 7 0
func shapely.creation.destroy_prepared 3 2 0
func shapely.creation.polygons 6 5 0
func shapely.creation.box 7 6 0

shapely.geometry.base (1 missing, 1 any)

Symbol Typable Typed Any
func shapely.geometry.base.geom_factory 3 3 1
meth BaseGeometry.svg 3 2 0

shapely.io (6 missing, 0 any)

Symbol Typable Typed Any
func shapely.io.to_wkb 8 7 0
func shapely.io.to_geojson 4 3 0
func shapely.io.from_wkt 4 3 0
func shapely.io.to_wkt 7 6 0
func shapely.io.from_geojson 4 3 0
func shapely.io.from_wkb 4 3 0

shapely.linear (5 missing, 0 any)

Symbol Typable Typed Any
func shapely.linear.line_locate_point 5 4 0
func shapely.linear.shortest_line 4 3 0
func shapely.linear.line_interpolate_point 5 4 0
func shapely.linear.shared_paths 4 3 0
func shapely.linear.line_merge 4 3 0

shapely.measurement (9 missing, 0 any)

Symbol Typable Typed Any
func shapely.measurement.length 3 2 0
func shapely.measurement.minimum_clearance 3 2 0
func shapely.measurement.hausdorff_distance 5 4 0
func shapely.measurement.minimum_bounding_radius 3 2 0
func shapely.measurement.total_bounds 3 2 0
func shapely.measurement.frechet_distance 5 4 0
func shapely.measurement.bounds 3 2 0
func shapely.measurement.area 3 2 0
func shapely.measurement.distance 4 3 0

shapely.plotting (0 missing, 4 any)

Symbol Typable Typed Any
func shapely.plotting.patch_from_polygon 3 3 1
func shapely.plotting.plot_points 6 6 1
func shapely.plotting.plot_polygon 9 9 1
func shapely.plotting.plot_line 7 7 1

shapely.predicates (31 missing, 0 any)

Symbol Typable Typed Any
func shapely.predicates.has_z 3 2 0
func shapely.predicates.is_closed 3 2 0
func shapely.predicates.contains 4 3 0
func shapely.predicates.covered_by 4 3 0
func shapely.predicates.disjoint 4 3 0
func shapely.predicates.equals 4 3 0
func shapely.predicates.has_m 3 2 0
func shapely.predicates.equals_exact 6 5 0
func shapely.predicates.contains_xy 5 4 0
func shapely.predicates.is_prepared 3 2 0
func shapely.predicates.is_valid 3 2 0
func shapely.predicates.overlaps 4 3 0
func shapely.predicates.dwithin 5 4 0
func shapely.predicates.equals_identical 4 3 0
func shapely.predicates.crosses 4 3 0
func shapely.predicates.is_missing 3 2 0
func shapely.predicates.is_simple 3 2 0
func shapely.predicates.contains_properly 4 3 0
func shapely.predicates.is_ccw 3 2 0
func shapely.predicates.is_geometry 3 2 0
func shapely.predicates.is_valid_input 3 2 0
func shapely.predicates.intersects_xy 5 4 0
func shapely.predicates.is_valid_reason 3 2 0
func shapely.predicates.relate_pattern 5 4 0
func shapely.predicates.covers 4 3 0
func shapely.predicates.touches 4 3 0
func shapely.predicates.intersects 4 3 0
func shapely.predicates.relate 4 3 0
func shapely.predicates.within 4 3 0
func shapely.predicates.is_empty 3 2 0
func shapely.predicates.is_ring 3 2 0

shapely.set_operations (11 missing, 0 any)

Symbol Typable Typed Any
func shapely.set_operations.symmetric_difference 5 4 0
func shapely.set_operations.coverage_union_all 4 3 0
func shapely.set_operations.symmetric_difference_all 4 3 0
func shapely.set_operations.intersection_all 4 3 0
func shapely.set_operations.union 5 4 0
func shapely.set_operations.disjoint_subset_union 4 3 0
func shapely.set_operations.intersection 5 4 0
func shapely.set_operations.disjoint_subset_union_all 4 3 0
func shapely.set_operations.union_all 5 4 0
func shapely.set_operations.coverage_union 5 4 0
func shapely.set_operations.difference 5 4 0

shapely.wkb (2 missing, 0 any)

Symbol Typable Typed Any
func shapely.wkb.dump 6 5 0
func shapely.wkb.dumps 5 4 0

shapely.wkt (2 missing, 0 any)

Symbol Typable Typed Any
func shapely.wkt.dump 6 5 0
func shapely.wkt.dumps 5 4 0

Type-Ignore Comments

Flavor Count
type: ignore[overload-overlap] 8
type: ignore[override] 7
type: ignore[import-not-found] 4
type: ignore[misc] 1