Djangorestframework-csv

Latest version: v3.0.2

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

Scan your dependencies

Page 1 of 2

3.0.0

- Removed compatibility with Python 2
- Added compatibility with Django up to 3.2 and 4.2 (thanks to work from TTycho, awais786, arpitjain799, tirkarthi)

2.1.1

-----

- Add support for byte order markers (BOM) (thanks Yaoxin)
- Documentation updates (thanks rjemanuele and coreyshirk)

2.1.0

-----

- CSVs with no data still output header labels (thanks travisbloom)
- Include a paginated renderer as part of the app (thanks masterfloda)
- Generators can be used as data sources for CSVStreamingRenderer (thanks
jrzerr)
- Support for non UTF-8 encoding parsing (thanks weasellin)

2.0.0

-----

- Make `CSVRenderer.render` return bytes, and `CSVParser.parse` expect a byte
stream.
- Have data-less renders print header row, if header is explicitly supplied
- Drop Django 1.7 tests and add Django 1.10 tests
- have `CSVRenderer.tableize` act as a generator when possible (i.e., when a
header is explicitly specified).
- Add docs for labels thanks to radyz
- Fix header rendering in `CSVStreamingRenderer` thanks to radialnash
- Improve unicode handling, thanks to brandonrobertz

1.4.0

-----------

- Add support for changing field labels in the ``CSVRenderer``, thanks to soby
- Add support for setting ``CSVRenderer`` headers, labels, and writer_opts as
``renderer_context`` parameters.
- Renamed ``CSVRenderer.headers`` to ``CSVRenderer.header``; old spelling is
still available for backwards compatibility, but may be removed in the future.

1.3.4

-----

- Support streaming CSV rendering, via ivancrneto
- Improved test configuration and project metadata, via ticosax

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.