Asciitable: an extensible Python module to read and write ASCII tables
Asciitable is a Python module that can read and write a wide range of ASCII table formats via built-in Extension Reader Classes. This includes not only basic character-delimited tables but also a number of specialized formats used within astronomy such as IPAC and CDS tables. At the top level asciitable looks like many other ASCII table interfaces since it provides default read and write functions with long lists of parameters to accommodate the many variations possible in commonly encountered ASCII table formats. Below the hood however asciitable is built on a modular and extensible class structure. The basic functionality required for reading or writing a table is largely broken into independent base class elements so that new formats can be accomodated by modifying the underlying class methods as needed. Initial support for keywords and other table metadata is available and currently being enhanced.
Return to poster list