N-Cube Ingest SDK
Project description
N-cube Python SDK
Install
pip install ncube-sdk
Use
import os
import ncube_sdk.client
# initialize
client = ncube_sdk.client.init(
service_url=os.environ["INGEST_URL"],
schema_id=os.environ["INGEST_SCHEMA_ID"],
service_auth=(os.environ["INGEST_AUTH_USER"], os.environ["INGEST_AUTH_PASS"]))
# emit events
client.emit({"field1": "value1", "field2": "value2"})
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
ncube-sdk-0.7.tar.gz
(11.4 kB
view details)
Built Distribution
ncube_sdk-0.7-py3-none-any.whl
(13.6 kB
view details)
File details
Details for the file ncube-sdk-0.7.tar.gz
.
File metadata
- Download URL: ncube-sdk-0.7.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36af948df62433e109857a7a0945abef209157f17d370d3fd2f66e49619efc5d |
|
MD5 | 07c7f1809aacf7f7b3f07ddebeef8ec0 |
|
BLAKE2b-256 | 7140c3a892e9322379fa7a940f3f6b61a72c8ec46c7c6f60222747c7de68b01d |
File details
Details for the file ncube_sdk-0.7-py3-none-any.whl
.
File metadata
- Download URL: ncube_sdk-0.7-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a0f05ce712b15b8ac3fc95fd14d35b2378dfcd17b7d60b0926dfb528b358f6 |
|
MD5 | 360aad97649c2289a9cbf51fc3d1b8fa |
|
BLAKE2b-256 | 5ca08473bb67e4a48cdc0169128df77b2442745ddef93536ae115e2e855872dd |