linuxcnc-grpc 0.6.0b5__tar.gz → 1.0.0__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.
Files changed (30) hide show
  1. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/PKG-INFO +30 -16
  2. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/README.md +25 -14
  3. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/PKG-INFO +30 -16
  4. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/pyproject.toml +5 -2
  5. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/__init__.py +1 -1
  6. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/LICENSE +0 -0
  7. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/SOURCES.txt +0 -0
  8. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/dependency_links.txt +0 -0
  9. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/entry_points.txt +0 -0
  10. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/requires.txt +0 -0
  11. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/top_level.txt +0 -0
  12. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/packages/python/linuxcnc_pb/__init__.py +0 -0
  13. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/packages/python/linuxcnc_pb/hal_pb2.py +0 -0
  14. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/packages/python/linuxcnc_pb/hal_pb2_grpc.py +0 -0
  15. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/packages/python/linuxcnc_pb/linuxcnc_pb2.py +0 -0
  16. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/packages/python/linuxcnc_pb/linuxcnc_pb2_grpc.py +0 -0
  17. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/setup.cfg +0 -0
  18. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/_generated/__init__.py +0 -0
  19. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/hal_mapper.py +0 -0
  20. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/hal_service.py +0 -0
  21. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/linuxcnc_mapper.py +0 -0
  22. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/linuxcnc_service.py +0 -0
  23. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/server.py +0 -0
  24. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/tests/test_e2e.py +0 -0
  25. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/tests/test_examples_syntax.py +0 -0
  26. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/tests/test_hal_mapper.py +0 -0
  27. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/tests/test_hal_service.py +0 -0
  28. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/tests/test_integration.py +0 -0
  29. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/tests/test_linuxcnc_mapper.py +0 -0
  30. {linuxcnc_grpc-0.6.0b5 → linuxcnc_grpc-1.0.0}/tests/test_linuxcnc_service.py +0 -0
@@ -1,11 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: linuxcnc-grpc
3
- Version: 0.6.0b5
3
+ Version: 1.0.0
4
4
  Summary: gRPC server exposing LinuxCNC machine control and HAL functionality
5
5
  License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/dougcalobrisi/linuxcnc-grpc
6
7
  Project-URL: Repository, https://github.com/dougcalobrisi/linuxcnc-grpc
8
+ Project-URL: Documentation, https://github.com/dougcalobrisi/linuxcnc-grpc/tree/main/docs
9
+ Project-URL: Bug Tracker, https://github.com/dougcalobrisi/linuxcnc-grpc/issues
7
10
  Keywords: linuxcnc,cnc,grpc,machine-control,hal
8
- Classifier: Development Status :: 4 - Beta
11
+ Classifier: Development Status :: 5 - Production/Stable
9
12
  Classifier: Intended Audience :: Developers
10
13
  Classifier: Intended Audience :: Manufacturing
11
14
  Classifier: Operating System :: POSIX :: Linux
@@ -32,6 +35,11 @@ Dynamic: license-file
32
35
 
33
36
  # linuxcnc-grpc
34
37
 
38
+ [![PyPI](https://img.shields.io/pypi/v/linuxcnc-grpc)](https://pypi.org/project/linuxcnc-grpc/)
39
+ [![npm](https://img.shields.io/npm/v/linuxcnc-grpc)](https://www.npmjs.com/package/linuxcnc-grpc)
40
+ [![crates.io](https://img.shields.io/crates/v/linuxcnc-grpc)](https://crates.io/crates/linuxcnc-grpc)
41
+ [![Go Reference](https://pkg.go.dev/badge/github.com/dougcalobrisi/linuxcnc-grpc.svg)](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
42
+
35
43
  gRPC interface for LinuxCNC machine control and HAL (Hardware Abstraction Layer).
36
44
 
37
45
  ## Why gRPC?
@@ -67,7 +75,7 @@ To start the gRPC server automatically when LinuxCNC launches, add to your machi
67
75
 
68
76
  ```hal
69
77
  # Start gRPC server (runs until LinuxCNC exits)
70
- loadusr -W linuxcnc-grpc --host 0.0.0.0 --port 50051
78
+ loadusr linuxcnc-grpc --host 0.0.0.0 --port 50051
71
79
  ```
72
80
 
73
81
  Or use a dedicated HAL file via your INI:
@@ -77,8 +85,6 @@ Or use a dedicated HAL file via your INI:
77
85
  POSTGUI_HALFILE = grpc-server.hal
78
86
  ```
79
87
 
80
- The `-W` flag tells LinuxCNC to wait for the server to become ready before continuing.
81
-
82
88
  ## Quick Start
83
89
 
84
90
  ### Python
@@ -87,6 +93,8 @@ The `-W` flag tells LinuxCNC to wait for the server to become ready before conti
87
93
  pip install linuxcnc-grpc
88
94
  ```
89
95
 
96
+ > [PyPI package](https://pypi.org/project/linuxcnc-grpc/)
97
+
90
98
  ```python
91
99
  import grpc
92
100
  from linuxcnc_pb import linuxcnc_pb2, linuxcnc_pb2_grpc
@@ -104,6 +112,8 @@ print(f"Position: X={status.position.x:.3f} Y={status.position.y:.3f} Z={status.
104
112
  go get github.com/dougcalobrisi/linuxcnc-grpc
105
113
  ```
106
114
 
115
+ > [pkg.go.dev](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
116
+
107
117
  ```go
108
118
  import (
109
119
  pb "github.com/dougcalobrisi/linuxcnc-grpc/packages/go"
@@ -124,6 +134,8 @@ fmt.Printf("Position: X=%.3f Y=%.3f Z=%.3f\n", status.Position.X, status.Positio
124
134
  npm install linuxcnc-grpc
125
135
  ```
126
136
 
137
+ > [npm package](https://www.npmjs.com/package/linuxcnc-grpc)
138
+
127
139
  ```typescript
128
140
  import * as grpc from "@grpc/grpc-js";
129
141
  import { LinuxCNCServiceClient, GetStatusRequest } from "linuxcnc-grpc";
@@ -137,9 +149,11 @@ client.getStatus(GetStatusRequest.create(), (err, status) => {
137
149
 
138
150
  ### Rust
139
151
 
152
+ > [crates.io](https://crates.io/crates/linuxcnc-grpc)
153
+
140
154
  ```toml
141
155
  [dependencies]
142
- linuxcnc-grpc = "0.5"
156
+ linuxcnc-grpc = "1.0"
143
157
  tokio = { version = "1", features = ["full"] }
144
158
  tonic = "0.12"
145
159
  ```
@@ -159,14 +173,14 @@ Complete examples for all supported languages:
159
173
 
160
174
  | Example | Description | Python | Go | Node.js | Rust |
161
175
  |---------|-------------|--------|-----|---------|------|
162
- | `get_status` | Poll machine status | [view](examples/python/get_status.py) | [view](examples/go/cmd/get_status/main.go) | [view](examples/node/get_status.ts) | [view](examples/rust/src/bin/get_status.rs) |
163
- | `stream_status` | Real-time status streaming | [view](examples/python/stream_status.py) | [view](examples/go/cmd/stream_status/main.go) | [view](examples/node/stream_status.ts) | [view](examples/rust/src/bin/stream_status.rs) |
164
- | `jog_axis` | Jog axes with keyboard | [view](examples/python/jog_axis.py) | [view](examples/go/cmd/jog_axis/main.go) | [view](examples/node/jog_axis.ts) | [view](examples/rust/src/bin/jog_axis.rs) |
165
- | `mdi_command` | Execute G-code via MDI | [view](examples/python/mdi_command.py) | [view](examples/go/cmd/mdi_command/main.go) | [view](examples/node/mdi_command.ts) | [view](examples/rust/src/bin/mdi_command.rs) |
166
- | `hal_query` | Query HAL pins/signals | [view](examples/python/hal_query.py) | [view](examples/go/cmd/hal_query/main.go) | [view](examples/node/hal_query.ts) | [view](examples/rust/src/bin/hal_query.rs) |
167
- | `upload_file` | Upload, list, delete G-code files | [view](examples/python/upload_file.py) | [view](examples/go/cmd/upload_file/main.go) | [view](examples/node/upload_file.ts) | [view](examples/rust/src/bin/upload_file.rs) |
176
+ | `get_status` | Poll machine status | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/get_status.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/get_status/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/get_status.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/get_status.rs) |
177
+ | `stream_status` | Real-time status streaming | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/stream_status.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/stream_status/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/stream_status.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/stream_status.rs) |
178
+ | `jog_axis` | Jog axes with keyboard | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/jog_axis.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/jog_axis/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/jog_axis.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/jog_axis.rs) |
179
+ | `mdi_command` | Execute G-code via MDI | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/mdi_command.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/mdi_command/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/mdi_command.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/mdi_command.rs) |
180
+ | `hal_query` | Query HAL pins/signals | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/hal_query.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/hal_query/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/hal_query.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/hal_query.rs) |
181
+ | `upload_file` | Upload, list, delete G-code files | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/upload_file.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/upload_file/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/upload_file.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/upload_file.rs) |
168
182
 
169
- See [examples/README.md](examples/README.md) for setup instructions.
183
+ See [examples/README.md](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/README.md) for setup instructions.
170
184
 
171
185
  ## Services
172
186
 
@@ -208,7 +222,7 @@ credentials = grpc.ssl_channel_credentials(root_certificates)
208
222
  channel = grpc.secure_channel('your-machine:50051', credentials)
209
223
  ```
210
224
 
211
- See [Server Configuration](docs/server.md#security-considerations) for complete TLS setup instructions.
225
+ See [Server Configuration](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/docs/server.md#security-considerations) for complete TLS setup instructions.
212
226
 
213
227
  ## Development
214
228
 
@@ -226,8 +240,8 @@ make test-all # All languages
226
240
  make proto-all # Regenerate for all languages
227
241
  ```
228
242
 
229
- See [CLAUDE.md](CLAUDE.md) for detailed development documentation.
243
+ See [CLAUDE.md](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/CLAUDE.md) for detailed development documentation.
230
244
 
231
245
  ## License
232
246
 
233
- [MIT](LICENSE)
247
+ [MIT](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/LICENSE)
@@ -1,5 +1,10 @@
1
1
  # linuxcnc-grpc
2
2
 
3
+ [![PyPI](https://img.shields.io/pypi/v/linuxcnc-grpc)](https://pypi.org/project/linuxcnc-grpc/)
4
+ [![npm](https://img.shields.io/npm/v/linuxcnc-grpc)](https://www.npmjs.com/package/linuxcnc-grpc)
5
+ [![crates.io](https://img.shields.io/crates/v/linuxcnc-grpc)](https://crates.io/crates/linuxcnc-grpc)
6
+ [![Go Reference](https://pkg.go.dev/badge/github.com/dougcalobrisi/linuxcnc-grpc.svg)](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 -W linuxcnc-grpc --host 0.0.0.0 --port 50051
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.5"
121
+ linuxcnc-grpc = "1.0"
111
122
  tokio = { version = "1", features = ["full"] }
112
123
  tonic = "0.12"
113
124
  ```
@@ -127,14 +138,14 @@ Complete examples for all supported languages:
127
138
 
128
139
  | Example | Description | Python | Go | Node.js | Rust |
129
140
  |---------|-------------|--------|-----|---------|------|
130
- | `get_status` | Poll machine status | [view](examples/python/get_status.py) | [view](examples/go/cmd/get_status/main.go) | [view](examples/node/get_status.ts) | [view](examples/rust/src/bin/get_status.rs) |
131
- | `stream_status` | Real-time status streaming | [view](examples/python/stream_status.py) | [view](examples/go/cmd/stream_status/main.go) | [view](examples/node/stream_status.ts) | [view](examples/rust/src/bin/stream_status.rs) |
132
- | `jog_axis` | Jog axes with keyboard | [view](examples/python/jog_axis.py) | [view](examples/go/cmd/jog_axis/main.go) | [view](examples/node/jog_axis.ts) | [view](examples/rust/src/bin/jog_axis.rs) |
133
- | `mdi_command` | Execute G-code via MDI | [view](examples/python/mdi_command.py) | [view](examples/go/cmd/mdi_command/main.go) | [view](examples/node/mdi_command.ts) | [view](examples/rust/src/bin/mdi_command.rs) |
134
- | `hal_query` | Query HAL pins/signals | [view](examples/python/hal_query.py) | [view](examples/go/cmd/hal_query/main.go) | [view](examples/node/hal_query.ts) | [view](examples/rust/src/bin/hal_query.rs) |
135
- | `upload_file` | Upload, list, delete G-code files | [view](examples/python/upload_file.py) | [view](examples/go/cmd/upload_file/main.go) | [view](examples/node/upload_file.ts) | [view](examples/rust/src/bin/upload_file.rs) |
141
+ | `get_status` | Poll machine status | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/get_status.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/get_status/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/get_status.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/get_status.rs) |
142
+ | `stream_status` | Real-time status streaming | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/stream_status.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/stream_status/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/stream_status.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/stream_status.rs) |
143
+ | `jog_axis` | Jog axes with keyboard | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/jog_axis.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/jog_axis/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/jog_axis.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/jog_axis.rs) |
144
+ | `mdi_command` | Execute G-code via MDI | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/mdi_command.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/mdi_command/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/mdi_command.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/mdi_command.rs) |
145
+ | `hal_query` | Query HAL pins/signals | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/hal_query.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/hal_query/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/hal_query.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/hal_query.rs) |
146
+ | `upload_file` | Upload, list, delete G-code files | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/upload_file.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/upload_file/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/upload_file.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/upload_file.rs) |
136
147
 
137
- See [examples/README.md](examples/README.md) for setup instructions.
148
+ See [examples/README.md](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/README.md) for setup instructions.
138
149
 
139
150
  ## Services
140
151
 
@@ -176,7 +187,7 @@ credentials = grpc.ssl_channel_credentials(root_certificates)
176
187
  channel = grpc.secure_channel('your-machine:50051', credentials)
177
188
  ```
178
189
 
179
- See [Server Configuration](docs/server.md#security-considerations) for complete TLS setup instructions.
190
+ See [Server Configuration](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/docs/server.md#security-considerations) for complete TLS setup instructions.
180
191
 
181
192
  ## Development
182
193
 
@@ -194,8 +205,8 @@ make test-all # All languages
194
205
  make proto-all # Regenerate for all languages
195
206
  ```
196
207
 
197
- See [CLAUDE.md](CLAUDE.md) for detailed development documentation.
208
+ See [CLAUDE.md](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/CLAUDE.md) for detailed development documentation.
198
209
 
199
210
  ## License
200
211
 
201
- [MIT](LICENSE)
212
+ [MIT](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/LICENSE)
@@ -1,11 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: linuxcnc-grpc
3
- Version: 0.6.0b5
3
+ Version: 1.0.0
4
4
  Summary: gRPC server exposing LinuxCNC machine control and HAL functionality
5
5
  License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/dougcalobrisi/linuxcnc-grpc
6
7
  Project-URL: Repository, https://github.com/dougcalobrisi/linuxcnc-grpc
8
+ Project-URL: Documentation, https://github.com/dougcalobrisi/linuxcnc-grpc/tree/main/docs
9
+ Project-URL: Bug Tracker, https://github.com/dougcalobrisi/linuxcnc-grpc/issues
7
10
  Keywords: linuxcnc,cnc,grpc,machine-control,hal
8
- Classifier: Development Status :: 4 - Beta
11
+ Classifier: Development Status :: 5 - Production/Stable
9
12
  Classifier: Intended Audience :: Developers
10
13
  Classifier: Intended Audience :: Manufacturing
11
14
  Classifier: Operating System :: POSIX :: Linux
@@ -32,6 +35,11 @@ Dynamic: license-file
32
35
 
33
36
  # linuxcnc-grpc
34
37
 
38
+ [![PyPI](https://img.shields.io/pypi/v/linuxcnc-grpc)](https://pypi.org/project/linuxcnc-grpc/)
39
+ [![npm](https://img.shields.io/npm/v/linuxcnc-grpc)](https://www.npmjs.com/package/linuxcnc-grpc)
40
+ [![crates.io](https://img.shields.io/crates/v/linuxcnc-grpc)](https://crates.io/crates/linuxcnc-grpc)
41
+ [![Go Reference](https://pkg.go.dev/badge/github.com/dougcalobrisi/linuxcnc-grpc.svg)](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
42
+
35
43
  gRPC interface for LinuxCNC machine control and HAL (Hardware Abstraction Layer).
36
44
 
37
45
  ## Why gRPC?
@@ -67,7 +75,7 @@ To start the gRPC server automatically when LinuxCNC launches, add to your machi
67
75
 
68
76
  ```hal
69
77
  # Start gRPC server (runs until LinuxCNC exits)
70
- loadusr -W linuxcnc-grpc --host 0.0.0.0 --port 50051
78
+ loadusr linuxcnc-grpc --host 0.0.0.0 --port 50051
71
79
  ```
72
80
 
73
81
  Or use a dedicated HAL file via your INI:
@@ -77,8 +85,6 @@ Or use a dedicated HAL file via your INI:
77
85
  POSTGUI_HALFILE = grpc-server.hal
78
86
  ```
79
87
 
80
- The `-W` flag tells LinuxCNC to wait for the server to become ready before continuing.
81
-
82
88
  ## Quick Start
83
89
 
84
90
  ### Python
@@ -87,6 +93,8 @@ The `-W` flag tells LinuxCNC to wait for the server to become ready before conti
87
93
  pip install linuxcnc-grpc
88
94
  ```
89
95
 
96
+ > [PyPI package](https://pypi.org/project/linuxcnc-grpc/)
97
+
90
98
  ```python
91
99
  import grpc
92
100
  from linuxcnc_pb import linuxcnc_pb2, linuxcnc_pb2_grpc
@@ -104,6 +112,8 @@ print(f"Position: X={status.position.x:.3f} Y={status.position.y:.3f} Z={status.
104
112
  go get github.com/dougcalobrisi/linuxcnc-grpc
105
113
  ```
106
114
 
115
+ > [pkg.go.dev](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
116
+
107
117
  ```go
108
118
  import (
109
119
  pb "github.com/dougcalobrisi/linuxcnc-grpc/packages/go"
@@ -124,6 +134,8 @@ fmt.Printf("Position: X=%.3f Y=%.3f Z=%.3f\n", status.Position.X, status.Positio
124
134
  npm install linuxcnc-grpc
125
135
  ```
126
136
 
137
+ > [npm package](https://www.npmjs.com/package/linuxcnc-grpc)
138
+
127
139
  ```typescript
128
140
  import * as grpc from "@grpc/grpc-js";
129
141
  import { LinuxCNCServiceClient, GetStatusRequest } from "linuxcnc-grpc";
@@ -137,9 +149,11 @@ client.getStatus(GetStatusRequest.create(), (err, status) => {
137
149
 
138
150
  ### Rust
139
151
 
152
+ > [crates.io](https://crates.io/crates/linuxcnc-grpc)
153
+
140
154
  ```toml
141
155
  [dependencies]
142
- linuxcnc-grpc = "0.5"
156
+ linuxcnc-grpc = "1.0"
143
157
  tokio = { version = "1", features = ["full"] }
144
158
  tonic = "0.12"
145
159
  ```
@@ -159,14 +173,14 @@ Complete examples for all supported languages:
159
173
 
160
174
  | Example | Description | Python | Go | Node.js | Rust |
161
175
  |---------|-------------|--------|-----|---------|------|
162
- | `get_status` | Poll machine status | [view](examples/python/get_status.py) | [view](examples/go/cmd/get_status/main.go) | [view](examples/node/get_status.ts) | [view](examples/rust/src/bin/get_status.rs) |
163
- | `stream_status` | Real-time status streaming | [view](examples/python/stream_status.py) | [view](examples/go/cmd/stream_status/main.go) | [view](examples/node/stream_status.ts) | [view](examples/rust/src/bin/stream_status.rs) |
164
- | `jog_axis` | Jog axes with keyboard | [view](examples/python/jog_axis.py) | [view](examples/go/cmd/jog_axis/main.go) | [view](examples/node/jog_axis.ts) | [view](examples/rust/src/bin/jog_axis.rs) |
165
- | `mdi_command` | Execute G-code via MDI | [view](examples/python/mdi_command.py) | [view](examples/go/cmd/mdi_command/main.go) | [view](examples/node/mdi_command.ts) | [view](examples/rust/src/bin/mdi_command.rs) |
166
- | `hal_query` | Query HAL pins/signals | [view](examples/python/hal_query.py) | [view](examples/go/cmd/hal_query/main.go) | [view](examples/node/hal_query.ts) | [view](examples/rust/src/bin/hal_query.rs) |
167
- | `upload_file` | Upload, list, delete G-code files | [view](examples/python/upload_file.py) | [view](examples/go/cmd/upload_file/main.go) | [view](examples/node/upload_file.ts) | [view](examples/rust/src/bin/upload_file.rs) |
176
+ | `get_status` | Poll machine status | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/get_status.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/get_status/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/get_status.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/get_status.rs) |
177
+ | `stream_status` | Real-time status streaming | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/stream_status.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/stream_status/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/stream_status.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/stream_status.rs) |
178
+ | `jog_axis` | Jog axes with keyboard | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/jog_axis.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/jog_axis/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/jog_axis.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/jog_axis.rs) |
179
+ | `mdi_command` | Execute G-code via MDI | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/mdi_command.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/mdi_command/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/mdi_command.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/mdi_command.rs) |
180
+ | `hal_query` | Query HAL pins/signals | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/hal_query.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/hal_query/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/hal_query.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/hal_query.rs) |
181
+ | `upload_file` | Upload, list, delete G-code files | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/python/upload_file.py) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/go/cmd/upload_file/main.go) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/node/upload_file.ts) | [view](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/rust/src/bin/upload_file.rs) |
168
182
 
169
- See [examples/README.md](examples/README.md) for setup instructions.
183
+ See [examples/README.md](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/examples/README.md) for setup instructions.
170
184
 
171
185
  ## Services
172
186
 
@@ -208,7 +222,7 @@ credentials = grpc.ssl_channel_credentials(root_certificates)
208
222
  channel = grpc.secure_channel('your-machine:50051', credentials)
209
223
  ```
210
224
 
211
- See [Server Configuration](docs/server.md#security-considerations) for complete TLS setup instructions.
225
+ See [Server Configuration](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/docs/server.md#security-considerations) for complete TLS setup instructions.
212
226
 
213
227
  ## Development
214
228
 
@@ -226,8 +240,8 @@ make test-all # All languages
226
240
  make proto-all # Regenerate for all languages
227
241
  ```
228
242
 
229
- See [CLAUDE.md](CLAUDE.md) for detailed development documentation.
243
+ See [CLAUDE.md](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/CLAUDE.md) for detailed development documentation.
230
244
 
231
245
  ## License
232
246
 
233
- [MIT](LICENSE)
247
+ [MIT](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/LICENSE)
@@ -4,14 +4,14 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "linuxcnc-grpc"
7
- version = "0.6.0b5"
7
+ version = "1.0.0"
8
8
  description = "gRPC server exposing LinuxCNC machine control and HAL functionality"
9
9
  readme = "README.md"
10
10
  license = "MIT"
11
11
  requires-python = ">=3.10"
12
12
  keywords = ["linuxcnc", "cnc", "grpc", "machine-control", "hal"]
13
13
  classifiers = [
14
- "Development Status :: 4 - Beta",
14
+ "Development Status :: 5 - Production/Stable",
15
15
  "Intended Audience :: Developers",
16
16
  "Intended Audience :: Manufacturing",
17
17
  "Operating System :: POSIX :: Linux",
@@ -36,7 +36,10 @@ build = ["build>=1.0.0", "twine>=5.0.0"]
36
36
  linuxcnc-grpc = "linuxcnc_grpc.server:main"
37
37
 
38
38
  [project.urls]
39
+ Homepage = "https://github.com/dougcalobrisi/linuxcnc-grpc"
39
40
  Repository = "https://github.com/dougcalobrisi/linuxcnc-grpc"
41
+ Documentation = "https://github.com/dougcalobrisi/linuxcnc-grpc/tree/main/docs"
42
+ "Bug Tracker" = "https://github.com/dougcalobrisi/linuxcnc-grpc/issues"
40
43
 
41
44
  [tool.setuptools.packages.find]
42
45
  where = ["src", "packages/python"]
@@ -18,7 +18,7 @@ Direct proto access:
18
18
  from linuxcnc_pb import linuxcnc_pb2, hal_pb2
19
19
  """
20
20
 
21
- __version__ = "0.5.0"
21
+ __version__ = "1.0.0"
22
22
 
23
23
  # =============================================================================
24
24
  # RE-EXPORT ALL PROTOBUF TYPES FROM linuxcnc_pb
File without changes
File without changes