Asciitable

Latest version: v0.8.0

Safety actively analyzes 613797 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.8.0

=====
Add support for reading and writing fixed width tables.

0.7.1

=====
Minor features and bug fix release:

- Add a method inconsistent_handler() to the BaseReader
class as a hook to handle rows with an inconsistent number
of data columns (contributed by Erik Tollerud).
- Output a more informative error message when guessing fails.
- Fix issues in column type handling, mostly related to the
MemoryReader class which is used for writing tables.
- Fix a problem in guessing where user-supplied args were
not filtering the guess possibilities correctly.
- Fix problem reading a single column, string-only table with
MemoryReader on MacOS.

0.7.0.2

=======
Fixed CDS docstrings so they pass doctest.

Thanks Segio Pascual for sending this fix.

0.7.0.1

=======
Fixed setup.py to install asciitable package instead asciitable.py module.

0.7.0

=====
This is a significant release with the following key features:

- Added support for reading and writing LaTeX tables
(contributed by Moritz Guenther).
- Improved the CDS reader by better supporting multi-file
tables (contributed by Frederic Grollier).
- Refactored the code into a package with functionally distinct modules.
- Added "type" attribute in the Column class that provides the
type of a column as IntType, FloatType, or StrType.

The new Latex and AASTex classes provide the ability to write
publication quality LaTeX tables in both the standard and AAS
"deluxetable" formats. These classes provide hooks to inject
additional LaTeX commands as needed for more complex tables.

API changes:
- Previously the read(), write(), get_reader() and get_writer()
raised an exception for unrecognized keyword arguments. Now
those extra arguments are passed on to the Reader class
constructor. From the user perspective this means you can call
read()/write() with class initialization arguments (see Cds and
Latex for examples). For developers it means more flexibility
in Reader classes.
- One minor API change is not backward compatible. When
specifying custom column converters (e.g. to force a column
that looks like integers to convert to floats) it was
previously possible to provide either a list of converters or a
single converter. Now you must always provide a list of
converters even it is has only one element. This was needed to
support consistent assigment of the Column.type attribute.

Other minor fixes:
- Fixed a bug when the "end_line" parameter is passed a function.
- Fixed a bug where the RDB writer issued incorrect column types.

0.6.0

=====
Add support and testing for MacOS and Windows.

- Fixed issue reading a table from a string under Windows.
- Added testing using Python 2.7 for Windows XP and MacOS 10.6.
- Changed Python 3 testing on linux from 3.1 to 3.2.
- Added pip and easy_install instructions to the installation documentation.
- Added __version__ variable to module.
- Removed download_url from setup.py since tar file is hosted on PyPI now.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.