Fastcore

Latest version: v1.5.37

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

Scan your dependencies

Page 10 of 13

1.2.4

New Features

- move basic functionality into `fastcore.basics`, using minimal imports ([149](https://github.com/fastai/fastcore/issues/149))
- add `anno_dict` and `empty2none` in `meta` ([145](https://github.com/fastai/fastcore/issues/145))

1.2.3

New Features

- add `try_attrs` ([142](https://github.com/fastai/fastcore/issues/142))
- add `filter_dict`, `filter_keys`, and `filter_values` ([140](https://github.com/fastai/fastcore/issues/140))
- add `str2bool` ([138](https://github.com/fastai/fastcore/issues/138))

Bugs Squashed

- `type` fails with `typedispatch` ([144](https://github.com/fastai/fastcore/issues/144))
- `with_cast` fails to cast default values ([139](https://github.com/fastai/fastcore/issues/139))

1.2.2

New Features

- support `store_true` and `store_false` in `fastcore.script` ([137](https://github.com/fastai/fastcore/issues/137))
- add function `otherwise` ([136](https://github.com/fastai/fastcore/issues/136))
- add `pdb` debug flag to scripts ([133](https://github.com/fastai/fastcore/issues/133))
- Update `copy_func` to include required keyword defaults ([134](https://github.com/fastai/fastcore/pull/134)), thanks to [worc3131](https://github.com/worc3131)

1.2.0

Breaking Changes

- `Config` no longer magically converts `str->Path` for any keys. Use new `path` method instead ([131](https://github.com/fastai/fastcore/issues/131))

New Features

- `rinstance`: Curried `isinstance` but with args reversed, suitable for `partial` ([130](https://github.com/fastai/fastcore/issues/130))
- Use `_repr_pretty_` for `L` ([129](https://github.com/fastai/fastcore/issues/129))
- `open_file` to open optionally-compressed files for reading and writing, and add compression support to `load_pickle` and `save_pickle` ([128](https://github.com/fastai/fastcore/issues/128))
- add context manager for failed tests ([126](https://github.com/fastai/fastcore/pull/126)), thanks to [hamelsmu](https://github.com/hamelsmu)
- Add `Request.request` support to `urlread` ([132](https://github.com/fastai/fastcore/issues/132))

1.1.2

New Features

- runtime type checking with `typed` decorator ([125](https://github.com/fastai/fastcore/issues/125))

1.1.1

New Features

- `threaded` decorator ([124](https://github.com/fastai/fastcore/issues/124))
- POST support for `urlread` ([124](https://github.com/fastai/fastcore/issues/124))
- add `sorted_ex, `map_ex`, `filter_ex`, and `argwhere` ([122](https://github.com/fastai/fastcore/issues/122))

Page 10 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.