This release is a pre-release and may not be stable for production use.
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.8.1.
The project is distributed under a MIT License .
Installing
git clone git@github.com:dimitri-justeau/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.dev3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gsconfig-py3-1.0.8.dev3.tar.gz | 21.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gsconfig_py3-1.0.8.dev3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.7 kB
Release files / gsconfig-py3-1.0.8.dev3.tar.gz
| Download URL | gsconfig-py3-1.0.8.dev3.tar.gz |
|---|---|
| Size | 21.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96826a72b6ccc9277420053460c0ae35ac29d2df524a2fe3f9d0b162edf63fdf
|
|
BLAKE2b-256 checksum How to use checksums |
67bb185380cdd29c24f6af9381ebed48089c9d0df71ffc031a057306037e8795
|
| 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.dev3-py3-none-any.whl
| Download URL | gsconfig_py3-1.0.8.dev3-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4780f04fb2c9c6bd1bf37d56543c73bdb728f786f5425171455a3180ac3550e9
|
|
BLAKE2b-256 checksum How to use checksums |
1917e517d2384db906e744225b11c7637c684cb7b7f93ac03472abc93abdfe6b
|
| 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
|
Security for gsconfig-py3 1.0.8.dev3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.