Skip to content

Concurrent shell and SSH commands with Python asyncio module.

License

Notifications You must be signed in to change notification settings

cemsbr/aioshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aioshell

Run single-threaded concurrent shell and SSH commands with few keystrokes.

from aioshell import Executor, Shell
exe = Executor()
exe.add(Shell('date >/tmp/aioshell; sleep 1'))
exe.add(Shell('sleep 1; date >>/tmp/aioshell'))
exe.finish()
# Check /tmp/aioshell file to see that only 1 sec has passed.

For more details, please, Read the Docs.

About

Concurrent shell and SSH commands with Python asyncio module.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published