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.5.2.tar.gz (17.2 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.5.2-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for simiotics-0.5.2.tar.gz
Algorithm Hash digest
SHA256 b831f7d79ed335b86a54d46ba318f1c412d977db525999e3aba0258717b827bc
MD5 5f8754860648dfda5e0a75608fbdea4d
BLAKE2b-256 f4d8860b08b4e856286a0b41ccb1c0dfaa462cdc72236471c48558259ae72a63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simiotics-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 19.5 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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

File hashes

Hashes for simiotics-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a67aae5034e7933b9a2a95f6faea637eb968c601630981d393268f1acfce61e
MD5 283fc6333c861af7a8faae6fc8472ff6
BLAKE2b-256 92e9791c5536e46fc050ecc45b88536ee4b9b481b994886a72d89aff923a4d42

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 Pingdom Monitoring Sentry Error logging StatusPage Status page