burst-link-protocol 1.0.0__cp310-cp310-win32.whl → 1.0.2__cp310-cp310-win32.whl
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.
- burst_interface_c.cp310-win32.pyd +0 -0
- {burst_link_protocol-1.0.0.dist-info → burst_link_protocol-1.0.2.dist-info}/METADATA +29 -40
- burst_link_protocol-1.0.2.dist-info/RECORD +7 -0
- {burst_link_protocol-1.0.0.dist-info → burst_link_protocol-1.0.2.dist-info}/WHEEL +1 -1
- burst_link_protocol-1.0.0.dist-info/RECORD +0 -7
- {burst_link_protocol-1.0.0.dist-info → burst_link_protocol-1.0.2.dist-info}/licenses/LICENSE +0 -0
Binary file
|
@@ -1,8 +1,9 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: burst-link-protocol
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.2
|
4
4
|
Summary: Binary Utility for Reliable Stream Transfer (BURST) is a library for encoding and decoding binary data streams into and from a byte stream.
|
5
5
|
Author-Email: Floris vernieuwe <floris@vernieuwe.eu>
|
6
|
+
License-File: LICENSE
|
6
7
|
Project-URL: Repository, https://github.com/Florioo/burst-link-protocol
|
7
8
|
Requires-Python: <4.0,>=3.10
|
8
9
|
Requires-Dist: cobs<2.0.0,>=1.2.1
|
@@ -11,30 +12,44 @@ Requires-Dist: crc<8.0.0,>=7.1.0
|
|
11
12
|
Requires-Dist: pytest<9.0.0,>=8.3.4
|
12
13
|
Requires-Dist: pytest-cov<7.0.0,>=6.0.0
|
13
14
|
Requires-Dist: pytest-benchmark<6.0.0,>=5.1.0
|
15
|
+
Provides-Extra: dev
|
14
16
|
Requires-Dist: scikit-build-core[pyproject]<0.11.0,>=0.10.7; extra == "dev"
|
15
17
|
Requires-Dist: nanobind<3.0.0,>=2.5.0; extra == "dev"
|
16
18
|
Requires-Dist: pytest<9.0.0,>=8.3.4; extra == "dev"
|
17
19
|
Requires-Dist: pytest-cov<7.0.0,>=6.0.0; extra == "dev"
|
18
20
|
Requires-Dist: pytest-benchmark<6.0.0,>=5.1.0; extra == "dev"
|
19
|
-
Provides-Extra: dev
|
20
21
|
Description-Content-Type: text/markdown
|
21
22
|
|
22
|
-
# BURST
|
23
|
-
Binary Utility for Reliable Stream Transfer (BURST) is a library
|
24
|
-
|
23
|
+
# BURST link protocol
|
24
|
+
Binary Utility for Reliable Stream Transfer (BURST) is a cross-platform library that provides a robust link layer protocol for transmitting binary data over streams (e.g. UART). It ensures data integrity by applying a 16-bit checksum and utilizes COBS (Consistent Overhead Byte Stuffing) encoding to format packets efficiently.
|
25
|
+
|
26
|
+
|
27
|
+
## Features
|
28
|
+
* Multi-language Support: Seamless integration with Python, C, and C++ projects.
|
29
|
+
* Reliable Transmission: 16-bit checksum ensures error detection.
|
30
|
+
* Efficient Encoding: Uses COBS encoding to convert data into a stream-friendly format.
|
31
|
+
|
32
|
+
## Design
|
33
|
+
The following diagram illustrates the data flow within the BURST protocol:
|
25
34
|
|
26
|
-
|
35
|
+

|
27
36
|
|
28
|
-
# Installation
|
37
|
+
# Installation
|
29
38
|
|
30
|
-
##
|
39
|
+
## Prebuilt Wheels
|
31
40
|
|
32
|
-
|
41
|
+
Prebuilt wheels are available for Windows, Linux and MacOS, they can be installed using pip:
|
33
42
|
```sh
|
34
|
-
pip install -
|
43
|
+
pip install burst-link-protocol
|
35
44
|
```
|
36
45
|
|
37
|
-
##
|
46
|
+
## From Source
|
47
|
+
Note: You need a valid C++ compiler and Python 3.7+ installed on your system.
|
48
|
+
|
49
|
+
Basic installation
|
50
|
+
```sh
|
51
|
+
pip install -e .
|
52
|
+
```
|
38
53
|
|
39
54
|
Fast build
|
40
55
|
```sh
|
@@ -55,36 +70,10 @@ They are generated automatically buy can also be generated
|
|
55
70
|
python -m nanobind.stubgen -m nanobind_example_ext
|
56
71
|
```
|
57
72
|
|
58
|
-
|
59
|
-
|
60
|
-
```
|
61
|
-
|
62
|
-
```
|
63
|
-
|
64
|
-
# Test
|
73
|
+
### Test
|
65
74
|
|
66
75
|
```sh
|
67
|
-
pytest
|
76
|
+
pytest test
|
68
77
|
```
|
69
78
|
|
70
|
-
# BURST protocol
|
71
|
-
TODO
|
72
|
-
* STAGE 1
|
73
|
-
* Convert cpp to c files [OK]
|
74
|
-
* Formalise naming [OK]
|
75
|
-
* Add c encode functions [OK]
|
76
|
-
* Test c encode functions [OK]
|
77
|
-
* Update README
|
78
|
-
* Improve poetry.toml [OK]
|
79
|
-
|
80
|
-
|
81
|
-
* STAGE 2
|
82
|
-
* Add CI/CD on github to compile x86
|
83
|
-
* Fix dependencies once compilation succeeds
|
84
|
-
* Publish on pypi
|
85
|
-
* STAGE 3
|
86
|
-
* Add a way to get C test coverage
|
87
|
-
|
88
|
-
|
89
|
-
|
90
79
|
|
@@ -0,0 +1,7 @@
|
|
1
|
+
burst_interface_c.cp310-win32.pyd,sha256=Tz1kzQdUlhJSlKSIA8OTsunoU6gUB4H-gloqHaFaNe0,391168
|
2
|
+
burst_link_protocol/__init__.py,sha256=KISkm1e-VcDx29uyFp-4M76cox3LBfcPCOrrv9gv1QM,135
|
3
|
+
burst_link_protocol/main.py,sha256=Eicgf3yp8DxnI5SspCKD7jm5C4tNZWKKBoYdCfGrUis,1211
|
4
|
+
burst_link_protocol-1.0.2.dist-info/METADATA,sha256=Pv-4urUGPWE0Wrju9Y3iYZ34Lfqc11BgGnTg-saiDms,2355
|
5
|
+
burst_link_protocol-1.0.2.dist-info/WHEEL,sha256=9LtaN4HaT0zyHIB__dD5Fveq1OnFymArvWqxYIRGx2o,102
|
6
|
+
burst_link_protocol-1.0.2.dist-info/licenses/LICENSE,sha256=ES97GlwZLdiS8tIJLfRhCRha2fXrcp6sl3D0jDUoh98,17097
|
7
|
+
burst_link_protocol-1.0.2.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
burst_interface_c.cp310-win32.pyd,sha256=8fT7nN7o5hc3Qx5oknyNgzCfBBIs-JlIZFXBwjI6joY,390656
|
2
|
-
burst_link_protocol/__init__.py,sha256=KISkm1e-VcDx29uyFp-4M76cox3LBfcPCOrrv9gv1QM,135
|
3
|
-
burst_link_protocol/main.py,sha256=Eicgf3yp8DxnI5SspCKD7jm5C4tNZWKKBoYdCfGrUis,1211
|
4
|
-
burst_link_protocol-1.0.0.dist-info/METADATA,sha256=yP1FK2zuzGkH-WUjhksOpLnivdA3f818CeTkk6UlomI,2178
|
5
|
-
burst_link_protocol-1.0.0.dist-info/WHEEL,sha256=Jo8ToU2hV5YuPkKVjfss3viHcL26PBf8PgbBTLsKik4,102
|
6
|
-
burst_link_protocol-1.0.0.dist-info/licenses/LICENSE,sha256=ES97GlwZLdiS8tIJLfRhCRha2fXrcp6sl3D0jDUoh98,17097
|
7
|
-
burst_link_protocol-1.0.0.dist-info/RECORD,,
|
{burst_link_protocol-1.0.0.dist-info → burst_link_protocol-1.0.2.dist-info}/licenses/LICENSE
RENAMED
File without changes
|