Skip to content

Commit a255b25

Browse files
author
Pan
committed
Updated readme, documentation, codecov config.
1 parent e562dba commit a255b25

16 files changed

+76
-58
lines changed

.codecov.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
coverage:
22
status:
33
patch:
4-
threshold:
5-
number: 0.5
4+
default:
5+
threshold: 0.5
66
project:
7-
threshold:
8-
number: 0.5
7+
default:
8+
threshold: 0.5
99
ignore:
1010
- "embedded_server/.*"
1111
- "tests/.*"

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
parallel-ssh
33
============
44

5-
Non-blocking, asynchronous parallel SSH client library.
5+
Asynchronous parallel SSH client library.
66

77
Run SSH commands over many - hundreds/hundreds of thousands - number of servers asynchronously and with minimal system load on the client host.
88

@@ -50,7 +50,7 @@ Run ``uname`` on two remote hosts in parallel with ``sudo``.
5050
5151
from __future__ import print_function
5252
53-
from pssh.pssh_client import ParallelSSHClient
53+
from pssh.clients import ParallelSSHClient
5454
5555
hosts = ['myhost1', 'myhost2']
5656
client = ParallelSSHClient(hosts)
@@ -275,7 +275,7 @@ Does not do parallelisation out of the box but can be made parallel via Python's
275275

276276
In addition, ``parallel-ssh`` uses native threads to offload CPU blocked tasks like authentication in order to scale to multiple cores while still remaining non-blocking for network I/O.
277277

278-
``pssh.ssh2_client.SSHClient`` is a single host natively non-blocking client for users that do not need parallel capabilities but still want a non-blocking client with native code performance.
278+
``pssh.clients.native.SSHClient`` is a single host natively non-blocking client for users that do not need parallel capabilities but still want a non-blocking client with native code performance.
279279

280280
Out of all the available Python SSH libraries, ``libssh2`` and ``ssh2-python`` have been shown, see benchmarks above, to perform the best with the least resource utilisation and ironically for a native code extension the least amount of dependencies. Only ``libssh2`` C library and its dependencies which are included in binary wheels.
281281

doc/api.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ API Documentation
33
******************
44

55
.. toctree::
6-
7-
pssh_client
8-
ssh_client
9-
pssh2_client
10-
ssh2_client
6+
7+
native_parallel
8+
native_single
9+
paramiko_single
10+
paramiko_parallel
1111
base_pssh
1212
output
1313
agent

doc/base_pssh.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ BaseParallelSSHClient
33

44
API documentation for common parallel client functionality.
55

6-
.. automodule:: pssh.base_pssh
6+
.. automodule:: pssh.clients.base_pssh
77
:member-order: groupwise

doc/native_parallel.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Native Parallel Client
2+
=========================
3+
4+
API documentation for the ``ssh2-python`` (``libssh2``) based parallel client.
5+
6+
.. automodule:: pssh.clients.native.parallel
7+
:member-order: groupwise

doc/native_single.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Native Single Host Client
2+
===========================
3+
4+
Native single host non-blocking client. Suitable for running asynchronous commands on a single host.
5+
6+
.. automodule:: pssh.clients.native.single
7+
:member-order: groupwise

doc/paramiko_parallel.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Paramiko based Parallel Client
2+
================================
3+
4+
.. automodule:: pssh.clients.miko.parallel
5+
:member-order: groupwise

doc/paramiko_single.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Paramiko based Single Host Client
2+
===================================
3+
4+
.. automodule:: pssh.clients.miko.single
5+
:member-order: groupwise

doc/pssh2_client.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/pssh_client.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)