We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26df5e2 commit 0228c84Copy full SHA for 0228c84
examples/server.py
@@ -1,6 +1,5 @@
1
from SimpleRPC import GrpcServer
2
from pydantic import BaseModel
3
-import asyncio
4
5
class RequestModel(BaseModel):
6
num1: int
project.toml
@@ -0,0 +1,19 @@
+[tool.poetry]
+name = "simple-rpc"
+version = "0.0.1"
+description = "Simple framework to create your own gRPC server with grpcio"
+authors = ["NF-coder"]
+license = "MIT License"
7
+readme = "README.md"
8
+packages = [
9
+ { include = "SimpleRPC" },
10
+]
11
+
12
+[tool.poetry.dependencies]
13
+python = "^3.12"
14
+grpcio = "~1.71.0"
15
+pydantic = "^2.8.2"
16
17
+[build-system]
18
+requires = ["poetry-core"]
19
+build-backend = "poetry.core.masonry.api"
0 commit comments