Skip to content

IBM/ibmpairs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f611192 · Jan 28, 2025
Nov 26, 2021
Jun 26, 2024
Jan 28, 2025
Jun 26, 2024
Jan 28, 2025
Jun 26, 2024
May 4, 2019
May 15, 2019
Nov 26, 2021
Jan 27, 2025
Aug 15, 2023
May 2, 2019
Jun 26, 2024
Dec 9, 2020
Jun 26, 2024
Jun 26, 2024
Nov 29, 2021
May 4, 2019
Jun 26, 2024
Jun 27, 2024
Nov 26, 2021
Jan 28, 2025

Repository files navigation

IBM Environmental Intelligence (EI): Geospatial APIs SDK

PyPI Package

This repository provides an interface to the IBM EI: Geospatial APIs component: IBM EI: Geospatial APIs.

E.g. the query module in the subdirectory ibmpairs serves as a wrapper employing the IBM EI: Geospatial APIs served through the RESTful host reachable via https://api.ibm.com/geospatial/run/na/core/v3/.

Sample applications that use ibmpairs can be located in the Environmental-Intelligence project.

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 EI: Geospatial APIs SDK wrapper modules e.g.:

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

Getting started

See the documentation here and try our tutorials.

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.