Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Python module for parsing semi-structured text into python tables. Fork to add repeated data functionality

License

Notifications You must be signed in to change notification settings

jhogg/textfsmplus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextFSMplus

Forked TextFSMPlus package, which is the Google TextFSM package with:

  • merged google#38 (Repeat regex on single line)

New Features post fork:

  • merged google/textfsm through stable 2.1.0 (about 5 years)
  • New line keyword 'Pop' to allow returning to a state with the current line
  • Restructured ParseText to support Pop and make flow a little cleaner
  • Added debug option to ParseText so you can see decisions

Work in progress:

  • Add support for text to be file stream (paramiko)
  • Split FSM loader to TextFSMBuilder and allow easy inline building of FSM
  • Better debug support for templates, CLI option
  • Fixed failing test cases and warnings

Other Notes:

  • There are some FIXME's where things need to be cleaned up.
  • Intentionally shifted state back to 4 - Beta.
  • There is dead code.
  • There is a test case that is expected to fail that doesn't with the new regex. Needs research.

About

Python module for parsing semi-structured text into python tables. Fork to add repeated data functionality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%