Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Version 1.1.1 (2026-11-24)

  • Fixed: cached properties missing in the cache file of a dataset, are now calculated and stored in the cache file when loading the dataset from cache, instead of being calculated again by every data card using the dataset

Version 1.1.0 (2026-11-23)

  • Added: repository argument to audbcards.Dataset to provide the repository of the dataset

  • Added: repository column to the datasets overview page

  • Changed: the sphinx extension passes the repository returned by audb.available()

  • Changed: show repository without a link on the data card

  • Fixed: do not store audbcards.Dataset.repository in the cache file of a dataset, as it might be outdated when a dataset is moved to another repository. Existing cache files are updated automatically

  • Removed: audbcards.Dataset.repository_link, as it pointed to the Artifactory web UI, which is not available for other backends

Version 1.0.1 (2026-11-21)

  • Changed: reduce memory consumption when removing duplicated segments of a dataset, e.g. when calculating segment durations for datasets with millions of segments

Version 1.0.0 (2026-11-20)

  • Added: audbcards.Dataset.file_duration_histogram holding minimum, maximum, and a histogram with 1000 bins of the file durations

  • Added: audbcards.Dataset.segment_duration_histogram holding minimum, maximum, and a histogram with 1000 bins of the segment durations

  • Added: dependency on audbackend>=3.1.0

  • Added: dependency on pyarrow>=13.0.0

  • Changed: tables stored as PARQUET files are no longer downloaded completely to get their number of rows, their preview, and the segments of a dataset

  • Changed: audbcards.Datacard.player() only caches the required example file and not the whole media archive

  • Changed: release memory of data no longer needed after a dataset is cached and after a data card is written by the sphinx extension

  • Fixed: store only public cached properties in the cache file of a dataset. Existing cache files are updated automatically

  • Removed: audbcards.Dataset.file_durations, use audbcards.Dataset.file_duration_histogram instead

  • Removed: audbcards.Dataset.segment_durations, use audbcards.Dataset.segment_duration_histogram instead

Version 0.5.1 (2026-11-13)

  • Added: "dfs" key to app.audbcards of the sphinx extension, storing the list of datasets for the folder of each entry of the audbcards_datasets config

  • Changed: raise ValueError if entries of the audbcards_datasets config of the sphinx extension share the same folder

Version 0.5.0 (2026-11-13)

  • Added: table_preview argument to audbcards.Datacard to disable the preview of the content of each table on the data card

  • Added: "table_preview" key to entries of the audbcards_datasets config of the sphinx extension

  • Added: support for Python 3.15

  • Changed: entries of the audbcards_datasets config of the sphinx extension are dictionaries with the keys "folder", "header", "repositories", "example", and "table_preview", where only "folder" is required

  • Changed: "folder" of an audbcards_datasets entry needs to be a sub folder of the sphinx source folder

  • Changed: hide the whole example section of a data card, if example of audbcards.Datacard is False

  • Deprecated: tuple entries of the audbcards_datasets config of the sphinx extension

  • Fixed: show durations in table previews without microseconds for pandas>=3.0

  • Fixed: use audb.config.REPOSITORIES in the default audbcards_datasets config of the sphinx extension

  • Removed: support for Python 3.10

  • Removed: dependency on toml

Version 0.4.6 (2026-07-28)

  • Changed: show audbcards.Dataset.example_json for archives of up to 1000 files

Version 0.4.5 (2026-06-09)

  • Added: support for Python 3.14

  • Changed: depend on audb>=1.12.0

  • Changed: use num_workers=10 in audb.available() to speed up collecting available datasets

  • Changed: exclude tests/ and docs/ folders from the Python package

Version 0.4.4 (2026-06-02)

  • Fixed: support scheme labels with quotes

Version 0.4.3 (2026-04-13)

  • Fixed: ensure audbcards.Dataset.example_media ignores files that are neither audio nor video

Version 0.4.2 (2026-03-11)

  • Fixed: ensure JSON media examples on datacards are always presented as multi-line with an indent of 2

Version 0.4.1 (2026-01-14)

  • Changed: hide missing audio entries in datacard

Version 0.4.0 (2026-01-12)

  • Added: audbcards.Dataset.example_json

  • Added: audbcards.Datacard.json

  • Added: show JSON examples on the datacard

  • Removed: support for Python 3.9

Version 0.3.6 (2025-06-05)

  • Changed: exclude zero durations from audbcards.Dataset.file_durations

  • Fixed: audbcards.Dataset.schemes_summary for a scheme with name speaker that contains a list as labels

Version 0.3.5 (2024-12-09)

  • Fixed: list the first occurrences for datasets that are mirrored in several repositories

Version 0.3.4 (2024-12-08)

  • Fixed: sphinx extension when audbcards_templates is empty

Version 0.3.3 (2024-12-08)

  • Added: template_dir argument to audbcards.Datacard

  • Added: audbcards_templates configuration value to sphinx extension for providing user defined templates

  • Added: support for Python 3.12

  • Added: support for Python 3.13

  • Added: a sentence on top of the tables table indicating that a table can be previewed

  • Changed: removed URL link from audbcards.Dataset.repositories as some backends do not have a valid URL

Version 0.3.2 (2024-05-04)

  • Added: number of rows and columns to the table preview

Version 0.3.1 (2024-07-27)

  • Fixed: inclusion of custom CSS and JS file of the sphinx extension

Version 0.3.0 (2024-07-26)

  • Added: table preview for each table of a dataset on the datacard

  • Added: audbcards.Dataset.segments which returns the number of unique segments of a dataset

  • Added: audbcards.Datasets.segment_durations, which returns a list of all segment durations

  • Added: audbcards.Datacard.segment_duration_distribution

  • Changed: don’t show media examples for datasets that store, on average, more than 100 files per archive

  • Changed: show video examples as video instead of audio

  • Changed: depend on audeer>=2.2.0

  • Changed: depend on audiofile>=1.5.0

Version 0.2.0 (2024-05-15)

  • Added: audbcards.config.CACHE_ROOT to configure the default cache root

  • Added: store the result of audb.available() in the sphinx extension to make it reusable

  • Added: audbcards.Dataset.example_media

  • Added: cache_root argument to audbcards.Datacard

  • Added: support for Python 3.11

  • Changed: speedup caching of audbcards.Dataset

  • Changed: cache resulting files of audbcards.Datacard.file_duration_distribution() and audbcards.Datacard.player()

  • Changed: depend on audb>=1.7.0

  • Fixed: skip duration distribution plots for datasets that only contain files with the same duration

  • Fixed: support | character in dataset description

  • Fixed: remove audbcards.Dataset.prop from API documentation

  • Removed: audbcards.Datacard.example_media, use audbcards.Dataset.example_media instead

Version 0.1.0 (2024-03-27)

  • Added: initial release, including the classes audbcards.Datacard and audbcards.Dataset, and the audbcards.sphinx extension