Metadata-Version: 1.0
Name: xmodem
Version: 0.3.2
Summary: XMODEM protocol implementation.
Home-page: UNKNOWN
Author: Wijnand Modderman
Author-email: maze@pyth0n.org
License: MIT
Description: 
        ================================
         XMODEM protocol implementation
        ================================
        
        Documentation available at http://packages.python.org/xmodem/
        
        Usage
        =====
        
        Create a function to get and put character data (to a serial line for
        example)::
        
            >>> from xmodem import XMODEM
            >>> def getc(size, timeout=1):
            ...     return data or None
            ...
            >>> def putc(data, timeout=1):
            ...     return size or None
            ...
            >>> modem = XMODEM(getc, putc)
        
        Now, to upload a file, use the ``send`` method::
        
            >>> stream = open('/etc/fstab', 'rb')
            >>> modem.send(stream)
        
        To download a file, use the ``recv`` method::
        
            >>> stream = open('output', 'wb')
            >>> modem.recv(stream)
        
        For more information, take a look at the documentation_.
        
        .. _documentation: http://packages.python.org/xmodem/xmodem.html
        
        
Keywords: xmodem protocol
Platform: UNKNOWN
