opiproject / pydpu Goto Github PK
View Code? Open in Web Editor NEWPython library and cli to communicate with DPUs and IPUs
License: Apache License 2.0
Python library and cli to communicate with DPUs and IPUs
License: Apache License 2.0
see https://github.com/opiproject/opi-api/blob/main/security/Makefile#L13
docker run --user=$$(id -u):$$(id -g) --rm -v "${PWD}":/defs namely/protoc-all:1.47_2 --lint -d v1 -l python -o ./v1/gen/python/ --go-source-relative
opi-strongswan-bridge latest as of 10April2024
pydpu latest as of 10April2024
Python 3.9.18 (main, Jan 4 2024, 00:00:00)
[GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pydpu.proto.v1 import ipsec_pb2
>>> from pydpu.proto.v1 import ipsec_pb2_grpc
>>> import grpc
>>> channel = grpc.insecure_channel('127.0.0.1:50151')
>>> stub = ipsec_pb2_grpc.IPsecStub(channel)
>>> stub.IPsecVersion(ipsec_pb2.IPsecVersionReq())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.9/site-packages/grpc/_channel.py", line 1161, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/usr/lib64/python3.9/site-packages/grpc/_channel.py", line 1004, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNIMPLEMENTED
details = "unknown service opi_api.security.v1.IPsec"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"unknown service opi_api.security.v1.IPsec", grpc_status:12, created_time:"2024-04-03T22:25:46.477784688+00:00"}"
>```
consider adding new gh action like this, for example:
- uses: actions/checkout@v3
- name: Generate proto
run: make proto
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
docker-compose.yml
docker.io/opiproject/spdk v23.09
redis 7.2.3-alpine3.18
jaegertracing/all-in-one 1.53.0
Dockerfile
python 3.12.1-alpine
.github/workflows/codeql.yml
.github/workflows/commitlint.yml
.github/workflows/docker.yaml
actions/checkout v4
docker/setup-buildx-action v3.0.0
docker/login-action v3.0.0
docker/login-action v3.0.0
docker/metadata-action v5.5.0
docker/build-push-action v5.1.0
actions/checkout v4
docker/setup-qemu-action v3
docker/setup-buildx-action v3.0.0
.github/workflows/linters.yml
actions/checkout v4
actions/checkout v4
hadolint/hadolint-action v3.1.0
actions/checkout v4
azohra/shell-linter v0.6.0
.github/workflows/python.yaml
.github/workflows/release-please.yml
.github/workflows/release.yaml
actions/checkout v4
actions/setup-python v5
snok/install-poetry v1
.github/workflows/scorecard.yml
pyproject.toml
pyproject.toml
python >=3.8.1,<4.0
Click ^8.1
grpcio ^1.51.1
google ^3.0.0
google-api-core ^2.11.0
redfish ^3.2.1
black ^23.1.0
flake8 ^7.0.0
bandit ^1.7.4
isort ^5.12.0
bump2version ^1.0.1
grpcio-tools ^1.51.1
mypy-protobuf ^3.4.0
pytest ^7.2.1
pytest-cov ^4.0.0
.pre-commit-config.yaml
pre-commit/pre-commit-hooks v4.5.0
renovatebot/pre-commit-hooks 37.131.0
alessandrojcm/commitlint-pre-commit-hook v9.11.0
instead of implementing all those classes, maybe use tacklebox package ?
https://pypi.org/project/redfish-utilities/
https://github.com/DMTF/Redfish-Tacklebox
pydpu is 1 year old and i see api files changed, can we publish it to pypi please.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.