Skip to main content

Extensible ASCII table reader and writer

Project description

Asciitable can read and write a wide range of ASCII table formats via built-in Extension Reader Classes:

  • Basic: basic table with customizable delimiters and header configurations

  • Cds: CDS format table (also Vizier and ApJ machine readable tables)

  • CommentedHeader: column names given in a line that begins with the comment character

  • Daophot: table from the IRAF DAOphot package

  • Ipac: IPAC format table

  • Memory: table already in memory (list of lists, dict of lists, etc)

  • NoHeader: basic table with no header where columns are auto-named

  • Rdb: tab-separated values with a column types line after the column names line

  • Tab: tab-separated values

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asciitable-0.5.2.tar.gz (162.5 kB view details)

Uploaded Source

File details

Details for the file asciitable-0.5.2.tar.gz.

File metadata

  • Download URL: asciitable-0.5.2.tar.gz
  • Upload date:
  • Size: 162.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for asciitable-0.5.2.tar.gz
Algorithm Hash digest
SHA256 9ff5dfead0546237a6d42d8539a38289822b93b645908618db7428880e761c11
MD5 d72b5228d2003977ca590fe35a2c1df0
BLAKE2b-256 16cc5f923019eca5df1ba7c6ac0ebf86bd0179eb948be44fc7f2bb6acd6f1d1c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page