Senzing Python SDK over gRPC
Project description
sz-sdk-python-grpc
If you are beginning your journey with Senzing, please start with Senzing Quick Start guides.
You are in the Senzing Garage where projects are "tinkered" on. Although this GitHub repository may help you understand an approach to using Senzing, it's not considered to be "production ready" and is not considered to be part of the Senzing product. Heck, it may not even be appropriate for your application of Senzing!
:warning: WARNING: sz-sdk-python-grpc is still in development :warning: _
At the moment, this is "work-in-progress" with Semantic Versions of 0.n.x.
Although it can be reviewed and commented on,
the recommendation is not to use it yet.
Synopsis
The Senzing sz-sdk-python-grpc package provides a Python Software Development Kit
adhering to the abstract classes of sz-sdk-python
that communicates with a Senzing gRPC server.
Overview
The Senzing sz-sdk-python-grpc packages enable Python programs to call Senzing library functions
across a network to a Senzing gRPC server.
The sz-sdk-python-grpc package implements the following sz-sdk-python interfaces:
Other implementations of the sz-sdk-python interface include:
- sz-sdk-python-core - for calling Senzing SDK APIs natively
Use
The following example shows how to start a Senzing gRPC server Docker container
and access it using the senzing_grpc Python package.
-
Run a Senzing gRPC service using Docker.
docker run -it --name senzing-serve-grpc -p 8261:8261 --pull always --read-only --rm senzing/serve-grpc -
In a separate window, install the
senzing-grpcPython package.python3 -m pip install --upgrade senzing-grpc -
Start an interactive Python session.
python3 -
Paste the following into the interactive Python session.
import grpc from senzing_grpc import SzAbstractFactoryGrpc sz_abstract_factory = SzAbstractFactoryGrpc(grpc_channel=grpc.insecure_channel("localhost:8261")) sz_product = sz_abstract_factory.create_product() print(sz_product.get_version())
More can be seen in Examples.
References
- Development
- Errors
- Examples
- Related artifacts:
- sz-sdk-python package reference
Project details
Release history Release notifications | RSS feed
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 senzing_grpc-0.5.6.tar.gz.
File metadata
- Download URL: senzing_grpc-0.5.6.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9b55fd529f8af5f6be1fec0609b04f76a5734b26d838d59a24767553096094c
|
|
| MD5 |
757aa2ae6834d378ed1b5a4f1cce797d
|
|
| BLAKE2b-256 |
436f428099971438e2e20eaea1aeba38ad8273e07812d10dc9c490a8da71d867
|
Provenance
The following attestation bundles were made for senzing_grpc-0.5.6.tar.gz:
Publisher:
publish-to-pypi.yaml on senzing-garage/sz-sdk-python-grpc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
senzing_grpc-0.5.6.tar.gz -
Subject digest:
a9b55fd529f8af5f6be1fec0609b04f76a5734b26d838d59a24767553096094c - Sigstore transparency entry: 211392240
- Sigstore integration time:
-
Permalink:
senzing-garage/sz-sdk-python-grpc@9d47366e7973e06d63242768551cca8cd37ef87a -
Branch / Tag:
refs/tags/0.5.6 - Owner: https://github.com/senzing-garage
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yaml@9d47366e7973e06d63242768551cca8cd37ef87a -
Trigger Event:
push
-
Statement type:
File details
Details for the file senzing_grpc-0.5.6-py3-none-any.whl.
File metadata
- Download URL: senzing_grpc-0.5.6-py3-none-any.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d7bd6edc631360c28e4f0c00ef1b6a2cfd380ad1b3676d156853c1746efe713
|
|
| MD5 |
1c759b45a3ce0e3f81f974b1c3cff661
|
|
| BLAKE2b-256 |
0ac4df6b1124ec840a643315f90e920ec3c07ac499bc2f646497567af8532df2
|
Provenance
The following attestation bundles were made for senzing_grpc-0.5.6-py3-none-any.whl:
Publisher:
publish-to-pypi.yaml on senzing-garage/sz-sdk-python-grpc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
senzing_grpc-0.5.6-py3-none-any.whl -
Subject digest:
0d7bd6edc631360c28e4f0c00ef1b6a2cfd380ad1b3676d156853c1746efe713 - Sigstore transparency entry: 211392244
- Sigstore integration time:
-
Permalink:
senzing-garage/sz-sdk-python-grpc@9d47366e7973e06d63242768551cca8cd37ef87a -
Branch / Tag:
refs/tags/0.5.6 - Owner: https://github.com/senzing-garage
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yaml@9d47366e7973e06d63242768551cca8cd37ef87a -
Trigger Event:
push
-
Statement type: