luigi.format
Functions
Classes
|
|
|
|
|
Wrap file in a "real" so stuff can be added to it after creation. |
|
Interface for format specifications. |
|
|
|
Initializes a InputPipeProcessWrapper instance. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- class luigi.format.FileWrapper(file_object)[source]
Wrap file in a “real” so stuff can be added to it after creation.
- class luigi.format.InputPipeProcessWrapper(command, input_pipe=None)[source]
Initializes a InputPipeProcessWrapper instance.
- Parameters:
command – a subprocess.Popen instance with stdin=input_pipe and stdout=subprocess.PIPE. Alternatively, just its args argument as a convenience.
- create_subprocess(command)[source]
http://www.chiark.greenend.org.uk/ucgi/~cjwatson/blosxom/2009-07-02-python-sigpipe.html
- class luigi.format.OutputPipeProcessWrapper(command, output_pipe=None)[source]
- WRITES_BEFORE_FLUSH = 10000
- class luigi.format.TextFormat(*args, **kwargs)[source]
- input = 'unicode'
- output = 'bytes'
- wrapper_cls
alias of
TextWrapper
- class luigi.format.MixedUnicodeBytesFormat(*args, **kwargs)[source]
- output = 'bytes'
- wrapper_cls
alias of
MixedUnicodeBytesWrapper
- class luigi.format.NewlineFormat(*args, **kwargs)[source]
- input = 'bytes'
- output = 'bytes'
- wrapper_cls
alias of
NewlineWrapper