meshcore-cli 1.3.5__tar.gz → 1.3.13__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.
@@ -1,7 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: meshcore-cli
3
+ Version: 1.3.13
4
+ Summary: Command line interface to meshcore companion radios
5
+ Project-URL: Homepage, https://github.com/fdlamotte/meshcore-cli
6
+ Project-URL: Issues, https://github.com/fdlamotte/meshcore-cli/issues
7
+ Author-email: Florent de Lamotte <florent@frizoncorrea.fr>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
12
+ Requires-Python: >=3.10
13
+ Requires-Dist: bleak<2.0,>=0.22
14
+ Requires-Dist: meshcore>=2.2.3
15
+ Requires-Dist: prompt-toolkit>=3.0.50
16
+ Requires-Dist: pycryptodome
17
+ Requires-Dist: requests>=2.28.0
18
+ Description-Content-Type: text/markdown
19
+
1
20
  # meshcore-cli
2
21
 
3
22
  meshcore-cli : CLI interface to MeschCore companion app over BLE, TCP or Serial
4
23
 
24
+ ## About
25
+
26
+ meshcore-cli is a tool that connects to your companion radio node (meshcore client) over BLE, TCP or Serial and lets you interact with it from a terminal using a command line interface.
27
+
28
+ You can send commands as parameters to the meshcore-cli command (from your shell) either interactively or through a script.
29
+
30
+ There is also an interactive mode (this is the default when no command is passed). In interactive mode you can enter a contact (another client a repeater, a sensor or a room) and interact with it. For clients, interaction consists in sending/receiving messages. For repeaters, rooms or sensors it will directly give you the remote cli (you can still send messages to rooms using double quote prefix or msg command).
31
+
32
+ Note that meshcore-cli only interacts with companion radios (through BLE, Serial or TCP), you can't connect to a repeater using its serial interface.
33
+
34
+ Also, most meshcore companions only have one interface compiled in at a time. So you can't connect via Serial to a node, which has been compiled as a BLE companion.
35
+
5
36
  ## Install
6
37
 
7
38
  Meshcore-cli depends on the [python meshcore](https://github.com/fdlamotte/meshcore_py) package. You can install both via `pip` or `pipx` using the command:
@@ -1,25 +1,19 @@
1
- Metadata-Version: 2.4
2
- Name: meshcore-cli
3
- Version: 1.3.5
4
- Summary: Command line interface to meshcore companion radios
5
- Project-URL: Homepage, https://github.com/fdlamotte/meshcore-cli
6
- Project-URL: Issues, https://github.com/fdlamotte/meshcore-cli/issues
7
- Author-email: Florent de Lamotte <florent@frizoncorrea.fr>
8
- License-Expression: MIT
9
- License-File: LICENSE
10
- Classifier: Operating System :: OS Independent
11
- Classifier: Programming Language :: Python :: 3
12
- Requires-Python: >=3.10
13
- Requires-Dist: meshcore>=2.2.2
14
- Requires-Dist: prompt-toolkit>=3.0.50
15
- Requires-Dist: pycryptodome
16
- Requires-Dist: requests>=2.28.0
17
- Description-Content-Type: text/markdown
18
-
19
1
  # meshcore-cli
20
2
 
21
3
  meshcore-cli : CLI interface to MeschCore companion app over BLE, TCP or Serial
22
4
 
5
+ ## About
6
+
7
+ meshcore-cli is a tool that connects to your companion radio node (meshcore client) over BLE, TCP or Serial and lets you interact with it from a terminal using a command line interface.
8
+
9
+ You can send commands as parameters to the meshcore-cli command (from your shell) either interactively or through a script.
10
+
11
+ There is also an interactive mode (this is the default when no command is passed). In interactive mode you can enter a contact (another client a repeater, a sensor or a room) and interact with it. For clients, interaction consists in sending/receiving messages. For repeaters, rooms or sensors it will directly give you the remote cli (you can still send messages to rooms using double quote prefix or msg command).
12
+
13
+ Note that meshcore-cli only interacts with companion radios (through BLE, Serial or TCP), you can't connect to a repeater using its serial interface.
14
+
15
+ Also, most meshcore companions only have one interface compiled in at a time. So you can't connect via Serial to a node, which has been compiled as a BLE companion.
16
+
23
17
  ## Install
24
18
 
25
19
  Meshcore-cli depends on the [python meshcore](https://github.com/fdlamotte/meshcore_py) package. You can install both via `pip` or `pipx` using the command:
@@ -4,9 +4,11 @@
4
4
  nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
5
5
  };
6
6
 
7
- outputs = inputs:
7
+ outputs =
8
+ inputs:
8
9
  inputs.flake-utils.lib.eachDefaultSystem (
9
- system: let
10
+ system:
11
+ let
10
12
  pkgs = inputs.nixpkgs.legacyPackages.${system};
11
13
 
12
14
  lib = pkgs.lib;
@@ -15,15 +17,15 @@
15
17
 
16
18
  meshcore = python3Packages.buildPythonPackage rec {
17
19
  pname = "meshcore";
18
- version = "2.2.1";
20
+ version = "2.2.3";
19
21
  pyproject = true;
20
22
 
21
23
  src = python3Packages.fetchPypi {
22
24
  inherit pname version;
23
- sha256 = "sha256-HpCbGG+ZQdVWIeE3mJFFQ7w5W+JjcNb+Tb53i9uT5CA=";
25
+ sha256 = "sha256-lmMflAlrNnfsc10J3CBxor9ftHK10bWyGTbjASJv82s=";
24
26
  };
25
27
 
26
- build-system = [python3Packages.hatchling];
28
+ build-system = [ python3Packages.hatchling ];
27
29
 
28
30
  dependencies = [
29
31
  python3Packages.bleak
@@ -31,12 +33,13 @@
31
33
  python3Packages.pyserial-asyncio
32
34
  ];
33
35
 
34
- pythonImportsCheck = ["meshcore"];
36
+ pythonImportsCheck = [ "meshcore" ];
35
37
  };
36
38
 
37
39
  pyproject = lib.importTOML ./pyproject.toml;
38
40
  version = pyproject.project.version;
39
- in {
41
+ in
42
+ {
40
43
  packages.meshcore-cli = python3Packages.buildPythonPackage {
41
44
  pname = "meshcore-cli";
42
45
  inherit version;
@@ -57,7 +60,7 @@
57
60
  python3Packages.prompt_toolkit
58
61
  python3Packages.pyserial
59
62
  python3Packages.requests
60
- python3Packages.pycryptodome
63
+ python3Packages.pycryptodome
61
64
  ];
62
65
 
63
66
  doCheck = false;
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "meshcore-cli"
7
- version = "1.3.5"
7
+ version = "1.3.13"
8
8
  authors = [
9
9
  { name="Florent de Lamotte", email="florent@frizoncorrea.fr" },
10
10
  ]
@@ -17,7 +17,11 @@ classifiers = [
17
17
  ]
18
18
  license = "MIT"
19
19
  license-files = ["LICEN[CS]E*"]
20
- dependencies = [ "meshcore >= 2.2.2", "prompt_toolkit >= 3.0.50", "requests >= 2.28.0", "pycryptodome" ]
20
+ dependencies = [ "meshcore >= 2.2.3",
21
+ "bleak >= 0.22, <2.0",
22
+ "prompt_toolkit >= 3.0.50",
23
+ "requests >= 2.28.0",
24
+ "pycryptodome" ]
21
25
 
22
26
  [project.urls]
23
27
  Homepage = "https://github.com/fdlamotte/meshcore-cli"