Skip to main content

open source Python modules for the IBM PAIRS Geoscope platform

Project description

IBM Environmental Intelligence Suite (EIS): Geospatial Analytics open source modules

Build Status PyPI Package

This repository provides an interface to the geo-spatial big data platform IBM EIS: Geospatial Analytics.

E.g. the query module in the subdirectory ibmpairs serves as a wrapper employing the IBM EIS: Geospatial Analytics core RESTful API served through the host reachable via https://pairs.res.ibm.com.

General Notes

If you like to contribute, please read CONTRIBUTING.md first. A list of maintainers is recorded in MAINTAINERS.md.

Installation and Usage

If you have installed the Python package manager PIP, simply run

pip install --user ibmpairs

Then you can import the IBM EIS: Geospatial Analytics API wrapper modules e.g.:

import ibmpairs.client as client
import ibmpairs.query as query

Getting started

Simply get your feet wet with the tutorial. Having cloned into the repo, the full API documentation you can generate by Sphinx and the corresponding ReadTheDocs theme by running e.g.

pip install sphinx sphinx_rtd_theme

then make the html pages,

make docs

or without Make

cd docs && make html

then open docs/_build/html/index.html with your favorite browser.

Running in a Docker container

A self-contained environment can be built with Docker using

git clone https://github.com/ibm/ibmpairs
cd ibmpairs
make docker-build

then run using:

make docker-run

the environment can then be accessed from the following url:

http://localhost:18380

Alternatively you can execute these steps without Make using:

git clone https://github.com/ibm/ibmpairs
cd ibmpairs
docker build -t ibmpairs .

to build and

docker run \
    -dit \
    -p 18380:18380 \
    --name ibmpairs \
    ibmpairs:latest

or:

docker-compose up ibmpairs

to run.

Project details


Download files

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

Source Distribution

ibmpairs-3.0.4.tar.gz (184.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ibmpairs-3.0.4-py3-none-any.whl (187.8 kB view details)

Uploaded Python 3

File details

Details for the file ibmpairs-3.0.4.tar.gz.

File metadata

  • Download URL: ibmpairs-3.0.4.tar.gz
  • Upload date:
  • Size: 184.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for ibmpairs-3.0.4.tar.gz
Algorithm Hash digest
SHA256 8d745f70cdae9014157af51f06a869da6f000863317407900bc1f3a372a23310
MD5 efa1d89abe8bbb43bdefa8c97fa86242
BLAKE2b-256 b8038fca6a87958194eb449ca8a95ed9213e9af7edaabab46141e54845a321a9

See more details on using hashes here.

File details

Details for the file ibmpairs-3.0.4-py3-none-any.whl.

File metadata

  • Download URL: ibmpairs-3.0.4-py3-none-any.whl
  • Upload date:
  • Size: 187.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for ibmpairs-3.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7efb75a8c8aea2fd864f39069016c2294e97f48924b540bab1edfa489c052ba0
MD5 43d55dd424f5c1c8550f443c3eb259b6
BLAKE2b-256 cbcd95e12e44b336c8a8aaac4a0e51c5808b44e9f49db029a71b68fd9d94e2d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page