Skip to main content

GeoInsight Python Package

Project description

GeoInsight API python package

To get started with the GeoInsight API head over to geoinsight.ai and create an account. You will get an GeoInsight Personal Token (GPT) and an API Private Key (APK).

Install

To install the package just run a regular pip install

pip install geoinsight

Then import the package like this.

import geoinsight

The GeoInsight package come with an api class to access the endpoints and a util class with additional useful functions. You can initialize both like this:

api=geoinsight.api()
util=geoinsight.util()

The api class wraps all API endpoints in python functions and util is a collection of methods that are useful to end-users, such as getting from r to a geopandas dataframe gdf, or to get the custom crs spherical map projection for any given gdf. The api class does not do any diagnostics, it is up to you and the context of your code to check if r comes back with a valid 200 http status code. Better write an if statement or a try-catch block if needed to check for r.status.

Usage

Now use the GeoInsight Personal Token (GPT) and API Private Key (APK).

api.set_access_token(_gpt='GPT',_apk='APK')

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

geoinsight-0.8.1.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

geoinsight-0.8.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file geoinsight-0.8.1.tar.gz.

File metadata

  • Download URL: geoinsight-0.8.1.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for geoinsight-0.8.1.tar.gz
Algorithm Hash digest
SHA256 b361df0046c6e930ac2dd918ced902113928bb16ce40bca9e39df73da4b23ecd
MD5 e54d45657160945678d529dbacf9ee37
BLAKE2b-256 d71118febd533199013c6922e872644d9266bd86294576d1c3b4edd70bd11fca

See more details on using hashes here.

File details

Details for the file geoinsight-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: geoinsight-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for geoinsight-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1680c5c7442576443b2cfbca34eb5c4b6cab3677ff8e71c353e93fa05b7b5795
MD5 3bf8bcbaf8205f10c4156d715b60fb23
BLAKE2b-256 d2ed4ba1c3abe3631608850176d2ea125937e495bb6aa37313c014ad248d86e6

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