File: geos.py

package info (click to toggle)
python-shapely 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,528 kB
  • sloc: python: 18,648; ansic: 6,615; makefile: 88; sh: 62
file content (17 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Proxies for libgeos, GEOS-specific exceptions, and utilities."""

import warnings

import shapely

warnings.warn(
    "The 'shapely.geos' module is deprecated, and will be removed in a future version. "
    "All attributes of 'shapely.geos' are available directly from the top-level "
    "'shapely' namespace (since shapely 2.0.0).",
    DeprecationWarning,
    stacklevel=2,
)

geos_version_string = shapely.geos_capi_version_string
geos_version = shapely.geos_version
geos_capi_version = shapely.geos_capi_version