Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmbeddedPython ¶
type EmbeddedPython struct { Python // contains filtered or unexported fields }
func NewEmbeddedPython ¶
func NewEmbeddedPython(name string) (*EmbeddedPython, error)
NewEmbeddedPython creates a new EmbeddedPython instance. The embedded source code and python binaries are extracted on demand using the given name as the base for the temporary directory. You should ensure that the chosen name does collide with other consumers of this library.
func NewEmbeddedPythonWithTmpDir ¶
func NewEmbeddedPythonWithTmpDir(tmpDir string, withHashInDir bool) (*EmbeddedPython, error)
func (*EmbeddedPython) Cleanup ¶
func (ep *EmbeddedPython) Cleanup() error
func (*EmbeddedPython) GetExtractedPath ¶
func (ep *EmbeddedPython) GetExtractedPath() string
Click to show internal directories.
Click to hide internal directories.