K8200 and Beaglebone Black

I want to use Beaglebone with my 3D printer. Can anyone recommend me python library, that will work on Debian? I need python library, because i want to create a website, where i can upload gcode and than start printing it.

Have a look at octoprint. Does just what you want to do.
github.com/foosel/OctoPrint/wik … str%C3%B6m