blob: fba9a9f7c785f4570034683812b392d27664b25a [file] [log] [blame]
Norman James8b2b7222015-10-08 07:01:38 -05001"""
2This library implements the tftp protocol, based on rfc 1350.
3http://www.faqs.org/rfcs/rfc1350.html
4At the moment it implements only a client class, but will include a server,
5with support for variable block sizes.
6
7As a client of tftpy, this is the only module that you should need to import
8directly. The TftpClient and TftpServer classes can be reached through it.
9"""
10
11import sys
12
13# Make sure that this is at least Python 2.3
14required_version = (2, 3)
15if sys.version_info < required_version:
16 raise ImportError, "Requires at least Python 2.3"
17
18from tftpy.TftpShared import *
19from tftpy.TftpPacketTypes import *
20from tftpy.TftpPacketFactory import *
21from tftpy.TftpClient import *
22from tftpy.TftpServer import *
23from tftpy.TftpContexts import *
24from tftpy.TftpStates import *
25