python
No long description provided.
Installation
dagger install github.com/helderco/daggerverse/python@ba7984f47857794ff5aace82947aaf6b433595be
Types
Python 🔗
httpServer() 🔗
Start an HTTP server on a directory.
Return Type
Service !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
bind | IntegerKind | 8000 | No description provided |
pythonVersion | StringKind | "3.12" | No description provided |
Example
func (m *myModule) example(src ) {
return dag.
Python().
HttpServer(src)
}
sphinx() 🔗
Create and build documentation with Sphinx.
Return Type
Sphinx !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | StringKind | - | No description provided |
Example
func (m *myModule) example() {
return dag.
Python().
Sphinx()
}
Sphinx 🔗
quickstart() 🔗
Create and build a new Sphinx project.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
project | StringKind | "Sphinx Demo" | No description provided |
author | StringKind | "Kubecon 2023" | No description provided |
Example
Function PythonSphinx.quickstart is not accessible from the python module
build() 🔗
Generate HTML documentation from source files.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
Example
Function PythonSphinx.build is not accessible from the python module
preview() 🔗
Build and preview documentation in a browser.
Return Type
Service !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
Example
Function PythonSphinx.preview is not accessible from the python module