datap 0.1.1__tar.gz → 0.1.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 (37) hide show
  1. {datap-0.1.1 → datap-0.1.2}/PKG-INFO +1 -1
  2. {datap-0.1.1 → datap-0.1.2}/pyproject.toml +1 -1
  3. {datap-0.1.1 → datap-0.1.2}/src/btsh/__init__.py +7 -1
  4. {datap-0.1.1 → datap-0.1.2}/src/datap.egg-info/PKG-INFO +1 -1
  5. {datap-0.1.1 → datap-0.1.2}/README.md +0 -0
  6. {datap-0.1.1 → datap-0.1.2}/setup.cfg +0 -0
  7. {datap-0.1.1 → datap-0.1.2}/src/btsh/__main__.py +0 -0
  8. {datap-0.1.1 → datap-0.1.2}/src/btsh/audio.py +0 -0
  9. {datap-0.1.1 → datap-0.1.2}/src/btsh/ble.py +0 -0
  10. {datap-0.1.1 → datap-0.1.2}/src/btsh/bt.py +0 -0
  11. {datap-0.1.1 → datap-0.1.2}/src/btsh/channel.py +0 -0
  12. {datap-0.1.1 → datap-0.1.2}/src/btsh/channels.py +0 -0
  13. {datap-0.1.1 → datap-0.1.2}/src/btsh/cli.py +0 -0
  14. {datap-0.1.1 → datap-0.1.2}/src/btsh/client.py +0 -0
  15. {datap-0.1.1 → datap-0.1.2}/src/btsh/codec.py +0 -0
  16. {datap-0.1.1 → datap-0.1.2}/src/btsh/crypto.py +0 -0
  17. {datap-0.1.1 → datap-0.1.2}/src/btsh/framing.py +0 -0
  18. {datap-0.1.1 → datap-0.1.2}/src/btsh/hub.py +0 -0
  19. {datap-0.1.1 → datap-0.1.2}/src/btsh/mcp.py +0 -0
  20. {datap-0.1.1 → datap-0.1.2}/src/btsh/modem.py +0 -0
  21. {datap-0.1.1 → datap-0.1.2}/src/btsh/node.py +0 -0
  22. {datap-0.1.1 → datap-0.1.2}/src/btsh/py.typed +0 -0
  23. {datap-0.1.1 → datap-0.1.2}/src/btsh/server.py +0 -0
  24. {datap-0.1.1 → datap-0.1.2}/src/btsh/session.py +0 -0
  25. {datap-0.1.1 → datap-0.1.2}/src/btsh/tcp.py +0 -0
  26. {datap-0.1.1 → datap-0.1.2}/src/btsh/transport.py +0 -0
  27. {datap-0.1.1 → datap-0.1.2}/src/datap.egg-info/SOURCES.txt +0 -0
  28. {datap-0.1.1 → datap-0.1.2}/src/datap.egg-info/dependency_links.txt +0 -0
  29. {datap-0.1.1 → datap-0.1.2}/src/datap.egg-info/entry_points.txt +0 -0
  30. {datap-0.1.1 → datap-0.1.2}/src/datap.egg-info/requires.txt +0 -0
  31. {datap-0.1.1 → datap-0.1.2}/src/datap.egg-info/top_level.txt +0 -0
  32. {datap-0.1.1 → datap-0.1.2}/tests/test_channels.py +0 -0
  33. {datap-0.1.1 → datap-0.1.2}/tests/test_crypto.py +0 -0
  34. {datap-0.1.1 → datap-0.1.2}/tests/test_e2e.py +0 -0
  35. {datap-0.1.1 → datap-0.1.2}/tests/test_framing.py +0 -0
  36. {datap-0.1.1 → datap-0.1.2}/tests/test_mesh.py +0 -0
  37. {datap-0.1.1 → datap-0.1.2}/tests/test_modem.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datap
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Shell over a Bluetooth speaker's audio codec: run commands without an SSH server
5
5
  Author: Marc Partensky
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "datap"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Shell over a Bluetooth speaker's audio codec: run commands without an SSH server"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -2,7 +2,13 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- __version__ = "0.1.0"
5
+ from importlib.metadata import PackageNotFoundError
6
+ from importlib.metadata import version as _distribution_version
7
+
8
+ try: # installed from PyPI or a wheel
9
+ __version__ = _distribution_version("datap")
10
+ except PackageNotFoundError: # running from a source tree, keep in sync with pyproject.toml
11
+ __version__ = "0.1.2"
6
12
 
7
13
  from .channel import Channel, ChannelError # noqa: E402
8
14
  from .client import Client # noqa: E402
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datap
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Shell over a Bluetooth speaker's audio codec: run commands without an SSH server
5
5
  Author: Marc Partensky
6
6
  License-Expression: MIT
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
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