
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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!
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.
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.
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:
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-grpc
Python 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.
FAQs
Senzing Python SDK over gRPC
We found that senzing-grpc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.