burst-link-protocol 1.0.0__cp312-abi3-musllinux_1_2_i686.whl → 1.0.2__cp312-abi3-musllinux_1_2_i686.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.abi3.so CHANGED
Binary file
@@ -1,8 +1,9 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: burst-link-protocol
3
- Version: 1.0.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 interface
23
- Binary Utility for Reliable Stream Transfer (BURST) is a library for encoding and decoding binary data streams, a packet format.
24
- It combines a 16 bit checksum and cobs encoding to convert packets into a format that can be sent over a stream.
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
- This projects is written so it can be used both in python, c and c++ based project
35
+ ![design](docs/design.svg "design")
27
36
 
28
- # Installation instuctions
37
+ # Installation
29
38
 
30
- ## As an user
39
+ ## Prebuilt Wheels
31
40
 
32
- Simple installation
41
+ Prebuilt wheels are available for Windows, Linux and MacOS, they can be installed using pip:
33
42
  ```sh
34
- pip install -e .
43
+ pip install burst-link-protocol
35
44
  ```
36
45
 
37
- ## As a developer
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
- # Publishing instructions
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,8 @@
1
+ burst_interface_c.abi3.so,sha256=4UviRuGVCnaDlJaGH1c_56mtEA6B8zHuHk4zcr6qjyA,2564436
2
+ burst_interface_c.pyi,sha256=x_agiw2iVgDi2qJOOwEpWXVsV14K6GtJgcMqOBqjASQ,193
3
+ burst_link_protocol/main.py,sha256=Pu67bwI7Szk1Y_AdrFVRTBCvl0o45uhFJTd8b0KQl_E,1170
4
+ burst_link_protocol/__init__.py,sha256=cyEhIzfFlNOtubh_JjZg6bGSGn_sPq8daTi4cYBKnxc,132
5
+ burst_link_protocol-1.0.2.dist-info/WHEEL,sha256=Er0vA2Y60NhrF6MDXiDuEAw0l-fX7Wa1UHShS-ydbP4,114
6
+ burst_link_protocol-1.0.2.dist-info/RECORD,,
7
+ burst_link_protocol-1.0.2.dist-info/METADATA,sha256=Pv-4urUGPWE0Wrju9Y3iYZ34Lfqc11BgGnTg-saiDms,2355
8
+ burst_link_protocol-1.0.2.dist-info/licenses/LICENSE,sha256=x290DRUhub7ZynoErVJsMQSTxiYhsTQdYjtDFzZTOzA,16725
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: scikit-build-core 0.10.7
2
+ Generator: scikit-build-core 0.11.0
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-abi3-musllinux_1_2_i686
5
5
 
@@ -1,8 +0,0 @@
1
- burst_interface_c.abi3.so,sha256=wfT-Vt_5XStoWK-kBqXqYPEb-zPrnL5RsPu_t7ITNBg,2564436
2
- burst_interface_c.pyi,sha256=x_agiw2iVgDi2qJOOwEpWXVsV14K6GtJgcMqOBqjASQ,193
3
- burst_link_protocol/__init__.py,sha256=cyEhIzfFlNOtubh_JjZg6bGSGn_sPq8daTi4cYBKnxc,132
4
- burst_link_protocol/main.py,sha256=Pu67bwI7Szk1Y_AdrFVRTBCvl0o45uhFJTd8b0KQl_E,1170
5
- burst_link_protocol-1.0.0.dist-info/WHEEL,sha256=4MIf4s0n1kvbqx0cJHkyWZ-1jktvjlQncoHZq8W7_wk,114
6
- burst_link_protocol-1.0.0.dist-info/METADATA,sha256=yP1FK2zuzGkH-WUjhksOpLnivdA3f818CeTkk6UlomI,2178
7
- burst_link_protocol-1.0.0.dist-info/RECORD,,
8
- burst_link_protocol-1.0.0.dist-info/licenses/LICENSE,sha256=x290DRUhub7ZynoErVJsMQSTxiYhsTQdYjtDFzZTOzA,16725