Lamindb

Latest version: v0.74.0

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

Scan your dependencies

Page 1 of 24

0.74

0.74.0

You can now distinguish model-like and dataset-like artifacts via a `type` field in the `Artifact` registry.

Leverage `artifact.params.add_values()` to annotate model-like artifacts like you leverage `artifact.features.add_values()` to annotate dataset-like artifacts.

- 🏗️ Add `type` field to `Artifact`, allow linking model-like artifacts against params, validate params akin to validating features, enable features-based annotation with non-ulabels [PR](https://github.com/laminlabs/lamindb/pull/1690) [falexwolf](https://github.com/falexwolf)
- 🚸 Support dict in add_values [PR](https://github.com/laminlabs/lamindb/pull/1705) [Zethson](https://github.com/Zethson)
- ♻️ Refactor after upath upgrade [PR](https://github.com/laminlabs/lamindb/pull/1699) [PR](https://github.com/laminlabs/lamindb/pull/1700) [Koncopd](https://github.com/Koncopd)

0.73.2

- 🐛 Fix clashing reverse accessors for `.previous_runs` and `.run` [PR](https://github.com/laminlabs/lamindb/pull/1698) [falexwolf](https://github.com/falexwolf)
- 🐛 Import IPython inside view [PR](https://github.com/laminlabs/lamindb/pull/1696) [Koncopd](https://github.com/Koncopd)

0.73.1

- 🏗️ Instantly synchronize instance schema with the hub [PR](https://github.com/laminlabs/lamindb/pull/1689) [fredericenard](https://github.com/fredericenard)
- ⬆️ Upgrade `universal_pathlib` to 0.2.2 [PR](https://github.com/laminlabs/lamindb/pull/1687) [Koncopd](https://github.com/Koncopd)
- 🐛 Fix generation of `uid` for manual Transform constructor [PR](https://github.com/laminlabs/lamindb/pull/1684) [falexwolf](https://github.com/falexwolf)
- 🔥 Deleting `artifact.stage()` in favor of `artifact.cache()` (was deprecated in 0.70.0)

0.73

0.73.0

Annotating & querying by features improved:
- ✨ Support non-categorical feature values [PR](https://github.com/laminlabs/lamindb/pull/1674) [falexwolf](https://github.com/falexwolf)
- ✨ Annotate dict-style with features & values [PR](https://github.com/laminlabs/lamindb/pull/1674) [falexwolf](https://github.com/falexwolf)
- ✨ Query by features via `.features.filter(key=value)` [PR](https://github.com/laminlabs/lamindb/pull/1680) [falexwolf](https://github.com/falexwolf)
- 🏗️ Feature values decoupled from feature sets [PR](https://github.com/laminlabs/lamindb/pull/1674) [falexwolf](https://github.com/falexwolf)

Example:

python
annotate dict-style (feature & category names get validated)
artifact.features.add_values({
"species": "setosa",
"scientist": ["Barbara McClintock", "Edgar Anderson"],
"instrument": "Leica IIIc Camera",
"temperature": 27.6,
"study": "Study 0: initial plant gathering",
"is_awesome": True
})

get the dict back
artifact.features.get_values()

query by feature
ln.Artifact.features.filter(is_awesome=True)


Various improvements:
- 🚚 Additional non-breaking constraints in the core schema [PR](https://github.com/laminlabs/lamindb/pull/1681) [falexwolf](https://github.com/falexwolf)
- 🚸 Make `.upload_from()`, `.download_to()`, and `.view_tree()` more user friendly [PR](https://github.com/laminlabs/lamindb/pull/1677) [falexwolf](https://github.com/falexwolf) [PR](https://github.com/laminlabs/lamindb/pull/1678) [Koncopd](https://github.com/Koncopd)
- 🚸 More intuitive version updating dialogue [PR](https://github.com/laminlabs/lamindb/pull/1676) [falexwolf](https://github.com/falexwolf)
- 🐛 Actually add tracking run for entities beyond Artifact & Collection [PR](https://github.com/laminlabs/lamindb/pull/1673) [falexwolf](https://github.com/falexwolf)
- 🚸 `ln.track()` returns `run` [PR](https://github.com/laminlabs/lamindb/pull/1674) [falexwolf](https://github.com/falexwolf)
- 🚸 Better duplicate detection and search [PR](https://github.com/laminlabs/lamindb/pull/1674) [falexwolf](https://github.com/falexwolf)
- 🚸 Prettier `.describe()` [PR](https://github.com/laminlabs/lamindb/pull/1674) [falexwolf](https://github.com/falexwolf)
- 🚸 More interactivity in `lamin save` [PR](https://github.com/laminlabs/lamindb/pull/1674) [falexwolf](https://github.com/falexwolf)
- 🚸 `create` flag in `.from_values()` [PR](https://github.com/laminlabs/lamindb/pull/1674) [falexwolf](https://github.com/falexwolf)
- 🚸 Better ordering of fields in dataframe & record representations [PR](https://github.com/laminlabs/lamindb/pull/1674) [falexwolf](https://github.com/falexwolf)
- 📝 Improved API reference: docs now show relationship attributes [PR](https://github.com/laminlabs/lamindb/pull/1680) [falexwolf](https://github.com/falexwolf)

Page 1 of 24

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.