Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    py-remoteexec 1.0.0

    Download button

    No screenshots available
    Downloads: 90  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    David Anderson | More programs
    The Apache License 2.0 / FREE
    February 18th, 2012, 23:36 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    py-remoteexec description

    Ship code to a remote server and run it there

    py-remoteexec is a Python module that lets you ship Python code to a remote machine and run it there, all without installing anything other than the standard Python interpreter on the server.

    It connects to the remote host using SSH, sends the python files you specify, compiles them on the server, and passes control to the specified main function.

    Additionally, the client arranges for stdin/stdout on the server side to be connected to a network socket on the client side, so that you can communicate with the uploaded server binary as if you'd connected to it normally.

    What this lets you do is ensure that the server end of your software is never out of date, since it'll always be in sync with the client code you're running.

    The original idea came from Avery Pennarun's awesome sshuttle (http://github.com/apenwarr/sshuttle), which uses this great hack to function with any server that has Python installed (i.e. all of them).

    His original version smushed all files into a single namespace, however while I was factoring it out of sshuttle he came up with the compile/eval/__dict__.update hack that allows reconstruction of the original module structure on the server, neatly avoiding the need for the skip_imports hack sshuttle uses. I took it from there and implemented it as a reusable library.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    remote server | Python libraryc | ship code | Python | remote | server

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM