|
ADCT Python
Python client API implementation for publishing ADCT data
|


Public Member Functions | |
| None | __init__ (self, typing.Union[typing.BinaryIO, int] file_, bytes separator, int blocksize) |
| typing.Tuple[typing.List[bytes], bool, bytes] | handle_field_pairs (cls, typing.List[typing.Tuple[bytes, bytes]] field_pairs) |
| None | get_fields (self) |
| typing.Iterator[bytes] | sequence (self) |
Public Attributes | |
| file_ | |
| blocksize | |
| have_fraction | |
| fraction | |
| separator | |
| yieldno | |
| bang | |
| metapattern | |
| buffer_ | |
| pattern | |
| at_eof | |
| fields | |
Yield a series of blocks, separated by separator.
| None ldms_blob_file_to_http_post.Readline0.__init__ | ( | self, | |
| typing.Union[typing.BinaryIO, int] | file_, | ||
| bytes | separator, | ||
| int | blocksize | ||
| ) |
Initialize.
| None ldms_blob_file_to_http_post.Readline0.get_fields | ( | self | ) |
Read a block, chop it up into fields - taking into account any leftover partial field.
| typing.Tuple[typing.List[bytes], bool, bytes] ldms_blob_file_to_http_post.Readline0.handle_field_pairs | ( | cls, | |
| typing.List[typing.Tuple[bytes, bytes]] | field_pairs | ||
| ) |
Pick apart the pairs from our regex split and return the correct values.
| typing.Iterator[bytes] ldms_blob_file_to_http_post.Readline0.sequence | ( | self | ) |
Generate each field (line) in turn.
| ldms_blob_file_to_http_post.Readline0.at_eof |
| ldms_blob_file_to_http_post.Readline0.bang |
| ldms_blob_file_to_http_post.Readline0.blocksize |
| ldms_blob_file_to_http_post.Readline0.buffer_ |
| ldms_blob_file_to_http_post.Readline0.fields |
| ldms_blob_file_to_http_post.Readline0.file_ |
| ldms_blob_file_to_http_post.Readline0.fraction |
| ldms_blob_file_to_http_post.Readline0.have_fraction |
| ldms_blob_file_to_http_post.Readline0.metapattern |
| ldms_blob_file_to_http_post.Readline0.pattern |
| ldms_blob_file_to_http_post.Readline0.separator |
| ldms_blob_file_to_http_post.Readline0.yieldno |