age.utils package¶
Submodules¶
age.utils.asciiarmor module¶
-
class
age.utils.asciiarmor.
AsciiArmoredInput
(label, stream)¶ Bases:
io.RawIOBase
-
read
(size=- 1)¶
-
readable
()¶ Return whether object was opened for reading.
If False, read() will raise OSError.
-
-
class
age.utils.asciiarmor.
AsciiArmoredOutput
(label, stream)¶ Bases:
io.RawIOBase
-
close
()¶ Flush and close the IO object.
This method has no effect if the file is already closed.
-
writable
()¶ Return whether object was opened for writing.
If False, write() will raise OSError.
-
write
(data)¶
-
-
age.utils.asciiarmor.
read_ascii_armored
(file, strict_line_length=True)¶
age.utils.copy_doc module¶
-
age.utils.copy_doc.
copy_doc
(original_function)¶ Decorator to copy docstring from original_function to decorated function