ardupilot-log-reader 0.3.1__tar.gz → 0.3.3__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.3/.github/workflows/publish_pypi.yml +53 -0
  2. ardupilot_log_reader-0.3.3/.gitignore +107 -0
  3. ardupilot_log_reader-0.3.3/.vscode/launch.json +16 -0
  4. ardupilot_log_reader-0.3.3/.vscode/settings.json +8 -0
  5. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.3}/PKG-INFO +6 -5
  6. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.3}/ardupilot_log_reader.egg-info/PKG-INFO +6 -5
  7. ardupilot_log_reader-0.3.3/ardupilot_log_reader.egg-info/SOURCES.txt +25 -0
  8. ardupilot_log_reader-0.3.3/bld.bat +2 -0
  9. ardupilot_log_reader-0.3.3/build.sh +1 -0
  10. ardupilot_log_reader-0.3.3/meta.yaml +28 -0
  11. ardupilot_log_reader-0.3.3/pyproject.toml +21 -0
  12. ardupilot_log_reader-0.3.3/requirements.txt +3 -0
  13. ardupilot_log_reader-0.3.3/setup.cfg +4 -0
  14. ardupilot_log_reader-0.3.3/tests/__init__.py +0 -0
  15. ardupilot_log_reader-0.3.3/tests/test_inputs/00000002.BIN +0 -0
  16. ardupilot_log_reader-0.3.3/tests/test_inputs/00000054.BIN +0 -0
  17. ardupilot_log_reader-0.3.3/tests/test_inputs/00000129.BIN +0 -0
  18. ardupilot_log_reader-0.3.3/tests/test_inputs/2023-07-20 17-52-06.bin +0 -0
  19. ardupilot_log_reader-0.3.3/tests/test_inputs/manual_Generic_Generic_23_05_01_00000129.json +402665 -0
  20. ardupilot_log_reader-0.3.3/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.3}/ReadMe.md +0 -0
  25. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.3}/ardupilot_log_reader/__init__.py +0 -0
  26. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.3}/ardupilot_log_reader/reader.py +0 -0
  27. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.3}/ardupilot_log_reader.egg-info/dependency_links.txt +0 -0
  28. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.3}/ardupilot_log_reader.egg-info/requires.txt +0 -0
  29. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.3}/ardupilot_log_reader.egg-info/top_level.txt +0 -0
  30. {ardupilot_log_reader-0.3.1 → ardupilot_log_reader-0.3.3}/tests/test_ardupilot.py +0 -0
@@ -0,0 +1,53 @@
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
+ tags:
7
+ - 'v[0-9]+.[0-9]+.[0-9]+'
8
+ jobs:
9
+ build:
10
+ name: Build distribution
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v4
18
+ with:
19
+ python-version: ^3.6
20
+
21
+ - name: Install dependencies
22
+ run: pip install -r requirements.txt
23
+
24
+ - name: Install pypa / build
25
+ run: python3 -m pip install build --user
26
+
27
+ - name: Build a binary wheel and a source tarball
28
+ run: python3 -m build
29
+
30
+ - name: Store the distribution packages
31
+ uses: actions/upload-artifact@v3
32
+ with:
33
+ name: python-package-distributions
34
+ path: dist/
35
+
36
+ publish-to-pypi:
37
+ name: Publish Python distribution to PyPI
38
+ needs: build
39
+ runs-on: ubuntu-latest
40
+ environment:
41
+ name: pypi
42
+ url: https://pypi.org/p/<package-name>
43
+ permissions:
44
+ id-token: write # IMPORTANT: mandatory for trusted publishing
45
+
46
+ steps:
47
+ - name: Download all the dists
48
+ uses: actions/download-artifact@v3
49
+ with:
50
+ name: python-package-distributions
51
+ path: dist/
52
+ - name: Publish distribution to PyPI
53
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -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
- Name: ardupilot_log_reader
3
- Version: 0.3.1
2
+ Name: ardupilot-log-reader
3
+ Version: 0.3.3
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
- Name: ardupilot_log_reader
3
- Version: 0.3.1
2
+ Name: ardupilot-log-reader
3
+ Version: 0.3.3
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