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.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:
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/*
Metadata
Release files for geokey-sapelli 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| geokey-sapelli-2.0.2.tar.gz | 30.6 kB | Details |
Release files / geokey-sapelli-2.0.2.tar.gz
| Download URL | geokey-sapelli-2.0.2.tar.gz |
|---|---|
| Size | 30.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a405057b691d25c7d9387eacac6e0cdef05863386223a81d3e4546e34eb3645
|
|
BLAKE2b-256 checksum How to use checksums |
745141eeacade4b1bd44dacf4fa1b331b7cd3873c07860025672c95649b8ea3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.6
|