chopsticks icon indicating copy to clipboard operation
chopsticks copied to clipboard

Chopsticks is an orchestration library: it lets you execute Python code on remote hosts over SSH.

Results 30 chopsticks issues
Sort by recently updated
recently updated
newest added

The first example with calling time works perfectly. But when I try to do other simple things such as: ```python print(ssh.call(sys.version_info)) ``` then the following exception is raised: ```shell _pickle.PicklingError:...

Are you still using chopsticks, and if so would you like a PR to improve pencode performance? I been experimenting, to improve the speed of dumping and loading. I've arrived...

The README says: > One might also draw a comparison with Python's built-in multiprocessing library, but instead of calling code in subprocesses on the same host, the code may be...

When the `Tunnel.close()` is called, the ioloop writer and reader instances are closed and oddly this makes subsequent stderr writes not intercepted by the orchestrator. Eg: ```python # -*- coding:...

Example: def remote_function(): with chopsticks.tunnel.local_imports(): import psycopg2 ... @lordmauve I admit the name `local_imports` is not right. Technically, using it make the remote machine use local imports (relative to itself)....

My Env: - Linux 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux - chopsticks ==> 1.0 Sample program ``` from chopsticks.tunnel import Local import git...

It should be possible to compared ErrorResult instances to each other. They should also be hashable based on their message value. This would be useful in testing. If they are...

My patch is quite naive (prepending instead of appending) and I'm not 100% sure that I don't break something while trying to fix this. Could you have a look ?...

The following code actually doesn't work... ```python from chopsticks.tunnel import SSHTunnel def deco(fn): return fn @deco def do_it(): return 'done' tunnel = SSHTunnel('[email protected]') print(tunnel.call(do_it)) ``` ... because when building the...

Chopsticks could call `logging.basicConfig()` on the remote process, so that logs are sent over stderr. It could also pickle the current root formatter so that the format of logs printed...