{"modulePath":"github.com/phensley/nuclio","version":"v0.0.0-20171023055703-2f10389f18fd","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package python\n\nPackage python implmenets Python runtime\n\n## Functions\n\n```go\nfunc NewRuntime(parentLogger nuclio.Logger, configuration *Configuration) (runtime.Runtime, error)\n```\nNewRuntime returns a new Python runtime\n\n## Types\n\n```go\ntype Configuration struct {\n\truntime.Configuration\n\n\t// What to run (e.g. \"module:function\")\n\tHandler string\n\n\t// Python version\n\tPythonVersion string\n\n\t// a map of environment variables that need to be injected into the\n\t// process. a nil value indicates to take it from the running process'\n\t// environment map\n\tEnv map[string]*string\n}\n```\nConfiguration is python configuration\n\n```go\ntype EventJSONEncoder struct {\n\t// contains filtered or unexported fields\n}\n```\nEventJSONEncoder encodes nuclio events as JSON\n\n```go\nfunc NewEventJSONEncoder(logger nuclio.Logger, writer io.Writer) *EventJSONEncoder\n```\nNewEventJSONEncoder returns a new JSONEncoder\n\n```go\nfunc (je *EventJSONEncoder) Encode(event nuclio.Event) error\n```\nEncode writes the JSON encoding of event to the stream, followed by a newline character\n\n","path":"github.com/phensley/nuclio/pkg/processor/runtime/python","name":"python","synopsis":"Package python implmenets Python runtime","isRedistributable":true}
