Skip to main content

Read Sapelli project and load data from CSVs to GeoKey

Project description

PyPI Package Travis CI Build Status Coveralls Test Coverage


Extension for GeoKey to add support for Sapelli. This extension enables users to upload Sapelli project files (resulting in corresponding GeoKey projects), and Sapelli-produced data via the admin interface.


geokey-sapelli requires:

  • Python version 2.7
  • Java (JRE or JDK) version 7 or up
  • GeoKey version 1.6 or greater

Install the geokey-sapelli from PyPI:

pip install geokey-sapelli

Or from cloned repository:

cd geokey-sapelli
pip install -e .

Add the package to installed apps:


Download the latest available version of the Sapelli Collector CmdLn front-end (the file you need looks like sapelli-collector-cmdln-X.X.X-XXXXXX-with-dependencies.jar). Place the file in a folder of your choice (you can rename it as well if you want) and edit the file to add the absolute path to the file:

SAPELLI_JAR = '/path/to/sapelli-collector-cmdln-X.X.X-XXXXXX-with-dependencies.jar'

Register a new application (using the GeoKey admin interface) with authorisation type password. Add the generated Client ID to your


Migrate the models into the database:

python migrate geokey_sapelli

You’re now ready to go!


Update the geokey-sapelli from PyPI:

pip install -U geokey-sapelli

Migrate the new models into the database:

python migrate geokey_sapelli


Run tests:

python test geokey_sapelli

Check code coverage:

pip install coverage
coverage run --source=geokey_sapelli test geokey_sapelli
coverage report -m --omit=*/tests/*,*/migrations/*

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for geokey-sapelli, version 2.0.2
Filename, size File type Python version Upload date Hashes
Filename, size geokey-sapelli-2.0.2.tar.gz (30.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page