diff options
Diffstat (limited to 'tester/rt/tftpy/__init__.py')
-rw-r--r-- | tester/rt/tftpy/__init__.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tester/rt/tftpy/__init__.py b/tester/rt/tftpy/__init__.py new file mode 100644 index 0000000..33f988c --- /dev/null +++ b/tester/rt/tftpy/__init__.py @@ -0,0 +1,26 @@ +""" +This library implements the tftp protocol, based on rfc 1350. +http://www.faqs.org/rfcs/rfc1350.html +At the moment it implements only a client class, but will include a server, +with support for variable block sizes. + +As a client of tftpy, this is the only module that you should need to import +directly. The TftpClient and TftpServer classes can be reached through it. +""" + +from __future__ import absolute_import, division, print_function, unicode_literals +import sys + +# Make sure that this is at least Python 2.3 +required_version = (2, 3) +if sys.version_info < required_version: + raise ImportError("Requires at least Python 2.3") + +from .TftpShared import * +from .TftpPacketTypes import * +from .TftpPacketFactory import * +from .TftpClient import * +from .TftpServer import * +from .TftpContexts import * +from .TftpStates import * + |