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:
- Data registries
- Function registries
The Simiotics client reads registry-related configuration from environment variables:
- To connect to a data registry, set the
SIMIOTICS_DATA_REGISTRYenvironment variable to point at a data registry instance (e.g.export SIMIOTICS_DATA_REGISTRY=registry-alpha.simiotics.com:7010) - To connect to a function registry, set the
SIMIOTICS_FUNCTION_REGISTRYenvironment 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simiotics-0.5.1.tar.gz.
File metadata
- Download URL: simiotics-0.5.1.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/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f30e7e961d5ce00845f5724b184745c360376f726cc6ae11649846a34de972d9
|
|
| MD5 |
253d6ab7aef98b766e0de6c916018080
|
|
| BLAKE2b-256 |
fb4790483937cc4caced3a0c328cf9bde4a9b795ab93749317f814c333446f3d
|
File details
Details for the file simiotics-0.5.1-py3-none-any.whl.
File metadata
- Download URL: simiotics-0.5.1-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/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d79413abbc1fe5b9e057ef5540e2b3c0b8150a0d737efcd267b1d8e08b06719d
|
|
| MD5 |
5623eefc793866b15ff05943fb3c845d
|
|
| BLAKE2b-256 |
2656531f131f0cf199889dddd8c84bdb8ac78f433447950045e74635259c13b4
|