Skip to content

Python library of utility functions for harvesting metadata from open sources, e.g., GeoNode and CKAN.

License

Notifications You must be signed in to change notification settings

spatialcurrent/sc-python-harvester

Repository files navigation

Spatial Current Python Harvester (sc-python-harvester)

https://travis-ci.org/spatialcurrent/sc-python-harvester.png Master Documentation Status

Description

This repo contains Python utility functions for harvesting metadata from open-standard sources, e.g., GeoNode and CKAN.

Installation

Install via PyPI with:

pip install sc-python-harvester

Or install directly from GitHub with:

pip install git+git://github.com/spatialcurrent/sc-python-harvester.git@master

Usage

Simply import the enumerations and functions as needed. If flask is installed, then the functions will use Flask's JSON module. Otherwise, they will default to the Python built-in module.

from sc_python_harvester.wfs.utils import wfs_describe_layer
from sc_python_harvester.wfs.enumerations import WFS_DEFAULT_NAMESPACES

attributes, geometry_type = wfs_describe_layer(wfs_url, typename, ns=WFS_DEFAULT_NAMESPACES)

Contributing

Spatial Current, Inc. is currently accepting pull requests for this repository. We'd love to have your contributions! Please see Contributing.rst for how to get started.

License

This work is distributed under the MIT License. See LICENSE file.

About

Python library of utility functions for harvesting metadata from open sources, e.g., GeoNode and CKAN.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages