Python-dwca-reader

Latest version: v0.16.0

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

Scan your dependencies

Page 3 of 7

0.10.1

--------------------

- fixed temporary directory: previously, it was always created under current dir instead of something chosen by Python such as /tmp.

0.10.0

--------------------

- GBIFResultsReader is now deprecated.
- API new: DwCAReader now provides source_metadata for GBIF-like archives (previously the main perk of GBIFResultsReader)
- API change: dwca.source_metadata is an empty dict (previously: None) when the archive doesn't has source metadata
- API new: dwca.utils._DataFile is now public and renamed to dwca.files.CSVDataFile.

0.9.2

-------------------

- Updated Darwin Core terms for the qualname helper (including Event Core).
- Updated dev. script (https://github.com/BelgianBiodiversityPlatform/python-dwca-reader/issues/45).

0.9.1

-------------------

- API new: DwCAReader.open_included_file(relative_path).
- InvalidArchive exception is now raised when a file descriptor references a non-existing field.

0.9.0

-------------------

- Support for new types of archives:

* DwCA without metafile (see page 2 of http://www.gbif.org/resource/80639), including or not a Metadata document (EML.xml). Fixes #47 and 7.
* DwCA where data fields are enclosed by some character (using fieldsEnclosedBy when the Archive provides a Metafile, autodetection otherwise). Fixes issue 53.
* Archives without a metadata attribute in the Metafile. See 51.
* Tgz archives.

- API change: SectionDescriptor => DataFileDescriptor
- API change: DataFileDescriptor.encoding => DataFileDescriptor.file_encoding
- API change: the reader previously only supported zip archives, and raised BadZipFile when the file format was not understood. It nows also supports .tgz, and throw InvalidArchive when the archive cannot be opened as .zip nor as .tgz.
- API new: DataFileDescriptor.fields_enclosed_by
- API new: DwCAReader.use_extensions

0.8.1

-------------------

- Support for archives contained in a single (sub)directory. See https://github.com/BelgianBiodiversityPlatform/python-dwca-reader/issues/49

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.