Releases: octue/octue-sdk-python
Releases · octue/octue-sdk-python
Patch release: Add filtering capability and data input hashing
New Features
- Add
Hashable
mixin to create data hashes ofDatafile
s and their containers, including metadata - Add
Filterable
mixin to makeDatafiles
in aDataset
andTag
s in aTagSet
filterable - Add
FilterSet
class for storing and facilitating filtering ofDatafiles
inDataset
andTag
s inTagSet
- Add
FilterList
for the output of orderingFilterSet
s - Add a plethora of type- and interface-based filters for use on
FilterSet
s andFilterList
s
Breaking changes
- Any
sha256
properties have been replaced withblake3_hash
properties - Replace
TagSet.has_tag
with native `contains method - Rename
TagSet.starts_with
toTagSet.any_tag_starts_with
- Rename
TagSet.ends_with
toTagSet.any_tag_ends_with
Minor fixes and improvements
- Replace SHA256 hashing with BLAKE3 hashing - this is reportedly around 10 times as fast!
- Neaten up #40/#42 by combining the two workflow files while still keeping separate checks on GitHub. This also makes the version check display less verbosely on GitHub
- Add
Tag
class, neatening up the retrieval and filtering of subtags - Rename
TagGroup
toTagSet
to reflect that it's set-based
Version consistency checks and Output Manifest fixes
Improve basic CLI functionality
CLI Improvements
New Features
- Updated CLI to a central CLI rather than a generative process that gives a CLI for each application #9
- Updated dependencies of the fractal example for test with twined server (a tide-us-over stopgap)
- Addition of a Pathable Class, which resolves discussions in #16 for managing paths
- Adds a Context Manager for Datafiles which elegantly handles construction of data paths and opening of files in write mode #3
- Adds a complete example for use and creation of datasets via manifests.
Minor Changes
- Various performance tuning and refactoring for simpler code by @cordatocodes
- Negates need for #15 because Pathable uses the os.path builtins properly, to clean paths and resolve between absolute and relative
- Serialisables can now exclude fields as well as explicitly including them
- Style reapplied throughout (pre-commit didn't get installed)
- Resolve issue #27 problem where the two tests of the
run
command of the CLI pass by themselves, but not when run in serial withtest_fractal_configuration
- Decision: Extra unused strand data should be passed to Runner to enable simplified CLI (see
test_exception_raised_when_extra_strand_data_present
) - [ x] Removes unused
tmp_dir
#30 - Fix #20 CLI raises TypeError when running from command [NB this should be fixed, but have yet to test the caller]
Major API improvement for Twined==0.0.12
Merge pull request #18 from octue/release/0.1.3 Release/0.1.3
Release to provide basic SDK functionality
v0.1.2 Version bump for release
Base release to verify PyPI works correctly
v0.1.0 General updates figuring out how PyPI works