Skip to main content

Simiotics Python client library

This package contains the Simiotics Python client library. It allows you to interact with Simiotics APIs directly from your Python programs.

Registries

This library currently supports interaction with the following types of Simiotics registries:

  1. Data registries
  2. Function registries

The Simiotics client reads registry-related configuration from environment variables:

  1. To connect to a data registry, set the SIMIOTICS_DATA_REGISTRY environment variable to point at a data registry instance (e.g. export SIMIOTICS_DATA_REGISTRY=registry-alpha.simiotics.com:7010)
  2. To connect to a function registry, set the SIMIOTICS_FUNCTION_REGISTRY environment variable to point at a function registry instance (e.g. export SIMIOTICS_FUNCTION_REGISTRY=registry-alpha.simiotics.com:7011)

To communicate with a registry, you must first instantiate a registry client:

import simiotics.client

simiotics = simiotics.client.client_from_env()

If you specified SIMIOTICS_DATA_REGISTRY in your environment, you can access that registry using simiotics.data_registry.

If you specified SIMIOTICS_FUNCTION_REGISTRY in your environment, you can access that registry using simiotics.function_registry.

The simiotics_s3 tool provides a good example of how to use these registries. For example, the list_data_sources function shows how to list all the sources registered against a data registry.

simiotics_s3 is a very convenient wrapper around the simiotics client library and we will likely merge it into the client library proper in an upcoming version.

Download files

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

Source Distribution

simiotics-0.3.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simiotics-0.3.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file simiotics-0.3.0.tar.gz.

File metadata

  • Download URL: simiotics-0.3.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for simiotics-0.3.0.tar.gz
Algorithm Hash digest
SHA256 33268d0b64a34bf6cad73929149b4062b71cf71043980c41aed3d85f9e5a9cc3
MD5 f516f8042cfedc304eee1ac666f843b8
BLAKE2b-256 3d33c41e5a4721f0ec2ccdb79166b72b9a00fc012b7f9c58a33bbec6dba086e7

See more details on using hashes here.

File details

Details for the file simiotics-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: simiotics-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 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/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for simiotics-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcb9afd8c735ea8c52ccb55cd5b8ca7379ed324cf362a40e47227cf6d38d3c91
MD5 b03f80bd6dee5c2f4ae898dda232b443
BLAKE2b-256 9d5314f67ca56e2347858d1e73ace9f13506f8d1076ebd298ceb295b8855d2f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page