burst-link-protocol 0.1.0__tar.gz → 0.1.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/.github/workflows/pip.yml +4 -4
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/.github/workflows/wheel.yml +8 -11
- burst_link_protocol-0.1.1/PKG-INFO +89 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/pyproject.toml +2 -2
- burst_link_protocol-0.1.0/PKG-INFO +0 -18
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/.github/dependabot.yml +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/.gitignore +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/.vscode/c_cpp_properties.json +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/.vscode/launch.json +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/.vscode/settings.json +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/.vscode/tasks.json +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/CMakeLists.txt +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/README.md +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/src/burst_interface.h +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/src/burst_link_protocol/__init__.py +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/src/burst_link_protocol/main.py +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/src/crc.c +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/src/crc.h +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/src/decoder.c +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/src/encoder.c +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/src/python_bindings.cpp +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/test/test_c_validation.py +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/test/test_python_validation.py +0 -0
- {burst_link_protocol-0.1.0 → burst_link_protocol-0.1.1}/test/test_speed.py +0 -0
@@ -2,10 +2,10 @@ name: Wheels
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
workflow_dispatch:
|
5
|
-
pull_request:
|
6
|
-
push:
|
7
|
-
|
8
|
-
|
5
|
+
# pull_request:
|
6
|
+
# push:
|
7
|
+
# branches:
|
8
|
+
# - master
|
9
9
|
release:
|
10
10
|
types:
|
11
11
|
- published
|
@@ -37,9 +37,7 @@ jobs:
|
|
37
37
|
strategy:
|
38
38
|
fail-fast: false
|
39
39
|
matrix:
|
40
|
-
os: [ubuntu-latest
|
41
|
-
# , macos-13, macos-14, windows-latest
|
42
|
-
]
|
40
|
+
os: [ubuntu-latest, macos-13, macos-14, windows-latest]
|
43
41
|
|
44
42
|
steps:
|
45
43
|
- uses: actions/checkout@v4
|
@@ -49,8 +47,8 @@ jobs:
|
|
49
47
|
- uses: pypa/cibuildwheel@v2.22
|
50
48
|
# only build 3.12
|
51
49
|
env:
|
52
|
-
|
53
|
-
CIBW_BUILD: "cp312-manylinux_x86_64"
|
50
|
+
CIBW_BUILD: "cp312-*"
|
51
|
+
# CIBW_BUILD: "cp312-manylinux_x86_64"
|
54
52
|
|
55
53
|
- name: Verify clean directory
|
56
54
|
run: git diff --exit-code
|
@@ -66,10 +64,9 @@ jobs:
|
|
66
64
|
name: Upload if release
|
67
65
|
needs: [build_wheels, build_sdist]
|
68
66
|
runs-on: ubuntu-latest
|
69
|
-
# if: github.event_name == 'release' && github.event.action == 'published'
|
70
67
|
permissions:
|
71
68
|
id-token: write
|
72
|
-
environment: pypi_release
|
69
|
+
# environment: pypi_release
|
73
70
|
|
74
71
|
steps:
|
75
72
|
- uses: actions/setup-python@v5
|
@@ -0,0 +1,89 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: burst-link-protocol
|
3
|
+
Version: 0.1.1
|
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
|
+
Author-Email: Floris vernieuwe <floris@vernieuwe.eu>
|
6
|
+
Requires-Python: <4.0,>=3.10
|
7
|
+
Requires-Dist: cobs<2.0.0,>=1.2.1
|
8
|
+
Requires-Dist: numpy<3.0.0,>=2.2.3
|
9
|
+
Requires-Dist: crc<8.0.0,>=7.1.0
|
10
|
+
Requires-Dist: pytest<9.0.0,>=8.3.4
|
11
|
+
Requires-Dist: pytest-cov<7.0.0,>=6.0.0
|
12
|
+
Requires-Dist: pytest-benchmark<6.0.0,>=5.1.0
|
13
|
+
Requires-Dist: scikit-build-core[pyproject]<0.11.0,>=0.10.7; extra == "dev"
|
14
|
+
Requires-Dist: nanobind<3.0.0,>=2.5.0; extra == "dev"
|
15
|
+
Requires-Dist: pytest<9.0.0,>=8.3.4; extra == "dev"
|
16
|
+
Requires-Dist: pytest-cov<7.0.0,>=6.0.0; extra == "dev"
|
17
|
+
Requires-Dist: pytest-benchmark<6.0.0,>=5.1.0; extra == "dev"
|
18
|
+
Provides-Extra: dev
|
19
|
+
Description-Content-Type: text/markdown
|
20
|
+
|
21
|
+
# BURST interface
|
22
|
+
Binary Utility for Reliable Stream Transfer (BURST) is a library for encoding and decoding binary data streams, a packet format.
|
23
|
+
It combines a 16 bit checksum and cobs encoding to convert packets into a format that can be sent over a stream.
|
24
|
+
|
25
|
+
This projects is written so it can be used both in python, c and c++ based project
|
26
|
+
|
27
|
+
# Installation instuctions
|
28
|
+
|
29
|
+
## As an user
|
30
|
+
|
31
|
+
Simple installation
|
32
|
+
```sh
|
33
|
+
pip install -e .
|
34
|
+
```
|
35
|
+
|
36
|
+
## As a developer
|
37
|
+
|
38
|
+
Fast build
|
39
|
+
```sh
|
40
|
+
pip install --no-build-isolation -ve .
|
41
|
+
```
|
42
|
+
|
43
|
+
Auto rebuild on run
|
44
|
+
```sh
|
45
|
+
pip install --no-build-isolation -Ceditable.rebuild=true -ve .
|
46
|
+
```
|
47
|
+
|
48
|
+
|
49
|
+
### Python Stub files generation
|
50
|
+
|
51
|
+
They are generated automatically buy can also be generated
|
52
|
+
|
53
|
+
```
|
54
|
+
python -m nanobind.stubgen -m nanobind_example_ext
|
55
|
+
```
|
56
|
+
|
57
|
+
# Publishing instructions
|
58
|
+
|
59
|
+
```
|
60
|
+
|
61
|
+
```
|
62
|
+
|
63
|
+
# Test
|
64
|
+
|
65
|
+
```sh
|
66
|
+
pytest
|
67
|
+
```
|
68
|
+
|
69
|
+
# BURST protocol
|
70
|
+
TODO
|
71
|
+
* STAGE 1
|
72
|
+
* Convert cpp to c files [OK]
|
73
|
+
* Formalise naming [OK]
|
74
|
+
* Add c encode functions [OK]
|
75
|
+
* Test c encode functions [OK]
|
76
|
+
* Update README
|
77
|
+
* Improve poetry.toml [OK]
|
78
|
+
|
79
|
+
|
80
|
+
* STAGE 2
|
81
|
+
* Add CI/CD on github to compile x86
|
82
|
+
* Fix dependencies once compilation succeeds
|
83
|
+
* Publish on pypi
|
84
|
+
* STAGE 3
|
85
|
+
* Add a way to get C test coverage
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
@@ -1,12 +1,12 @@
|
|
1
1
|
[project]
|
2
2
|
name = "burst-link-protocol"
|
3
|
-
version = "0.1.
|
3
|
+
version = "0.1.1" # Choose one version reference here
|
4
4
|
description = "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
|
requires-python = ">=3.10,<4.0"
|
6
6
|
authors = [
|
7
7
|
{ name = "Floris vernieuwe", email = "floris@vernieuwe.eu" }
|
8
8
|
]
|
9
|
-
|
9
|
+
readme = "README.md"
|
10
10
|
dependencies = [
|
11
11
|
"cobs>=1.2.1,<2.0.0",
|
12
12
|
"numpy>=2.2.3,<3.0.0",
|
@@ -1,18 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: burst-link-protocol
|
3
|
-
Version: 0.1.0
|
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
|
-
Author-Email: Floris vernieuwe <floris@vernieuwe.eu>
|
6
|
-
Requires-Python: <4.0,>=3.10
|
7
|
-
Requires-Dist: cobs<2.0.0,>=1.2.1
|
8
|
-
Requires-Dist: numpy<3.0.0,>=2.2.3
|
9
|
-
Requires-Dist: crc<8.0.0,>=7.1.0
|
10
|
-
Requires-Dist: pytest<9.0.0,>=8.3.4
|
11
|
-
Requires-Dist: pytest-cov<7.0.0,>=6.0.0
|
12
|
-
Requires-Dist: pytest-benchmark<6.0.0,>=5.1.0
|
13
|
-
Requires-Dist: scikit-build-core[pyproject]<0.11.0,>=0.10.7; extra == "dev"
|
14
|
-
Requires-Dist: nanobind<3.0.0,>=2.5.0; extra == "dev"
|
15
|
-
Requires-Dist: pytest<9.0.0,>=8.3.4; extra == "dev"
|
16
|
-
Requires-Dist: pytest-cov<7.0.0,>=6.0.0; extra == "dev"
|
17
|
-
Requires-Dist: pytest-benchmark<6.0.0,>=5.1.0; extra == "dev"
|
18
|
-
Provides-Extra: dev
|
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
|
File without changes
|
File without changes
|
File without changes
|