linuxcnc-grpc 0.6.0b3__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.0b3 → linuxcnc_grpc-1.0.0}/PKG-INFO +31 -18
  2. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/README.md +25 -14
  3. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/PKG-INFO +31 -18
  4. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/pyproject.toml +6 -4
  5. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/__init__.py +1 -1
  6. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/LICENSE +0 -0
  7. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/SOURCES.txt +0 -0
  8. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/dependency_links.txt +0 -0
  9. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/entry_points.txt +0 -0
  10. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/requires.txt +0 -0
  11. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/linuxcnc_grpc.egg-info/top_level.txt +0 -0
  12. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/packages/python/linuxcnc_pb/__init__.py +0 -0
  13. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/packages/python/linuxcnc_pb/hal_pb2.py +0 -0
  14. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/packages/python/linuxcnc_pb/hal_pb2_grpc.py +0 -0
  15. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/packages/python/linuxcnc_pb/linuxcnc_pb2.py +0 -0
  16. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/packages/python/linuxcnc_pb/linuxcnc_pb2_grpc.py +0 -0
  17. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/setup.cfg +0 -0
  18. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/_generated/__init__.py +0 -0
  19. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/hal_mapper.py +0 -0
  20. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/hal_service.py +0 -0
  21. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/linuxcnc_mapper.py +0 -0
  22. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/linuxcnc_service.py +0 -0
  23. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/src/linuxcnc_grpc/server.py +0 -0
  24. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/tests/test_e2e.py +0 -0
  25. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/tests/test_examples_syntax.py +0 -0
  26. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/tests/test_hal_mapper.py +0 -0
  27. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/tests/test_hal_service.py +0 -0
  28. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/tests/test_integration.py +0 -0
  29. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/tests/test_linuxcnc_mapper.py +0 -0
  30. {linuxcnc_grpc-0.6.0b3 → linuxcnc_grpc-1.0.0}/tests/test_linuxcnc_service.py +0 -0
@@ -1,22 +1,24 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: linuxcnc-grpc
3
- Version: 0.6.0b3
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
12
15
  Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.9
14
16
  Classifier: Programming Language :: Python :: 3.10
15
17
  Classifier: Programming Language :: Python :: 3.11
16
18
  Classifier: Programming Language :: Python :: 3.12
17
19
  Classifier: Programming Language :: Python :: 3.13
18
20
  Classifier: Topic :: Scientific/Engineering
19
- Requires-Python: >=3.9
21
+ Requires-Python: >=3.10
20
22
  Description-Content-Type: text/markdown
21
23
  License-File: LICENSE
22
24
  Requires-Dist: grpcio>=1.60.0
@@ -33,6 +35,11 @@ Dynamic: license-file
33
35
 
34
36
  # linuxcnc-grpc
35
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
+
36
43
  gRPC interface for LinuxCNC machine control and HAL (Hardware Abstraction Layer).
37
44
 
38
45
  ## Why gRPC?
@@ -68,7 +75,7 @@ To start the gRPC server automatically when LinuxCNC launches, add to your machi
68
75
 
69
76
  ```hal
70
77
  # Start gRPC server (runs until LinuxCNC exits)
71
- loadusr -W linuxcnc-grpc --host 0.0.0.0 --port 50051
78
+ loadusr linuxcnc-grpc --host 0.0.0.0 --port 50051
72
79
  ```
73
80
 
74
81
  Or use a dedicated HAL file via your INI:
@@ -78,8 +85,6 @@ Or use a dedicated HAL file via your INI:
78
85
  POSTGUI_HALFILE = grpc-server.hal
79
86
  ```
80
87
 
81
- The `-W` flag tells LinuxCNC to wait for the server to become ready before continuing.
82
-
83
88
  ## Quick Start
84
89
 
85
90
  ### Python
@@ -88,6 +93,8 @@ The `-W` flag tells LinuxCNC to wait for the server to become ready before conti
88
93
  pip install linuxcnc-grpc
89
94
  ```
90
95
 
96
+ > [PyPI package](https://pypi.org/project/linuxcnc-grpc/)
97
+
91
98
  ```python
92
99
  import grpc
93
100
  from linuxcnc_pb import linuxcnc_pb2, linuxcnc_pb2_grpc
@@ -105,6 +112,8 @@ print(f"Position: X={status.position.x:.3f} Y={status.position.y:.3f} Z={status.
105
112
  go get github.com/dougcalobrisi/linuxcnc-grpc
106
113
  ```
107
114
 
115
+ > [pkg.go.dev](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
116
+
108
117
  ```go
109
118
  import (
110
119
  pb "github.com/dougcalobrisi/linuxcnc-grpc/packages/go"
@@ -125,6 +134,8 @@ fmt.Printf("Position: X=%.3f Y=%.3f Z=%.3f\n", status.Position.X, status.Positio
125
134
  npm install linuxcnc-grpc
126
135
  ```
127
136
 
137
+ > [npm package](https://www.npmjs.com/package/linuxcnc-grpc)
138
+
128
139
  ```typescript
129
140
  import * as grpc from "@grpc/grpc-js";
130
141
  import { LinuxCNCServiceClient, GetStatusRequest } from "linuxcnc-grpc";
@@ -138,9 +149,11 @@ client.getStatus(GetStatusRequest.create(), (err, status) => {
138
149
 
139
150
  ### Rust
140
151
 
152
+ > [crates.io](https://crates.io/crates/linuxcnc-grpc)
153
+
141
154
  ```toml
142
155
  [dependencies]
143
- linuxcnc-grpc = "0.5"
156
+ linuxcnc-grpc = "1.0"
144
157
  tokio = { version = "1", features = ["full"] }
145
158
  tonic = "0.12"
146
159
  ```
@@ -160,14 +173,14 @@ Complete examples for all supported languages:
160
173
 
161
174
  | Example | Description | Python | Go | Node.js | Rust |
162
175
  |---------|-------------|--------|-----|---------|------|
163
- | `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) |
164
- | `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) |
165
- | `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) |
166
- | `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) |
167
- | `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) |
168
- | `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) |
169
182
 
170
- 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.
171
184
 
172
185
  ## Services
173
186
 
@@ -209,7 +222,7 @@ credentials = grpc.ssl_channel_credentials(root_certificates)
209
222
  channel = grpc.secure_channel('your-machine:50051', credentials)
210
223
  ```
211
224
 
212
- 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.
213
226
 
214
227
  ## Development
215
228
 
@@ -227,8 +240,8 @@ make test-all # All languages
227
240
  make proto-all # Regenerate for all languages
228
241
  ```
229
242
 
230
- 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.
231
244
 
232
245
  ## License
233
246
 
234
- [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,22 +1,24 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: linuxcnc-grpc
3
- Version: 0.6.0b3
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
12
15
  Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.9
14
16
  Classifier: Programming Language :: Python :: 3.10
15
17
  Classifier: Programming Language :: Python :: 3.11
16
18
  Classifier: Programming Language :: Python :: 3.12
17
19
  Classifier: Programming Language :: Python :: 3.13
18
20
  Classifier: Topic :: Scientific/Engineering
19
- Requires-Python: >=3.9
21
+ Requires-Python: >=3.10
20
22
  Description-Content-Type: text/markdown
21
23
  License-File: LICENSE
22
24
  Requires-Dist: grpcio>=1.60.0
@@ -33,6 +35,11 @@ Dynamic: license-file
33
35
 
34
36
  # linuxcnc-grpc
35
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
+
36
43
  gRPC interface for LinuxCNC machine control and HAL (Hardware Abstraction Layer).
37
44
 
38
45
  ## Why gRPC?
@@ -68,7 +75,7 @@ To start the gRPC server automatically when LinuxCNC launches, add to your machi
68
75
 
69
76
  ```hal
70
77
  # Start gRPC server (runs until LinuxCNC exits)
71
- loadusr -W linuxcnc-grpc --host 0.0.0.0 --port 50051
78
+ loadusr linuxcnc-grpc --host 0.0.0.0 --port 50051
72
79
  ```
73
80
 
74
81
  Or use a dedicated HAL file via your INI:
@@ -78,8 +85,6 @@ Or use a dedicated HAL file via your INI:
78
85
  POSTGUI_HALFILE = grpc-server.hal
79
86
  ```
80
87
 
81
- The `-W` flag tells LinuxCNC to wait for the server to become ready before continuing.
82
-
83
88
  ## Quick Start
84
89
 
85
90
  ### Python
@@ -88,6 +93,8 @@ The `-W` flag tells LinuxCNC to wait for the server to become ready before conti
88
93
  pip install linuxcnc-grpc
89
94
  ```
90
95
 
96
+ > [PyPI package](https://pypi.org/project/linuxcnc-grpc/)
97
+
91
98
  ```python
92
99
  import grpc
93
100
  from linuxcnc_pb import linuxcnc_pb2, linuxcnc_pb2_grpc
@@ -105,6 +112,8 @@ print(f"Position: X={status.position.x:.3f} Y={status.position.y:.3f} Z={status.
105
112
  go get github.com/dougcalobrisi/linuxcnc-grpc
106
113
  ```
107
114
 
115
+ > [pkg.go.dev](https://pkg.go.dev/github.com/dougcalobrisi/linuxcnc-grpc)
116
+
108
117
  ```go
109
118
  import (
110
119
  pb "github.com/dougcalobrisi/linuxcnc-grpc/packages/go"
@@ -125,6 +134,8 @@ fmt.Printf("Position: X=%.3f Y=%.3f Z=%.3f\n", status.Position.X, status.Positio
125
134
  npm install linuxcnc-grpc
126
135
  ```
127
136
 
137
+ > [npm package](https://www.npmjs.com/package/linuxcnc-grpc)
138
+
128
139
  ```typescript
129
140
  import * as grpc from "@grpc/grpc-js";
130
141
  import { LinuxCNCServiceClient, GetStatusRequest } from "linuxcnc-grpc";
@@ -138,9 +149,11 @@ client.getStatus(GetStatusRequest.create(), (err, status) => {
138
149
 
139
150
  ### Rust
140
151
 
152
+ > [crates.io](https://crates.io/crates/linuxcnc-grpc)
153
+
141
154
  ```toml
142
155
  [dependencies]
143
- linuxcnc-grpc = "0.5"
156
+ linuxcnc-grpc = "1.0"
144
157
  tokio = { version = "1", features = ["full"] }
145
158
  tonic = "0.12"
146
159
  ```
@@ -160,14 +173,14 @@ Complete examples for all supported languages:
160
173
 
161
174
  | Example | Description | Python | Go | Node.js | Rust |
162
175
  |---------|-------------|--------|-----|---------|------|
163
- | `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) |
164
- | `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) |
165
- | `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) |
166
- | `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) |
167
- | `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) |
168
- | `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) |
169
182
 
170
- 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.
171
184
 
172
185
  ## Services
173
186
 
@@ -209,7 +222,7 @@ credentials = grpc.ssl_channel_credentials(root_certificates)
209
222
  channel = grpc.secure_channel('your-machine:50051', credentials)
210
223
  ```
211
224
 
212
- 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.
213
226
 
214
227
  ## Development
215
228
 
@@ -227,8 +240,8 @@ make test-all # All languages
227
240
  make proto-all # Regenerate for all languages
228
241
  ```
229
242
 
230
- 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.
231
244
 
232
245
  ## License
233
246
 
234
- [MIT](LICENSE)
247
+ [MIT](https://github.com/dougcalobrisi/linuxcnc-grpc/blob/main/LICENSE)
@@ -4,19 +4,18 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "linuxcnc-grpc"
7
- version = "0.6.0b3"
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
- requires-python = ">=3.9"
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",
18
18
  "Programming Language :: Python :: 3",
19
- "Programming Language :: Python :: 3.9",
20
19
  "Programming Language :: Python :: 3.10",
21
20
  "Programming Language :: Python :: 3.11",
22
21
  "Programming Language :: Python :: 3.12",
@@ -37,7 +36,10 @@ build = ["build>=1.0.0", "twine>=5.0.0"]
37
36
  linuxcnc-grpc = "linuxcnc_grpc.server:main"
38
37
 
39
38
  [project.urls]
39
+ Homepage = "https://github.com/dougcalobrisi/linuxcnc-grpc"
40
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"
41
43
 
42
44
  [tool.setuptools.packages.find]
43
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