Move python scripts out of tmux folder, adjust other scripts and classes for this change.

This commit is contained in:
Darko
2015-09-30 12:13:57 +02:00
parent 05056ba84b
commit 9e87cab0d2
39 changed files with 270 additions and 191 deletions
@@ -0,0 +1,59 @@
pynntp
======
Python NNTP library.
This package includes advanced NNTP features, including, compressed headers.
The most important (useful) feature of this package over other nntp libaries is
the ablity to use generators to produce data. This allows for streaming download
of large responses to say an XOVER command (which can produce gigabytes of data)
and allows you to process the data at the same time is is being received.
Meaning that memory use is minimal (even for the largest responses) and that
cycles aren't being wasted waiting on a blocking read (even in a single threaded
application)
Example
-------
>>> import nntp
>>> nntp_client = nntp.NNTPClient("usenet-host.com", 443, "user", "password", use_ssl=True)
>>> nntp_client.date()
datetime.datetime(2013, 10, 19, 6, 11, 41, tzinfo=_tzgmt())
>>> nntp_client.xfeature_compress_gzip()
True
>>> nntp_client.date()
datetime.datetime(2013, 10, 19, 6, 13, 3, tzinfo=_tzgmt())
Supported Commands
------------------
NNTP commands that are currently supported include:
* CAPABILITIES
* MODE READER
* QUIT
* DATE
* HELP
* NEWGROUPS (generator)
* NEWNEWS (generator)
* LIST ACTIVE (generator)
* LIST ACTIVE.TIMES (generator)
* LIST NEWSGROUPS (generator)
* LIST OVERVIEW.FMT (generator)
* LIST EXTENSIONS (generator)
* GROUP
* NEXT
* LAST
* ARTICLE
* HEAD
* BODY
* POST
* XGTITLE
* XHDR
* XZHDR
* XOVER (generator)
* XZVER (generator)
* XPAT (generator)
* XFEATURE COMPRESS GZIP