SDK for interacting with Posmo DataMarket API
Project description
Posmo DataMarket SDK
This is a Python SDK for interacting with the Posmo DataMarket API.
Usage
Install with pip:
pip install datamap.posmo_datamarket_sdk
Import Posmo DataMarket client:
from datamap.posmo_datamarket_sdk import PosmoDataMarket
Initialize client:
datamarket = PosmoDataMarket(project_code='project', username='username', password='password')
Optionally you can provide username and password in environment variables:
- Username:
POSMO_USERNAME - Password:
POSMO_PASSWORD
Client methods
query(query)
Executes provided SQL query and returns result.
result = datamarket.query('SELECT * FROM moving;')
schema()
Opens database schema documentation in default browser.
datamarket.schema()
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 datamap_posmo_datamarket_sdk-1.0.0.tar.gz.
File metadata
- Download URL: datamap_posmo_datamarket_sdk-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca93765af798aabf647d946c9951552fed816fd57d10c090dbd118e611678ff3
|
|
| MD5 |
390745d405825c3ecc17d1f039e422bb
|
|
| BLAKE2b-256 |
84ce076556882c68ef114e4f68fabf7128d23f4b999a44a4b2a3c6ce6ac917a3
|
File details
Details for the file datamap_posmo_datamarket_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: datamap_posmo_datamarket_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0aaf6e3cb15afa21484901f1d2f0988e06195e7e5abb36eb285dcb3dbe1fe5e6
|
|
| MD5 |
e4f4b72bad8db953ed5200ae04fe37e2
|
|
| BLAKE2b-256 |
3c070b4d4f98ca72643b857e04455f7c23a6b529dbe512f010584bb16209a172
|