Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Read Sapelli project and load data from CSVs to GeoKey

Project Description

geokey-sapelli

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.

Install

geokey-sapelli requires:

  • Python version 2.7
  • Java (JRE or JDK) version 7 or up
  • GeoKey version 1.0 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:

INSTALLED_APPS += (
    ...
    'geokey_sapelli',
)

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 settings.py 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 settings.py:

SAPELLI_CLIENT_ID = 'YOUR_CLIENT_ID'

Migrate the models into the database:

python manage.py migrate geokey_sapelli

You’re now ready to go!

Update

Update the geokey-sapelli from PyPI:

pip install -U geokey-sapelli

Migrate the new models into the database:

python manage.py migrate geokey_sapelli

Test

Run tests:

python manage.py test geokey_sapelli

Check code coverage:

pip install coverage
coverage run --source=geokey_sapelli manage.py test geokey_sapelli
coverage report -m --omit=*/tests/*,*/migrations/*
Release History

Release History

This version
History Node

2.0.1

History Node

2.0.0

History Node

1.1.0

History Node

1.0.0

History Node

0.7.2

History Node

0.7.1

History Node

0.7.0

History Node

0.6.7

History Node

0.6.6

History Node

0.6.5

History Node

0.6.4

History Node

0.6.3

History Node

0.6.2

History Node

0.6.1

History Node

0.6.0

History Node

0.5.1

History Node

0.5.0

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
geokey-sapelli-2.0.1.tar.gz (29.1 kB) Copy SHA256 Checksum SHA256 Source May 25, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting