/usr/lib/python3/dist-packages/geojson/__init__.py is in python3-geojson 1.3.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | from geojson.codec import dump, dumps, load, loads, GeoJSONEncoder
from geojson.utils import coords, map_coords
from geojson.geometry import Point, LineString, Polygon
from geojson.geometry import MultiLineString, MultiPoint, MultiPolygon
from geojson.geometry import GeometryCollection
from geojson.feature import Feature, FeatureCollection
from geojson.base import GeoJSON
from geojson.validation import is_valid
__all__ = ([dump, dumps, load, loads, GeoJSONEncoder] +
[coords, map_coords] +
[Point, LineString, Polygon] +
[MultiLineString, MultiPoint, MultiPolygon] +
[GeometryCollection] +
[Feature, FeatureCollection] +
[GeoJSON] +
[is_valid])
|