that's too much!
This commit is contained in:
44
.venv/lib/python3.12/site-packages/pyogrio/__init__.py
Normal file
44
.venv/lib/python3.12/site-packages/pyogrio/__init__.py
Normal file
@@ -0,0 +1,44 @@
|
||||
try:
|
||||
# we try importing shapely, to ensure it is imported (and it can load its
|
||||
# own GEOS copy) before we load GDAL and its linked GEOS
|
||||
import shapely # noqa
|
||||
import shapely.geos # noqa
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
from pyogrio.core import (
|
||||
list_drivers,
|
||||
detect_write_driver,
|
||||
list_layers,
|
||||
read_bounds,
|
||||
read_info,
|
||||
set_gdal_config_options,
|
||||
get_gdal_config_option,
|
||||
get_gdal_data_path,
|
||||
__gdal_version__,
|
||||
__gdal_version_string__,
|
||||
__gdal_geos_version__,
|
||||
)
|
||||
from pyogrio.geopandas import read_dataframe, write_dataframe
|
||||
from pyogrio._version import get_versions
|
||||
|
||||
|
||||
__version__ = get_versions()["version"]
|
||||
del get_versions
|
||||
|
||||
__all__ = [
|
||||
"list_drivers",
|
||||
"detect_write_driver",
|
||||
"list_layers",
|
||||
"read_bounds",
|
||||
"read_info",
|
||||
"set_gdal_config_options",
|
||||
"get_gdal_config_option",
|
||||
"get_gdal_data_path",
|
||||
"read_dataframe",
|
||||
"write_dataframe",
|
||||
"__gdal_version__",
|
||||
"__gdal_version_string__",
|
||||
"__gdal_geos_version__",
|
||||
"__version__",
|
||||
]
|
||||
Reference in New Issue
Block a user