linuxcnc-grpc 0.6.0b5__tar.gz → 1.0.0b2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/PKG-INFO +16 -5
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/README.md +15 -4
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/linuxcnc_grpc.egg-info/PKG-INFO +16 -5
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/pyproject.toml +1 -1
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/LICENSE +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/linuxcnc_grpc.egg-info/SOURCES.txt +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/linuxcnc_grpc.egg-info/dependency_links.txt +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/linuxcnc_grpc.egg-info/entry_points.txt +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/linuxcnc_grpc.egg-info/requires.txt +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/linuxcnc_grpc.egg-info/top_level.txt +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/packages/python/linuxcnc_pb/__init__.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/packages/python/linuxcnc_pb/hal_pb2.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/packages/python/linuxcnc_pb/hal_pb2_grpc.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/packages/python/linuxcnc_pb/linuxcnc_pb2.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/packages/python/linuxcnc_pb/linuxcnc_pb2_grpc.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/setup.cfg +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/src/linuxcnc_grpc/__init__.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/src/linuxcnc_grpc/_generated/__init__.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/src/linuxcnc_grpc/hal_mapper.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/src/linuxcnc_grpc/hal_service.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/src/linuxcnc_grpc/linuxcnc_mapper.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/src/linuxcnc_grpc/linuxcnc_service.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/src/linuxcnc_grpc/server.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/tests/test_e2e.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/tests/test_examples_syntax.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/tests/test_hal_mapper.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/tests/test_hal_service.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/tests/test_integration.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/tests/test_linuxcnc_mapper.py +0 -0
- {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/tests/test_linuxcnc_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: linuxcnc-grpc
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0b2
|
|
4
4
|
Summary: gRPC server exposing LinuxCNC machine control and HAL functionality
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Repository, https://github.com/dougcalobrisi/linuxcnc-grpc
|
|
@@ -32,6 +32,11 @@ Dynamic: license-file
|
|
|
32
32
|
|
|
33
33
|
# linuxcnc-grpc
|
|
34
34
|
|
|
35
|
+
[](https://pypi.org/project/linuxcnc-grpc/)
|
|
36
|
+
[](https://www.npmjs.com/package/linuxcnc-grpc)
|
|
37
|
+
[](https://crates.io/crates/linuxcnc-grpc)
|
|
38
|
+
[](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
|
|
39
|
+
|
|
35
40
|
gRPC interface for LinuxCNC machine control and HAL (Hardware Abstraction Layer).
|
|
36
41
|
|
|
37
42
|
## Why gRPC?
|
|
@@ -67,7 +72,7 @@ To start the gRPC server automatically when LinuxCNC launches, add to your machi
|
|
|
67
72
|
|
|
68
73
|
```hal
|
|
69
74
|
# Start gRPC server (runs until LinuxCNC exits)
|
|
70
|
-
loadusr
|
|
75
|
+
loadusr linuxcnc-grpc --host 0.0.0.0 --port 50051
|
|
71
76
|
```
|
|
72
77
|
|
|
73
78
|
Or use a dedicated HAL file via your INI:
|
|
@@ -77,8 +82,6 @@ Or use a dedicated HAL file via your INI:
|
|
|
77
82
|
POSTGUI_HALFILE = grpc-server.hal
|
|
78
83
|
```
|
|
79
84
|
|
|
80
|
-
The `-W` flag tells LinuxCNC to wait for the server to become ready before continuing.
|
|
81
|
-
|
|
82
85
|
## Quick Start
|
|
83
86
|
|
|
84
87
|
### Python
|
|
@@ -87,6 +90,8 @@ The `-W` flag tells LinuxCNC to wait for the server to become ready before conti
|
|
|
87
90
|
pip install linuxcnc-grpc
|
|
88
91
|
```
|
|
89
92
|
|
|
93
|
+
> [PyPI package](https://pypi.org/project/linuxcnc-grpc/)
|
|
94
|
+
|
|
90
95
|
```python
|
|
91
96
|
import grpc
|
|
92
97
|
from linuxcnc_pb import linuxcnc_pb2, linuxcnc_pb2_grpc
|
|
@@ -104,6 +109,8 @@ print(f"Position: X={status.position.x:.3f} Y={status.position.y:.3f} Z={status.
|
|
|
104
109
|
go get github.com/dougcalobrisi/linuxcnc-grpc
|
|
105
110
|
```
|
|
106
111
|
|
|
112
|
+
> [pkg.go.dev](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
|
|
113
|
+
|
|
107
114
|
```go
|
|
108
115
|
import (
|
|
109
116
|
pb "github.com/dougcalobrisi/linuxcnc-grpc/packages/go"
|
|
@@ -124,6 +131,8 @@ fmt.Printf("Position: X=%.3f Y=%.3f Z=%.3f\n", status.Position.X, status.Positio
|
|
|
124
131
|
npm install linuxcnc-grpc
|
|
125
132
|
```
|
|
126
133
|
|
|
134
|
+
> [npm package](https://www.npmjs.com/package/linuxcnc-grpc)
|
|
135
|
+
|
|
127
136
|
```typescript
|
|
128
137
|
import * as grpc from "@grpc/grpc-js";
|
|
129
138
|
import { LinuxCNCServiceClient, GetStatusRequest } from "linuxcnc-grpc";
|
|
@@ -137,9 +146,11 @@ client.getStatus(GetStatusRequest.create(), (err, status) => {
|
|
|
137
146
|
|
|
138
147
|
### Rust
|
|
139
148
|
|
|
149
|
+
> [crates.io](https://crates.io/crates/linuxcnc-grpc)
|
|
150
|
+
|
|
140
151
|
```toml
|
|
141
152
|
[dependencies]
|
|
142
|
-
linuxcnc-grpc = "0
|
|
153
|
+
linuxcnc-grpc = "1.0"
|
|
143
154
|
tokio = { version = "1", features = ["full"] }
|
|
144
155
|
tonic = "0.12"
|
|
145
156
|
```
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# linuxcnc-grpc
|
|
2
2
|
|
|
3
|
+
[](https://pypi.org/project/linuxcnc-grpc/)
|
|
4
|
+
[](https://www.npmjs.com/package/linuxcnc-grpc)
|
|
5
|
+
[](https://crates.io/crates/linuxcnc-grpc)
|
|
6
|
+
[](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
|
|
7
|
+
|
|
3
8
|
gRPC interface for LinuxCNC machine control and HAL (Hardware Abstraction Layer).
|
|
4
9
|
|
|
5
10
|
## Why gRPC?
|
|
@@ -35,7 +40,7 @@ To start the gRPC server automatically when LinuxCNC launches, add to your machi
|
|
|
35
40
|
|
|
36
41
|
```hal
|
|
37
42
|
# Start gRPC server (runs until LinuxCNC exits)
|
|
38
|
-
loadusr
|
|
43
|
+
loadusr linuxcnc-grpc --host 0.0.0.0 --port 50051
|
|
39
44
|
```
|
|
40
45
|
|
|
41
46
|
Or use a dedicated HAL file via your INI:
|
|
@@ -45,8 +50,6 @@ Or use a dedicated HAL file via your INI:
|
|
|
45
50
|
POSTGUI_HALFILE = grpc-server.hal
|
|
46
51
|
```
|
|
47
52
|
|
|
48
|
-
The `-W` flag tells LinuxCNC to wait for the server to become ready before continuing.
|
|
49
|
-
|
|
50
53
|
## Quick Start
|
|
51
54
|
|
|
52
55
|
### Python
|
|
@@ -55,6 +58,8 @@ The `-W` flag tells LinuxCNC to wait for the server to become ready before conti
|
|
|
55
58
|
pip install linuxcnc-grpc
|
|
56
59
|
```
|
|
57
60
|
|
|
61
|
+
> [PyPI package](https://pypi.org/project/linuxcnc-grpc/)
|
|
62
|
+
|
|
58
63
|
```python
|
|
59
64
|
import grpc
|
|
60
65
|
from linuxcnc_pb import linuxcnc_pb2, linuxcnc_pb2_grpc
|
|
@@ -72,6 +77,8 @@ print(f"Position: X={status.position.x:.3f} Y={status.position.y:.3f} Z={status.
|
|
|
72
77
|
go get github.com/dougcalobrisi/linuxcnc-grpc
|
|
73
78
|
```
|
|
74
79
|
|
|
80
|
+
> [pkg.go.dev](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
|
|
81
|
+
|
|
75
82
|
```go
|
|
76
83
|
import (
|
|
77
84
|
pb "github.com/dougcalobrisi/linuxcnc-grpc/packages/go"
|
|
@@ -92,6 +99,8 @@ fmt.Printf("Position: X=%.3f Y=%.3f Z=%.3f\n", status.Position.X, status.Positio
|
|
|
92
99
|
npm install linuxcnc-grpc
|
|
93
100
|
```
|
|
94
101
|
|
|
102
|
+
> [npm package](https://www.npmjs.com/package/linuxcnc-grpc)
|
|
103
|
+
|
|
95
104
|
```typescript
|
|
96
105
|
import * as grpc from "@grpc/grpc-js";
|
|
97
106
|
import { LinuxCNCServiceClient, GetStatusRequest } from "linuxcnc-grpc";
|
|
@@ -105,9 +114,11 @@ client.getStatus(GetStatusRequest.create(), (err, status) => {
|
|
|
105
114
|
|
|
106
115
|
### Rust
|
|
107
116
|
|
|
117
|
+
> [crates.io](https://crates.io/crates/linuxcnc-grpc)
|
|
118
|
+
|
|
108
119
|
```toml
|
|
109
120
|
[dependencies]
|
|
110
|
-
linuxcnc-grpc = "0
|
|
121
|
+
linuxcnc-grpc = "1.0"
|
|
111
122
|
tokio = { version = "1", features = ["full"] }
|
|
112
123
|
tonic = "0.12"
|
|
113
124
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: linuxcnc-grpc
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0b2
|
|
4
4
|
Summary: gRPC server exposing LinuxCNC machine control and HAL functionality
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Repository, https://github.com/dougcalobrisi/linuxcnc-grpc
|
|
@@ -32,6 +32,11 @@ Dynamic: license-file
|
|
|
32
32
|
|
|
33
33
|
# linuxcnc-grpc
|
|
34
34
|
|
|
35
|
+
[](https://pypi.org/project/linuxcnc-grpc/)
|
|
36
|
+
[](https://www.npmjs.com/package/linuxcnc-grpc)
|
|
37
|
+
[](https://crates.io/crates/linuxcnc-grpc)
|
|
38
|
+
[](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
|
|
39
|
+
|
|
35
40
|
gRPC interface for LinuxCNC machine control and HAL (Hardware Abstraction Layer).
|
|
36
41
|
|
|
37
42
|
## Why gRPC?
|
|
@@ -67,7 +72,7 @@ To start the gRPC server automatically when LinuxCNC launches, add to your machi
|
|
|
67
72
|
|
|
68
73
|
```hal
|
|
69
74
|
# Start gRPC server (runs until LinuxCNC exits)
|
|
70
|
-
loadusr
|
|
75
|
+
loadusr linuxcnc-grpc --host 0.0.0.0 --port 50051
|
|
71
76
|
```
|
|
72
77
|
|
|
73
78
|
Or use a dedicated HAL file via your INI:
|
|
@@ -77,8 +82,6 @@ Or use a dedicated HAL file via your INI:
|
|
|
77
82
|
POSTGUI_HALFILE = grpc-server.hal
|
|
78
83
|
```
|
|
79
84
|
|
|
80
|
-
The `-W` flag tells LinuxCNC to wait for the server to become ready before continuing.
|
|
81
|
-
|
|
82
85
|
## Quick Start
|
|
83
86
|
|
|
84
87
|
### Python
|
|
@@ -87,6 +90,8 @@ The `-W` flag tells LinuxCNC to wait for the server to become ready before conti
|
|
|
87
90
|
pip install linuxcnc-grpc
|
|
88
91
|
```
|
|
89
92
|
|
|
93
|
+
> [PyPI package](https://pypi.org/project/linuxcnc-grpc/)
|
|
94
|
+
|
|
90
95
|
```python
|
|
91
96
|
import grpc
|
|
92
97
|
from linuxcnc_pb import linuxcnc_pb2, linuxcnc_pb2_grpc
|
|
@@ -104,6 +109,8 @@ print(f"Position: X={status.position.x:.3f} Y={status.position.y:.3f} Z={status.
|
|
|
104
109
|
go get github.com/dougcalobrisi/linuxcnc-grpc
|
|
105
110
|
```
|
|
106
111
|
|
|
112
|
+
> [pkg.go.dev](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
|
|
113
|
+
|
|
107
114
|
```go
|
|
108
115
|
import (
|
|
109
116
|
pb "github.com/dougcalobrisi/linuxcnc-grpc/packages/go"
|
|
@@ -124,6 +131,8 @@ fmt.Printf("Position: X=%.3f Y=%.3f Z=%.3f\n", status.Position.X, status.Positio
|
|
|
124
131
|
npm install linuxcnc-grpc
|
|
125
132
|
```
|
|
126
133
|
|
|
134
|
+
> [npm package](https://www.npmjs.com/package/linuxcnc-grpc)
|
|
135
|
+
|
|
127
136
|
```typescript
|
|
128
137
|
import * as grpc from "@grpc/grpc-js";
|
|
129
138
|
import { LinuxCNCServiceClient, GetStatusRequest } from "linuxcnc-grpc";
|
|
@@ -137,9 +146,11 @@ client.getStatus(GetStatusRequest.create(), (err, status) => {
|
|
|
137
146
|
|
|
138
147
|
### Rust
|
|
139
148
|
|
|
149
|
+
> [crates.io](https://crates.io/crates/linuxcnc-grpc)
|
|
150
|
+
|
|
140
151
|
```toml
|
|
141
152
|
[dependencies]
|
|
142
|
-
linuxcnc-grpc = "0
|
|
153
|
+
linuxcnc-grpc = "1.0"
|
|
143
154
|
tokio = { version = "1", features = ["full"] }
|
|
144
155
|
tonic = "0.12"
|
|
145
156
|
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0b2}/packages/python/linuxcnc_pb/linuxcnc_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|