Skip to main content

Fluid Topics API

Project description

Python Fluid-Topics API

The python Fluid-Topics API is an integrator kit for developing Fluid-Topics connectors.

Installation

We recommend using http://pypi.org to install the Fluid-Topics API for Python.

$ pip install fluidtopics

Getting started

We will see how to publish to Fluid-Topics. To do this, you should have a Fluid-Topics user with KHUB_ADMIN right, and an External source.

from fluidtopics.connector import LoginAuthentication, RemoteClient, PublicationBuilder

# First, create a RemoteClient
auth = LoginAuthentication('khub_admin_user@domain.com', 'user_password')
client = RemoteClient('https://my-fluidtopics.com', auth, 'external_source_id')

# Then create the Publication:
publication = PublicationBuilder().id('publication_id') \
                                  .title('My pretty publication') \
                                  .build()
# Finally, publish it
client.publish(publication)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fluidtopics-0.2.0-py3-none-any.whl (56.7 kB view details)

Uploaded Python 3

File details

Details for the file fluidtopics-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fluidtopics-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 56.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for fluidtopics-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52fce928fc64b2c535185745a748fc03b1a671a26f45b4961fce2da3d4f25659
MD5 6f6315cd22cbda44891f02a972ce3b06
BLAKE2b-256 664859a181876115dd175f60c3957a0d810a9f4595caa27758d7bb462b15038a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page