src.nntp_io¶
Attributes¶
Functions¶
|
Write a payload dict as json to a InterNet News newsgroup. |
|
Read an article from a InterNet News newsgroup and return it as a dict. |
Module Contents¶
- src.nntp_io.nntp_client: nntp.NNTPClient¶
- src.nntp_io.nntp_write(payload: dict, newsgroup: str = 'local.test') bool ¶
Write a payload dict as json to a InterNet News newsgroup.
- Args:
payload: Description of payload newsgroup: Description of newsgroup
- Returns:
test.inews.a253222105b64597b9afd10e4f4c6740@inn2.packages.debian.org
- src.nntp_io.nntp_read(newsgroup: str = 'local.test') dict ¶
Read an article from a InterNet News newsgroup and return it as a dict.
- Args:
article_id: Description of article_id newsgroup: Description of newsgroup
- Returns:
Description of return value
- src.nntp_io.payload¶