Remote Procedure Calls for Kerbal Space Program
kRPC allows you to control Kerbal Space Program from scripts running outside of the game, and comes with client libraries for many popular languages.
Contributions to kRPC are very welcome. Please refer to this guide.
kRPC is coming to KSP2! You can find it in the new kRPC2 repository here: https://github.com/krpc/krpc2