
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
智眼Grpc SDK
安装依赖:
pip install -U grpcio protobuf grpcio-tools
生成gRPC代码:
在libzygrpc目录下运行
python -m grpc_tools.protoc -I . --python_out=python/ --grpc_python_out=python/ proto/zhiyan_rpc.proto
gRPC工具会生成两个Python文件:
生成 proto/zhiyan_rpc_pb2_grpc.py
文件后,需要确认其中导入 zhiyan_rpc_pb2.py
是否正确:
from proto import zhiyan_rpc_pb2 as proto_dot_zhiyan__rpc__pb2
pip install -U zygrpc
比如:
from proto import zhiyan_rpc_pb2
安装依赖包:
pip install -U setuptools wheel
运行:
rm -rf build/ dist/ zygrpc.egg-info/ && python setup.py bdist_wheel
在 dist
目录下会生成类似 zygrpc-1.0.0-py3-none-any.whl
的安装包。
全局安装:
sudo pip install -U dist/zygrpc-0.0.1-py3-none-any.whl
用户目录安装:
pip install --user -U dist/zygrpc-0.0.1-py3-none-any.whl
pip uninstall zygrpc
FAQs
ZhiYan Python gRPC SDK
We found that zygrpc 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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.