Sleap-io

Latest version: v0.1.0

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

Scan your dependencies

Page 1 of 3

0.1.0

What's Changed
* Add skeleton utilities by talmo in https://github.com/talmolab/sleap-io/pull/76
- `Skeleton.add_node`: Add a node by name or object.
- `Skeleton.add_edge`: Add an edge by lists of names or objects.
- `Skeleton.add_symmetry`: Add a symmetry edge by lists of names or objects.

* Update CI and versions by talmo in https://github.com/talmolab/sleap-io/pull/77
- Update dependency ranges (see below)
- Update action workflow versions
- Enable M1 mac runners
- Expand python version range to 3.7-3.12
- Note: Python 3.7 is no longer tested in CI due to lack of conda-forge compatability.
- Enable pure conda-forge dependency setup

* Bump to v0.1.0 by talmo in https://github.com/talmolab/sleap-io/pull/78

* Fix multi-skeleton loading by talmo in https://github.com/talmolab/sleap-io/pull/79
- Fixes 71.

* Add high level APIs by talmo in https://github.com/talmolab/sleap-io/pull/80
- Add `load_video` and `load_file` high level APIs (48)

* Labels QOL enhancements by talmo in https://github.com/talmolab/sleap-io/pull/81
- `LabeledFrame.remove_predictions`: Remove predicted instances from a labeled frame.
- `LabeledFrame.remove_empty_instances`: Remove instances with no visible points from a labeled frame.
- `Labels.save`: Instance-level convenience wrapper for `sio.save_file`.
- `Labels.clean`: Remove unused or empty frames, instances, videos, skeletons and tracks.
- `Labels.remove_predictions`: Remove predicted instances from all labeled frames (69).
- `Labels.__getitem__`: Now supports lists, slices, numpy arrays, tuples of `(Video, frame_idx)` and `Video`.

* Video QOL enhancements by talmo in https://github.com/talmolab/sleap-io/pull/82
- `Video.is_open`: Checks if the video exists and the backend is set.
- `Video.open`: Opens or restarts the backend for reading.
- `Video.close`: Closes the backend for reading.
- `Video.exists`: Check if the filename for the video exists.
- `Video.replace_filename`: Replace the filename and restart the backend.

Notes on dependency pins
- `ffmpeg < 6.1` due to https://github.com/imageio/imageio-ffmpeg/issues/99
- `h5py >= 3.8.0` due to https://github.com/h5py/h5py/issues/2118
- `python >= 3.8` due to `h5py >= 3.8.0` (we still support `python==3.7` via pip but this is not longer in CI)


**Full Changelog**: https://github.com/talmolab/sleap-io/compare/v0.0.14...v0.1.0

0.0.14

What's Changed
* Fix importing in Python 3.7 by talmo in https://github.com/talmolab/sleap-io/pull/75


**Full Changelog**: https://github.com/talmolab/sleap-io/compare/v0.0.13...v0.0.14

0.0.13

What's Changed
* Add sdist build by talmo in https://github.com/talmolab/sleap-io/pull/74


**Full Changelog**: https://github.com/talmolab/sleap-io/compare/v0.0.12...v0.0.13

0.0.12

What's Changed
* Add support for the Kumar Lab's JABS format by SkepticRaven in https://github.com/talmolab/sleap-io/pull/63
* Fix multi-video serialization in SLP by talmo in https://github.com/talmolab/sleap-io/pull/72

New Contributors
* SkepticRaven made their first contribution in https://github.com/talmolab/sleap-io/pull/63

**Full Changelog**: https://github.com/talmolab/sleap-io/compare/v0.0.11...v0.0.12

0.0.11

What's Changed
* Video handle persistence by talmo in https://github.com/talmolab/sleap-io/pull/64
* Bump to 0.0.11 by talmo in https://github.com/talmolab/sleap-io/pull/66


**Full Changelog**: https://github.com/talmolab/sleap-io/compare/v0.0.10...v0.0.11

0.0.10

This is a hotfix to get around installing in older environments with numpy <1.20.

What's Changed
* Fallback on import newer numpy.testing module by talmo in https://github.com/talmolab/sleap-io/pull/65


**Full Changelog**: https://github.com/talmolab/sleap-io/compare/v0.0.9...v0.0.10

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.