Skip to main content

gsconfig-py3

gsconfig-py3 is a python3 library for manipulating a GeoServer instance via the GeoServer RESTConfig API.

gsconfig-py3 is a port of gsconfig (https://github.com/boundlessgeo/gsconfig) for python3.

Tested with geoserver 2.16.2.

The project is distributed under a MIT License .

Installing

git clone git@github.com:quadratic-be/gsconfig-py3.git
cd gsconfig-py3
python setup.py install

Getting Help

gsconfig-py3 keeps the same API as gsconfig, so you can refer to http://boundlessgeo.github.io/gsconfig/ for getting help to use it.

Sample Layer Creation Code

from geoserver.catalog import Catalog
cat = Catalog("http://localhost:8080/geoserver/")
topp = cat.get_workspace("topp")
shapefile_plus_sidecars = shapefile_and_friends("states")
# shapefile_and_friends should look on the filesystem to find a shapefile
# and related files based on the base path passed in
#
# shapefile_plus_sidecars == {
#    'shp': 'states.shp',
#    'shx': 'states.shx',
#    'prj': 'states.prj',
#    'dbf': 'states.dbf'
# }

# 'data' is required (there may be a 'schema' alternative later, for creating empty featuretypes)
# 'workspace' is optional (GeoServer's default workspace is used by... default)
# 'name' is required
ft = cat.create_featurestore(name, workspace=topp, data=shapefile_plus_sidecars)

Metadata

Release files for gsconfig-py3 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gsconfig-py3 1.0.8
File Size Uploaded
gsconfig-py3-1.0.8.tar.gz 21.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gsconfig-py3 1.0.8
File Interpreter ABI Platform
gsconfig_py3-1.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 45.6 kB

Release files / gsconfig-py3-1.0.8.tar.gz

Download URL gsconfig-py3-1.0.8.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b9449a27646a25c00fa1a46d9ca71b86f21e4d8d8f852208273ea228c83b80c4
BLAKE2b-256 checksum
How to use checksums
a0a5309607730f9dc827ed11ed4e05d1f7947ef7533006e8619323927478f9aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release files / gsconfig_py3-1.0.8-py3-none-any.whl

Download URL gsconfig_py3-1.0.8-py3-none-any.whl
Size 24.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2aa3f67aa8f142208e76acbaa3bd91ea9294442a7aa823ae92fe28a22ab4dbb8
BLAKE2b-256 checksum
How to use checksums
6775e537603bda6f735032735e9ca4a2b9106efbd6d57cb285fe64e43c7f7a21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 release files

1.0.7

1 release file

1.0.6

1 release file

1.0.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page