Datconv

Latest version: v0.8.0

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

Scan your dependencies

Page 1 of 4

0.8.0

----------------------------------
Improvements
^^^^^^^^^^^^
- Added ``columns: 1`` parameter to ``datconv.writers.dccsv``. It allows to place headers in first line of output when all records have the same structure.
- Added new output connector: ``datconv.outconn.dcexcel`` to be used with CSV writer for writing MS Excel (.xlsx) files.

0.7.3

----------------------------------
Improvements
^^^^^^^^^^^^
- Added support for schema names to database output connectors.

0.7.02

----------------------------------
Improvements
^^^^^^^^^^^^
- Added possibility to run Datconv as iterator (i.e. obtain output records directly in Python code).

Fixes
^^^^^^^^^^^^
- Default log level is set to INFO when run from command line and ERROR when run from Python.
- Added additional range checks when cast option is used in ``datconv.outconn.postgresql.jinsert``
to prevent INSERT errors.
- Fixed bug in ``datconv.writers.dcjson`` which produced invalid output ``key: NaN`` while converting "Nan" string.

0.6.1

----------------------------------
Improvements
^^^^^^^^^^^^
- Improved command line option ``--default``.
- ``datconv.outconn.postgresql.jddl``: new connector
- ``datconv.outconn.postgresql.jinsert``: added support for JSON types.
- ``datconv.outconn.postgresql.jinsert``: added support for casting to ARRAY.
- More flexible configuration of ddl connectors (not backword compatible changes - see :doc:`Upgrade`)

Fixes
^^^^^^^^^^^^
- ``datconv.outconn.postgresql.jinsert``: when ``autocommit: false`` no records are saved in case of error.

0.6.0

----------------------------------
Improvements
^^^^^^^^^^^^
- Added output connectors layer - see :ref:`outconn_skeleton`.
- Added parameters ``rectyp_separator`` and ``add_type`` to XPath Writer to better support database ddl connectors.
- Introduced :doc:`default`.

Fixes
^^^^^^^^^^^^
- Fix program crash with json readers when status reporting was enabled.

0.5.1

----------------------------------
Improvements
^^^^^^^^^^^^
- Added optional filter method ``setFooter()`` to inform filter about contents of data footer and give it a chance to change it.
- Convert standard filters pipe, stat, statex to use ``setFooter()`` instead of ``__del__()``.

Fixes
^^^^^^^^^^^^
- Fix program crash when dcjson writer was used with ``with_prop: true`` option.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.