Dagger
Search

python

No long description provided.

Installation

dagger install github.com/helderco/daggerverse/python@ba7984f47857794ff5aace82947aaf6b433595be

Entrypoint

Return Type
Python
Example
dagger -m github.com/helderco/daggerverse/python@ba7984f47857794ff5aace82947aaf6b433595be call \
func (m *myModule) example() *Python  {
	return dag.
			Python()
}
@function
def example() -> dag.Python:
	return (
		dag.python()
	)
@func()
example(): Python {
	return dag
		.python()
}

Types

Python 🔗

httpServer() 🔗

Start an HTTP server on a directory.

Return Type
Service !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
bindIntegerKind 8000No description provided
pythonVersionStringKind "3.12"No description provided
Example
dagger -m github.com/helderco/daggerverse/python@ba7984f47857794ff5aace82947aaf6b433595be call \
 http-server
func (m *myModule) example(src )   {
	return dag.
			Python().
			HttpServer(src)
}
@function
def example(src: ) -> :
	return (
		dag.python()
		.http_server(src)
	)
@func()
example(src: ):  {
	return dag
		.python()
		.httpServer(src)
}

sphinx() 🔗

Create and build documentation with Sphinx.

Return Type
Sphinx !
Arguments
NameTypeDefault ValueDescription
versionStringKind -No description provided
Example
dagger -m github.com/helderco/daggerverse/python@ba7984f47857794ff5aace82947aaf6b433595be call \
 sphinx
func (m *myModule) example()   {
	return dag.
			Python().
			Sphinx()
}
@function
def example() -> :
	return (
		dag.python()
		.sphinx()
	)
@func()
example():  {
	return dag
		.python()
		.sphinx()
}

Sphinx 🔗

quickstart() 🔗

Create and build a new Sphinx project.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
projectStringKind "Sphinx Demo"No description provided
authorStringKind "Kubecon 2023"No description provided
Example
Function PythonSphinx.quickstart is not accessible from the python module
Function PythonSphinx.quickstart is not accessible from the python module
Function PythonSphinx.quickstart is not accessible from the python module
Function PythonSphinx.quickstart is not accessible from the python module

build() 🔗

Generate HTML documentation from source files.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
Function PythonSphinx.build is not accessible from the python module
Function PythonSphinx.build is not accessible from the python module
Function PythonSphinx.build is not accessible from the python module
Function PythonSphinx.build is not accessible from the python module

preview() 🔗

Build and preview documentation in a browser.

Return Type
Service !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
Function PythonSphinx.preview is not accessible from the python module
Function PythonSphinx.preview is not accessible from the python module
Function PythonSphinx.preview is not accessible from the python module
Function PythonSphinx.preview is not accessible from the python module