Skip to main content

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"})

Metadata

Release files for ncube-sdk 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ncube-sdk 0.7
File Size Uploaded
ncube-sdk-0.7.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ncube-sdk 0.7
File Interpreter ABI Platform
ncube_sdk-0.7-py3-none-any.whl Python 3 none any Details

Total release size: 25.0 kB

Release files / ncube-sdk-0.7.tar.gz

Download URL ncube-sdk-0.7.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
36af948df62433e109857a7a0945abef209157f17d370d3fd2f66e49619efc5d
BLAKE2b-256 checksum
How to use checksums
7140c3a892e9322379fa7a940f3f6b61a72c8ec46c7c6f60222747c7de68b01d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.12

Release files / ncube_sdk-0.7-py3-none-any.whl

Download URL ncube_sdk-0.7-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5a0f05ce712b15b8ac3fc95fd14d35b2378dfcd17b7d60b0926dfb528b358f6
BLAKE2b-256 checksum
How to use checksums
5ca08473bb67e4a48cdc0169128df77b2442745ddef93536ae115e2e855872dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.7 This release

2 release files

0.6

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page