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 Distributions
File details
Details for the file asciitable-0.6.0.zip
.
File metadata
- Download URL: asciitable-0.6.0.zip
- Upload date:
- Size: 168.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 035d2245b8c0bc83214482215c3e58c65d8d094334b00094486f52d04bee43d1 |
|
MD5 | ab66ca51550a9f16e8131e91a5b615b5 |
|
BLAKE2b-256 | 8ac303db13ce5b0cf6a2ab6585318c74b8fb6a28aee203b1b81dfa47728d984e |
File details
Details for the file asciitable-0.6.0.tar.gz
.
File metadata
- Download URL: asciitable-0.6.0.tar.gz
- Upload date:
- Size: 165.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa20c9f5590133406c153c4f43a01c373c6bef3b1747800b08a4cdae07c0c663 |
|
MD5 | 1bc50c8e8204cb6ed016115e8e4cabfa |
|
BLAKE2b-256 | 33848358567876fc7d498dee56d7cf017ae4a79a21238d6135caf872fcef9a71 |