localecho 0.2.0__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.
@@ -0,0 +1,23 @@
1
+ Boost Software License - Version 1.0 - August 17th, 2003
2
+
3
+ Permission is hereby granted, free of charge, to any person or organization
4
+ obtaining a copy of the software and accompanying documentation covered by
5
+ this license (the "Software") to use, reproduce, display, distribute,
6
+ execute, and transmit the Software, and to prepare derivative works of the
7
+ Software, and to permit third-parties to whom the Software is furnished to
8
+ do so, all subject to the following:
9
+
10
+ The copyright notices in the Software and this entire statement, including
11
+ the above license grant, this restriction and the following disclaimer,
12
+ must be included in all copies of the Software, in whole or in part, and
13
+ all derivative works of the Software, unless such copies or derivative
14
+ works are solely in the form of machine-executable object code generated by
15
+ a source language processor.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
20
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
21
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
22
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23
+ DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,51 @@
1
+ Metadata-Version: 2.4
2
+ Name: localecho
3
+ Version: 0.2.0
4
+ Summary: Run ssh, et or any interactive command with mosh-style predictive local echo
5
+ License-Expression: BSL-1.0
6
+ Requires-Python: >=3.9
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: pyte>=0.8
10
+ Requires-Dist: wcwidth
11
+ Provides-Extra: test
12
+ Requires-Dist: pytest>=7; extra == "test"
13
+ Dynamic: license-file
14
+
15
+ # localecho
16
+
17
+ Run `ssh`, `et` or any other interactive command with mosh-style predictive
18
+ local echo. Typed characters appear immediately (underlined or grey until the
19
+ server echoes them back) while the session itself stays a normal session of
20
+ that command.
21
+
22
+ ```
23
+ pip install .
24
+ localecho ssh user@host
25
+ localecho --mark=grey et user@host
26
+ localecho kubectl exec -it mypod -- bash
27
+ ```
28
+
29
+ localecho's own options go before the command; everything from the command
30
+ on is passed to it unchanged. There is no point wrapping `mosh`, which already
31
+ predicts on its own. See `localecho --help` for all options.
32
+
33
+ You can also install it from the source tarballs from github:
34
+
35
+ ```
36
+ pip install https://github.com/pfultz2/localecho/archive/master.tar.gz
37
+ ```
38
+
39
+ ## Tests
40
+
41
+ ```
42
+ pip install -e '.[test]'
43
+ pytest # everything
44
+ pytest -m "not integration" # fast unit tests only
45
+ tox # unit tests on each installed Python, integration tests, lint
46
+ tox -e integration # just the end-to-end tests
47
+ ```
48
+
49
+ The integration tests run `bash` (and `vim`/`tmux` if installed) inside a
50
+ pseudo-terminal behind a simulated 300 ms round trip, and compare what the
51
+ screen shows against the same keystrokes without prediction.
@@ -0,0 +1,37 @@
1
+ # localecho
2
+
3
+ Run `ssh`, `et` or any other interactive command with mosh-style predictive
4
+ local echo. Typed characters appear immediately (underlined or grey until the
5
+ server echoes them back) while the session itself stays a normal session of
6
+ that command.
7
+
8
+ ```
9
+ pip install .
10
+ localecho ssh user@host
11
+ localecho --mark=grey et user@host
12
+ localecho kubectl exec -it mypod -- bash
13
+ ```
14
+
15
+ localecho's own options go before the command; everything from the command
16
+ on is passed to it unchanged. There is no point wrapping `mosh`, which already
17
+ predicts on its own. See `localecho --help` for all options.
18
+
19
+ You can also install it from the source tarballs from github:
20
+
21
+ ```
22
+ pip install https://github.com/pfultz2/localecho/archive/master.tar.gz
23
+ ```
24
+
25
+ ## Tests
26
+
27
+ ```
28
+ pip install -e '.[test]'
29
+ pytest # everything
30
+ pytest -m "not integration" # fast unit tests only
31
+ tox # unit tests on each installed Python, integration tests, lint
32
+ tox -e integration # just the end-to-end tests
33
+ ```
34
+
35
+ The integration tests run `bash` (and `vim`/`tmux` if installed) inside a
36
+ pseudo-terminal behind a simulated 300 ms round trip, and compare what the
37
+ screen shows against the same keystrokes without prediction.
@@ -0,0 +1,51 @@
1
+ Metadata-Version: 2.4
2
+ Name: localecho
3
+ Version: 0.2.0
4
+ Summary: Run ssh, et or any interactive command with mosh-style predictive local echo
5
+ License-Expression: BSL-1.0
6
+ Requires-Python: >=3.9
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: pyte>=0.8
10
+ Requires-Dist: wcwidth
11
+ Provides-Extra: test
12
+ Requires-Dist: pytest>=7; extra == "test"
13
+ Dynamic: license-file
14
+
15
+ # localecho
16
+
17
+ Run `ssh`, `et` or any other interactive command with mosh-style predictive
18
+ local echo. Typed characters appear immediately (underlined or grey until the
19
+ server echoes them back) while the session itself stays a normal session of
20
+ that command.
21
+
22
+ ```
23
+ pip install .
24
+ localecho ssh user@host
25
+ localecho --mark=grey et user@host
26
+ localecho kubectl exec -it mypod -- bash
27
+ ```
28
+
29
+ localecho's own options go before the command; everything from the command
30
+ on is passed to it unchanged. There is no point wrapping `mosh`, which already
31
+ predicts on its own. See `localecho --help` for all options.
32
+
33
+ You can also install it from the source tarballs from github:
34
+
35
+ ```
36
+ pip install https://github.com/pfultz2/localecho/archive/master.tar.gz
37
+ ```
38
+
39
+ ## Tests
40
+
41
+ ```
42
+ pip install -e '.[test]'
43
+ pytest # everything
44
+ pytest -m "not integration" # fast unit tests only
45
+ tox # unit tests on each installed Python, integration tests, lint
46
+ tox -e integration # just the end-to-end tests
47
+ ```
48
+
49
+ The integration tests run `bash` (and `vim`/`tmux` if installed) inside a
50
+ pseudo-terminal behind a simulated 300 ms round trip, and compare what the
51
+ screen shows against the same keystrokes without prediction.
@@ -0,0 +1,17 @@
1
+ LICENSE
2
+ README.md
3
+ localecho.py
4
+ pyproject.toml
5
+ localecho.egg-info/PKG-INFO
6
+ localecho.egg-info/SOURCES.txt
7
+ localecho.egg-info/dependency_links.txt
8
+ localecho.egg-info/entry_points.txt
9
+ localecho.egg-info/requires.txt
10
+ localecho.egg-info/top_level.txt
11
+ tests/test_cli.py
12
+ tests/test_drawn_cursor.py
13
+ tests/test_escapes.py
14
+ tests/test_fast_forward.py
15
+ tests/test_guarded.py
16
+ tests/test_predictor.py
17
+ tests/test_shadow.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ localecho = localecho:main
@@ -0,0 +1,5 @@
1
+ pyte>=0.8
2
+ wcwidth
3
+
4
+ [test]
5
+ pytest>=7
@@ -0,0 +1 @@
1
+ localecho