Terminal Filter Framework: Provides basic interfaces for terminal I/O filter applications, and exports some default implementations such as Scanner, Parser ...etc.
C Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tools Linting Apr 25, 2014
.gitignore Update gitignore Jan 19, 2014
COPYING Linting Apr 25, 2014
ChangeLog Update ChangeLog Jan 31, 2014
MANIFEST.in Update MANIFEST Jan 19, 2014
Makefile Linting Apr 25, 2014
README.rst Update README Jan 3, 2014
TODO Update TODO Jul 8, 2013
__init__.py Linting Apr 25, 2014
ctff.c Update setup.py Apr 25, 2014
setup.py Update setup.py Apr 25, 2014
tff.py Bump version Apr 25, 2014

README.rst

TFF - Terminal Filter Framework

This module provides basic interfaces for terminal I/O filter applications, and exports some default implementations such as Scanner, Parser ...etc.

Install

via github

$ git clone https://github.com/saitoha/tff.git
$ cd tff
$ python setup.py install

or via pip

$ pip install tff

Requirements

Python 2.6/2.7 unix/linux version

Exported Interfaces

Following interfaces are exported from tff/interface.py

  • tff.EventObserver

    adapt to event driven ECMA-35/48 parser model

  • tff.OutputStream:

    Abstructed TTY output stream

  • tff.EventDispatcher

    Dispatch interface of terminal sequence event oriented parser

  • tff.Parser:

    Abstruct event driven Parser. dispatch parser event to event dispatcher

  • tff.PTY:

    Abstructed PTY device

License

MIT License

Dependents