ardupilot-log-reader 0.3.1__tar.gz → 0.3.2__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. ardupilot_log_reader-0.3.2/.github/workflows/publish_pypi.yml +99 -0
  2. ardupilot_log_reader-0.3.2/.gitignore +107 -0
  3. ardupilot_log_reader-0.3.2/.vscode/launch.json +16 -0
  4. ardupilot_log_reader-0.3.2/.vscode/settings.json +8 -0
  5. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.2}/PKG-INFO +5 -4
  6. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.2}/ardupilot_log_reader.egg-info/PKG-INFO +5 -4
  7. ardupilot_log_reader-0.3.2/ardupilot_log_reader.egg-info/SOURCES.txt +25 -0
  8. ardupilot_log_reader-0.3.2/bld.bat +2 -0
  9. ardupilot_log_reader-0.3.2/build.sh +1 -0
  10. ardupilot_log_reader-0.3.2/meta.yaml +28 -0
  11. ardupilot_log_reader-0.3.2/pyproject.toml +21 -0
  12. ardupilot_log_reader-0.3.2/requirements.txt +3 -0
  13. ardupilot_log_reader-0.3.2/setup.cfg +4 -0
  14. ardupilot_log_reader-0.3.2/tests/__init__.py +0 -0
  15. ardupilot_log_reader-0.3.2/tests/test_inputs/00000002.BIN +0 -0
  16. ardupilot_log_reader-0.3.2/tests/test_inputs/00000054.BIN +0 -0
  17. ardupilot_log_reader-0.3.2/tests/test_inputs/00000129.BIN +0 -0
  18. ardupilot_log_reader-0.3.2/tests/test_inputs/2023-07-20 17-52-06.bin +0 -0
  19. ardupilot_log_reader-0.3.2/tests/test_inputs/manual_Generic_Generic_23_05_01_00000129.json +402665 -0
  20. ardupilot_log_reader-0.3.2/tests/test_inputs/test_log_00000052.BIN +0 -0
  21. ardupilot_log_reader-0.3.1/ardupilot_log_reader.egg-info/SOURCES.txt +0 -11
  22. ardupilot_log_reader-0.3.1/setup.cfg +0 -22
  23. ardupilot_log_reader-0.3.1/setup.py +0 -14
  24. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.2}/ReadMe.md +0 -0
  25. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.2}/ardupilot_log_reader/__init__.py +0 -0
  26. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.2}/ardupilot_log_reader/reader.py +0 -0
  27. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.2}/ardupilot_log_reader.egg-info/dependency_links.txt +0 -0
  28. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.2}/ardupilot_log_reader.egg-info/requires.txt +0 -0
  29. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.2}/ardupilot_log_reader.egg-info/top_level.txt +0 -0
  30. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.2}/tests/test_ardupilot.py +0 -0
@@ -0,0 +1,99 @@
1
+ #https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
2
+ name: Publish to PyPI and TestPyPI
3
+
4
+ on:
5
+ push:
6
+ branches:
7
+ - main
8
+ tags:
9
+ - '**'
10
+ jobs:
11
+ build:
12
+ name: Build distribution
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v4
20
+ with:
21
+ python-version: ^3.6
22
+
23
+ - name: Install dependencies
24
+ run: pip install -r requirements.txt
25
+
26
+ - name: Install pypa / build
27
+ run: python3 -m pip install build --user
28
+
29
+ - name: Build a binary wheel and a source tarball
30
+ run: python3 -m build
31
+
32
+ - name: Store the distribution packages
33
+ uses: actions/upload-artifact@v3
34
+ with:
35
+ name: python-package-distributions
36
+ path: dist/
37
+
38
+ publish-to-pypi:
39
+ name: Publish Python distribution to PyPI
40
+ needs: build
41
+ runs-on: ubuntu-latest
42
+ environment:
43
+ name: pypi
44
+ url: https://pypi.org/p/<package-name>
45
+ permissions:
46
+ id-token: write # IMPORTANT: mandatory for trusted publishing
47
+
48
+ steps:
49
+ - name: Download all the dists
50
+ uses: actions/download-artifact@v3
51
+ with:
52
+ name: python-package-distributions
53
+ path: dist/
54
+ - name: Publish distribution to PyPI
55
+ uses: pypa/gh-action-pypi-publish@release/v1
56
+
57
+ github-release:
58
+ name: >-
59
+ Sign the Python distribution with Sigstore
60
+ and upload them to GitHub Release
61
+ needs:
62
+ - publish-to-pypi
63
+ runs-on: ubuntu-latest
64
+
65
+ permissions:
66
+ contents: write # IMPORTANT: mandatory for making GitHub Releases
67
+ id-token: write # IMPORTANT: mandatory for sigstore
68
+
69
+ steps:
70
+ - name: Download all the dists
71
+ uses: actions/download-artifact@v3
72
+ with:
73
+ name: python-package-distributions
74
+ path: dist/
75
+ - name: Sign the dists with Sigstore
76
+ uses: sigstore/gh-action-sigstore-python@v1.2.3
77
+ with:
78
+ inputs: >-
79
+ ./dist/*.tar.gz
80
+ ./dist/*.whl
81
+ - name: Create GitHub Release
82
+ env:
83
+ GITHUB_TOKEN: ${{ github.token }}
84
+ run: >-
85
+ gh release create
86
+ '${{ github.ref_name }}'
87
+ --repo '${{ github.repository }}'
88
+ --notes ""
89
+ - name: Upload artifact signatures to GitHub Release
90
+ env:
91
+ GITHUB_TOKEN: ${{ github.token }}
92
+ # Upload to GitHub Release using the `gh` CLI.
93
+ # `dist/` contains the built packages, and the
94
+ # sigstore-produced signatures and certificates.
95
+ run: >-
96
+ gh release upload
97
+ '${{ github.ref_name }}' dist/**
98
+ --repo '${{ github.repository }}'
99
+
@@ -0,0 +1,107 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *$py.class
4
+ .Python
5
+ build/
6
+ develop-eggs/
7
+ dist/
8
+ downloads/
9
+ eggs/
10
+ .eggs/
11
+ lib/
12
+ lib64/
13
+ parts/
14
+ sdist/
15
+ var/
16
+ wheels/
17
+ share/python-wheels/
18
+ *.egg-info/
19
+ .installed.cfg
20
+ *.egg
21
+ MANIFESThtmlcov/
22
+ .tox/
23
+ .nox/
24
+ .coverage
25
+ .coverage.*
26
+ .cache
27
+ nosetests.xml
28
+ coverage.xml
29
+ *.cover
30
+ *.py,cover
31
+ .hypothesis/
32
+ .pytest_cache/
33
+ cover/
34
+
35
+ # Translations
36
+ *.mo
37
+ *.pot
38
+
39
+ # Django stuff:
40
+ *.log
41
+ local_settings.py
42
+ db.sqlite3
43
+ db.sqlite3-journal
44
+
45
+ # Flask stuff:
46
+ instance/
47
+ .webassets-cache
48
+
49
+ # Scrapy stuff:
50
+ .scrapy
51
+
52
+ # Sphinx documentation
53
+ docs/_build/
54
+
55
+ # PyBuilder
56
+ .pybuilder/
57
+ target/
58
+
59
+ # Jupyter Notebook
60
+ .ipynb_checkpoints
61
+
62
+ # IPython
63
+ profile_default/
64
+ ipython_config.py
65
+
66
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
67
+ __pypackages__/
68
+
69
+ # Celery stuff
70
+ celerybeat-schedule
71
+ celerybeat.pid
72
+
73
+ # SageMath parsed files
74
+ *.sage.py
75
+
76
+ # Environments
77
+ .env
78
+ .venv
79
+ env/
80
+ venv/
81
+ ENV/
82
+ env.bak/
83
+ venv.bak/
84
+
85
+ # Spyder project settings
86
+ .spyderproject
87
+ .spyproject
88
+
89
+ # Rope project settings
90
+ .ropeproject
91
+
92
+ # mkdocs documentation
93
+ /site
94
+
95
+ # mypy
96
+ .mypy_cache/
97
+ .dmypy.json
98
+ dmypy.json
99
+
100
+ # Pyre type checker
101
+ .pyre/
102
+
103
+ # pytype static type analyzer
104
+ .pytype/
105
+
106
+ # Cython debug symbols
107
+ cython_debug/
@@ -0,0 +1,16 @@
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+
8
+ {
9
+ "name": "Python: Module",
10
+ "type": "python",
11
+ "request": "launch",
12
+ "redirectOutput": true,
13
+ "module": "ardupilot_log_reader.test"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "python.pythonPath": "/home/tomd/anaconda3/envs/ardupilotlogs/bin/python",
3
+ "python.testing.pytestArgs": [
4
+ "tests"
5
+ ],
6
+ "python.testing.unittestEnabled": false,
7
+ "python.testing.pytestEnabled": true
8
+ }
@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ardupilot_log_reader
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: module to read ardupilot binary logs to memory
5
- Home-page: https://github.com/PyFlightCoach/ardupilot_log_reader
6
- Author: Thomas David
7
- Author-email: thomasdavid0@gmail.com
5
+ Author-email: Thomas David <thomasdavid0@gmail.com>
6
+ License: GNU GPL v3
7
+ Classifier: Programming Language :: Python :: 3
8
+ Requires-Python: >=3.12
8
9
  Description-Content-Type: text/markdown
9
10
  Requires-Dist: numpy
10
11
  Requires-Dist: pandas
@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ardupilot_log_reader
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: module to read ardupilot binary logs to memory
5
- Home-page: https://github.com/PyFlightCoach/ardupilot_log_reader
6
- Author: Thomas David
7
- Author-email: thomasdavid0@gmail.com
5
+ Author-email: Thomas David <thomasdavid0@gmail.com>
6
+ License: GNU GPL v3
7
+ Classifier: Programming Language :: Python :: 3
8
+ Requires-Python: >=3.12
8
9
  Description-Content-Type: text/markdown
9
10
  Requires-Dist: numpy
10
11
  Requires-Dist: pandas
@@ -0,0 +1,25 @@
1
+ .gitignore
2
+ ReadMe.md
3
+ bld.bat
4
+ build.sh
5
+ meta.yaml
6
+ pyproject.toml
7
+ requirements.txt
8
+ .github/workflows/publish_pypi.yml
9
+ .vscode/launch.json
10
+ .vscode/settings.json
11
+ ardupilot_log_reader/__init__.py
12
+ ardupilot_log_reader/reader.py
13
+ ardupilot_log_reader.egg-info/PKG-INFO
14
+ ardupilot_log_reader.egg-info/SOURCES.txt
15
+ ardupilot_log_reader.egg-info/dependency_links.txt
16
+ ardupilot_log_reader.egg-info/requires.txt
17
+ ardupilot_log_reader.egg-info/top_level.txt
18
+ tests/__init__.py
19
+ tests/test_ardupilot.py
20
+ tests/test_inputs/00000002.BIN
21
+ tests/test_inputs/00000054.BIN
22
+ tests/test_inputs/00000129.BIN
23
+ tests/test_inputs/2023-07-20 17-52-06.bin
24
+ tests/test_inputs/manual_Generic_Generic_23_05_01_00000129.json
25
+ tests/test_inputs/test_log_00000052.BIN
@@ -0,0 +1,2 @@
1
+ "%PYTHON%" setup.py install
2
+ if errorlevel 1 exit 1
@@ -0,0 +1 @@
1
+ $PYTHON setup.py install
@@ -0,0 +1,28 @@
1
+ package:
2
+ name: ardupilot_log_reader
3
+ version: '0.1.0'
4
+
5
+ build:
6
+ noarch: generic
7
+ number: 0
8
+
9
+ source:
10
+ path: ./
11
+
12
+ requirements:
13
+ build:
14
+ - python
15
+ - setuptools
16
+ host:
17
+ - future
18
+ - numpy
19
+ - pandas
20
+ - pymavlink
21
+ run:
22
+ - future
23
+ - numpy
24
+ - pandas
25
+ - pymavlink
26
+ test:
27
+ imports:
28
+ - ardupilot_log_reader
@@ -0,0 +1,21 @@
1
+ [build-system]
2
+ requires = [
3
+ "setuptools>=60",
4
+ "setuptools-scm>=8.0"
5
+ ]
6
+ build-backend = "setuptools.build_meta"
7
+
8
+ [project]
9
+ name = "ardupilot_log_reader"
10
+ authors = [{name = "Thomas David", email = "thomasdavid0@gmail.com"}]
11
+ description = "module to read ardupilot binary logs to memory"
12
+ readme = "ReadMe.md"
13
+ requires-python = ">=3.12"
14
+ license = {text = "GNU GPL v3"}
15
+ classifiers = ["Programming Language :: Python :: 3",]
16
+ dynamic = ["version", "dependencies"]
17
+
18
+ [tool.setuptools.dynamic]
19
+ dependencies = {file = ["requirements.txt"]}
20
+
21
+ [tool.setuptools_scm]
@@ -0,0 +1,3 @@
1
+ numpy
2
+ pandas
3
+ pymavlink
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes