Tftpy is a TFTP library for the Python programming language. It includes client and server classes, with sample implementations. Hooks are included for easy inclusion in a UI for populating progress indicators. It supports RFCs 1350, 2347 and 2348. Proje
Be the first to post a text review of Tftpy, a pure Python TFTP Library. Rate and review a project by clicking thumbs up or thumbs down in the right column.
I've decided that the state handling in tftpy is too difficult to maintain, and I'm ditching it. I've started that work in a private branch in Git. First though, I'm going to merge all of the contributed patches into an experimental branch and push that to github. I'll then rebase my state-machine branch on that and keep going. It's a big rewrite, so expect breakage in the short term. Contributed unit tests are welcome, I really need to flesh those out. Cheers.
Fabian Knittel contributed some helpful patches for robustness and security. I need to take a closer look at them, but for now they're living on a branch at github. See the "fabian-patches" branch if you want to check them out.
2008-10-04Michael P. Soulier 07416bf: Rebased tsize branch and added a --tsize option to the client. 2008-07-30Michael P. Soulier 8a0162b: Adding transfer size option patch from Kuba Koczyk. 2008-10-03Michael P. Soulier c408389: Merged from SVN trunk after register to PyPi 2008-10-04msoulier 65ef2d9: Updated for PyPi 2008-05-28msoulier 33b1353: Tagging 0.4.5. 936e4df: Updated for v0.4.5 release. caff30d: Fix for bug 1967647, referencing self.sock instead of sock. 2008-05-20msoulier 70f22b1: Fix for [ 1932310 ] security check always fail for windows. 596af40: Fixed division by zero error in rate calculations in download function of 3b1bae3: Fix for bug [ 1932330 ] binary downloads fail in Windows. 2008-01-31msoulier 648564c: Updated README. 792df2d: Updated ChangeLog 941f5bf: Updating version to 0.4.4 2007-12-16msoulier f8af287: Fixing 1851544 - server not tolerant of unsupported options 2007-07-17msoulier 89a8382: Updated for 0.4.3 release. 2007-07-16msoulier 2a98d72: Removed redundant comparison. 955ced3: Fixing string/integer comparison. 2007-06-05msoulier 493dcac: Updated for 0.4.2 bb47795: Fixed unit test for factory 2007-03-31msoulier d9665e1: Updating docs for epydoc. b68ceca: Updated build process. d8730c7: Adding epydoc target. 2007-03-15msoulier 0b41ffb: Updated ChangeLog 2007-02-23msoulier 8f5595c: Simplifying use of optparse. Thanks to Steven Bethard for the suggestions. 2007-02-17msoulier 5c52975: Removed mention of sorceror's apprentice problem. c8df0fd: Rearranged packaging a bit to fix an importing problem. c7d86d3: Supplying a default blksize options in the server. 2007-02-10msoulier 07906cd: Added a check for rogue packets in the server. 2007-02-09msoulier f53e68b: Making the lib backwards-compatible to Python 2.3. 2006-12-17msoulier efd248f: Rolling to version 0.4.1. 95b6a72: Restructuring single lib into a package. a1ad552: Restructuring single lib into a package. c43a24c: Restructuring single lib into a package. 5e6d8fe: Restructuring single lib into a package. 6eb1501: Fixing install location of library. 2006-12-16msoulier 15023eb: Added server to package. ac2faa3: Updated ChangeLog, and rolled version to 0.4 2006-12-15msoulier f79a1e9: Making server exit gracefully. 16ebbf2: Tweak to EOF handling in server. 7723705: First working server tests with two clients. 5cfbae3: Added lots in the server to support a download, with timeouts. d5b7276: Fixed a bug in handling block number rollovers. 2006-12-14msoulier 7441f0a: Got handling of file not found working in server. 3b4d177: Starting on sample server. 94ef067: Successful test on basic select loop 2006-12-11msoulier 6f186f2: Added some security checks around the tftproot. 2006-12-10msoulier b5a96ec: Fleshing out server handler implementation. fc2a587: Started on the server 2006-12-09msoulier aece5aa: Added --debug option to sample client. 204cce4: Adding license 4fc510b: Adding ChangeLog 07e2976: Bumped the version. 104dfe0: Changed the port variables to something more intelligent. 15c5a0f: Fixing poor TID implementation. 2006-10-25msoulier 8e6cd77: Added testcase for TftpPacketFactory. 2006-10-13msoulier 7486502: Implemented retries on download timeouts. 0528b1b: Added some info statements regarding option negotiation. 4c73041: Updated testcases, fixed one error in decode_options 2006-10-11msoulier f2b7d5d: Updated testcases 837344c: Updated makefile 08af50a: Adding makefile 2006-10-10msoulier 99b3bbd: Moved LICENSE to COPYING 2006-10-09msoulier 2e42f99: Added test for WRQ packet 6ebd6fc: Fixed broken decode, and adjusted the client options. 2006-10-08msoulier 6db1b2c: Starting on unit tests 2006-10-05msoulier e771f67: Fixed handling of port cb75a4b: Updating for production 19e8f0f: Freezing 0.2 0a13eb5: Fixed poor EOF detection ed15161: Got variable blocksizes working. 2006-10-04msoulier c24bba2: Added confirmation of incoming traffic to known remote host. c11ac3a: Restructured in preparation for tftp options 2827cf1: Updated README c6094b0: Updated README 09de253: Added seconds to logs 82821e5: Upping version to 0.2 88c387b: Added OACK packet, and factored-out client code.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?