3LC Python Package Version 3.2¶

3.2.1¶

Enhancements and Fixes¶

  • [18117] Fixed an issue with accessing images on public AWS S3 buckets, including the one used for the 3LC public examples.


3.2.0¶

Features¶

  • [17359] 3LC now ships with a native backend written in Rust. Core infrastructure previously implemented in Python now runs natively, giving significant performance improvements such as noticeably faster indexing and scanning.

    The public Python API remains unchanged with a few exceptions. UrlAdapters can no longer contribute scan Urls via the tlc.url.UrlAdapter.default_*_scan_urls() methods, which have been removed. Default scan Urls should be contributed as scan-urls through the configuration system instead. tlc.url.UrlAdapterProtocol has also been removed, classes must subclass UrlAdapter to be registered. These are breaking changes, made as deliberate exceptions to Semantic Versioning for correctness and because the affected APIs are unlikely to be in use.

    License information for the bundled third-party Rust components is included in the wheel.

Enhancements and Fixes¶

  • [18039] add_weight_column=True on Table.from_*() methods no longer raises when the schema already declares a weight column and leaves the schema as-is instead. Correspondingly, weight_column_value is now optional (still falls back to 1.0) and only applies when a weight column is actually added.

  • [18040] Ensure first sample can be collated in tlc.collect_metrics().

  • [18045] Added support for abfss:// scheme (in addition to the existing abfs://).

  • [18039] Identify sample weight columns by their role, rather than name, in the Detectron2 integration.

Deprecations¶

  • [17359] Passing a positional force argument to tlc.url.register_url_alias() is deprecated. Pass force as a keyword argument instead (defaults to False).