API wrapper for the Isogeo REST API
Project description
Isogeo API Python SDK
A Python package to use Isogeo REST API.
Requirements
Isogeo API requires oAuth2 authentication. To obtain credentials, send us your request by email projects+api@isogeo.com.
Based on the well known requests package and the extension requests-oauthlib.
Documentation
Usage in a nutshell
python -m pip install --user isogeo-pysdk
# or using pipenv
python -m pipenv install isogeo-pysdk
Quickstart
from isogeo_pysdk import Isogeo
# authenticate your client application
isogeo = Isogeo(client_id=app_id,
client_secret=app_secret)
# get the token
isogeo.connect()
# search within catalogs shared to the application
search = isogeo.search()
# print some statements
print("Search query parameters: ", search.query)
print("Total count of metadatas shared: ", search.total)
print("Count of resources got by request: {}\n".format(len(search.results)))
# close the session when you finish
isogeo.close()
Samples are available in the source repository <https://github.com/isogeo/isogeo-api-py-minsdk/tree/master/isogeo_pysdk/samples>_.
Tests
Tests are performed for each published commit:
python -m pip install --upgrade -r tests/requirements_test.txt
python -m pytest
Or using the included Powershell script:
.\tool_test_coverage.ps1
Build
To package and upload:
.\tool_build_upload.ps1
To build docs:
.\tool_docs_build.ps1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file isogeo_pysdk-3.8.6.tar.gz.
File metadata
- Download URL: isogeo_pysdk-3.8.6.tar.gz
- Upload date:
- Size: 168.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
473dd60590d3b1f9bfac8cec4a3707504e3a92a50adab199b856fa71b79e8841
|
|
| MD5 |
10d27d44f8bb6b5bc99d4760a355a26d
|
|
| BLAKE2b-256 |
38384fd777380457344a137cea16e2c8d534adcb7a42c54ca722cb415bbda3dc
|
File details
Details for the file isogeo_pysdk-3.8.6-py3-none-any.whl.
File metadata
- Download URL: isogeo_pysdk-3.8.6-py3-none-any.whl
- Upload date:
- Size: 223.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5710b50a85272c1f274a6817160d3ee700756c3a8a2688ecf22342fe440ed2c9
|
|
| MD5 |
8ea8befe472db868dcddb2dcc1f4c32a
|
|
| BLAKE2b-256 |
899cdb9d75fc8ac4ac01b11762e46f9f76a7758911866d4662cba2bcf7c7a219
|