Recent Releases of class-resolver

class-resolver - v0.7.0

What's Changed

  • Drop Python 3.9 support by @cthoyt in https://github.com/cthoyt/class-resolver/pull/82
  • Enable multiple synonym attributes by @cthoyt in https://github.com/cthoyt/class-resolver/pull/81

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.6.1...v0.7.0

- Python
Published by cthoyt 6 months ago

class-resolver - v0.6.1

This is the last release to support Python 3.9 - there will already be issues installing before because there was no upper bound on click before. Soz!

What's Changed

  • Add upper bound for click to keep python 3.9 support by @cthoyt in https://github.com/cthoyt/class-resolver/pull/83

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.6.0...v0.6.1

- Python
Published by cthoyt 6 months ago

class-resolver - v0.6.0

What's Changed

  • Remove ray by @cthoyt in https://github.com/cthoyt/class-resolver/pull/77
  • Update cruft by @cthoyt in https://github.com/cthoyt/class-resolver/pull/78
  • Improve type checking (Part 3) by @cthoyt in https://github.com/cthoyt/class-resolver/pull/79
  • Add strict type checking by @cthoyt in https://github.com/cthoyt/class-resolver/pull/75

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.5.5...v0.6.0

- Python
Published by cthoyt 10 months ago

class-resolver - v0.5.5

What's Changed

  • Reformat with ruff and docstrfmt by @cthoyt in https://github.com/cthoyt/class-resolver/pull/73
  • Improve type checking by @cthoyt in https://github.com/cthoyt/class-resolver/pull/74
  • Improve type checking (Part 2) by @cthoyt in https://github.com/cthoyt/class-resolver/pull/76
  • Include synonyms in click.option by @cthoyt in https://github.com/cthoyt/class-resolver/pull/68

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.5.4...v0.5.5

- Python
Published by cthoyt 10 months ago

class-resolver - v0.5.4

What's Changed

  • Gracefully handle cyclic dependencies by @cthoyt in https://github.com/cthoyt/class-resolver/pull/72

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.5.3...v0.5.4

- Python
Published by cthoyt over 1 year ago

class-resolver - v0.5.3

What's Changed

  • Use future annotations by @cthoyt in https://github.com/cthoyt/class-resolver/pull/69
  • Enable annotation documentation locations by @cthoyt in https://github.com/cthoyt/class-resolver/pull/71

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.5.2...v0.5.3

- Python
Published by cthoyt over 1 year ago

class-resolver - v0.5.2

What's Changed

  • Add method to generate overview table by @mberr in https://github.com/cthoyt/class-resolver/pull/66

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.5.1...v0.5.2

- Python
Published by cthoyt over 1 year ago

class-resolver - v0.5.1

What's Changed

  • Update typing syntax by @cthoyt in https://github.com/cthoyt/class-resolver/pull/65
  • Docstring decorator by @mberr in https://github.com/cthoyt/class-resolver/pull/63

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.5.0...v0.5.1

- Python
Published by cthoyt over 1 year ago

class-resolver - v0.5.0

What's Changed

  • Update CI by @cthoyt in https://github.com/cthoyt/class-resolver/pull/61
  • Add strict typing by @cthoyt in https://github.com/cthoyt/class-resolver/pull/60
  • Modernize project (part 1) by @cthoyt in https://github.com/cthoyt/class-resolver/pull/62
  • Drop python 3.7 and python 3.8 support

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.4.3...v0.5.0

- Python
Published by cthoyt over 1 year ago

class-resolver - v0.4.3

What's Changed

  • 🔥📶 fix lrschedulerresolver for torch > 2.0 by @mberr in https://github.com/cthoyt/class-resolver/pull/59

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.4.2...v0.4.3

- Python
Published by cthoyt about 2 years ago

class-resolver - v0.4.2

What's Changed

  • Make KeyError more informative by @cmungall in https://github.com/cthoyt/class-resolver/pull/51
  • Add doctests to CI by @cthoyt in https://github.com/cthoyt/class-resolver/pull/53
  • Update docstrings for torch contrib by @cthoyt in https://github.com/cthoyt/class-resolver/pull/55
  • Use importlib.metadata instead of pkg_resources for entry point discovery by @pkalita-lbl in https://github.com/cthoyt/class-resolver/pull/57

New Contributors

  • @cmungall made their first contribution in https://github.com/cthoyt/class-resolver/pull/51
  • @pkalita-lbl made their first contribution in https://github.com/cthoyt/class-resolver/pull/57

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.4.1...v0.4.2

- Python
Published by cthoyt almost 3 years ago

class-resolver - v0.4.1

What's Changed

  • Add sklearn contrib by @cthoyt in https://github.com/cthoyt/class-resolver/pull/44
  • Add optuna categorical suggestion function by @cthoyt in https://github.com/cthoyt/class-resolver/pull/46
  • Add torch_geometric contrib module by @cthoyt in https://github.com/cthoyt/class-resolver/pull/43
  • Make compatible with torch>=2.0 by @mberr in https://github.com/cthoyt/class-resolver/pull/48

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.4.0...v0.4.1

- Python
Published by cthoyt almost 3 years ago

class-resolver - v0.4.0

What's Changed

  • Add more tests by @cthoyt in https://github.com/cthoyt/class-resolver/pull/41
  • Add flag to decice whether main is considered private by @mberr in https://github.com/cthoyt/class-resolver/pull/42

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.3.10...v0.4.0

- Python
Published by cthoyt about 3 years ago

class-resolver - v0.3.8

Expose two type annotations from top-level:

  • OneOrManyHintOrType,
  • OneOrManyOptionalKwargs

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.3.7...v0.3.8

- Python
Published by cthoyt almost 4 years ago

class-resolver - v0.3.7

Update silly mistakes in docs

This is what happens when you don't use doctests

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.3.6...v0.3.7

- Python
Published by cthoyt almost 4 years ago

class-resolver -

  • Add aggregation resolver for torch contrib
  • Add numpy contrib with aggregation resolver
  • Update intersphinx and build

- Python
Published by cthoyt almost 4 years ago

class-resolver - v0.3.5

What's Changed

  • Add docdata getter by @cthoyt in https://github.com/cthoyt/class-resolver/pull/36
  • Alternate entrypoint loaders by @cthoyt in https://github.com/cthoyt/class-resolver/pull/37

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.3.4...v0.3.5

- Python
Published by cthoyt almost 4 years ago

class-resolver - v0.3.4

What's Changed

  • Add common additional kwargs to make_many by @mberr in https://github.com/cthoyt/class-resolver/pull/34

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.3.3...v0.3.4

- Python
Published by cthoyt almost 4 years ago

class-resolver - v0.3.3

What's Changed

  • Add ReduceLROnPlateau to torch.lr_scheduler_resolver by @rusty1s in https://github.com/cthoyt/class-resolver/pull/32
  • Update documentation of class_resolver.contrib by @cthoyt in https://github.com/cthoyt/class-resolver/pull/31

New Contributors

  • @rusty1s made their first contribution in https://github.com/cthoyt/class-resolver/pull/32

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.3.2...v0.3.3

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.3.2

What's Changed

  • Exclude external subclasses by default by @cthoyt in https://github.com/cthoyt/class-resolver/pull/30

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.3.1...v0.3.2

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.3.1

What's Changed

  • Add optuna contrib by @cthoyt in https://github.com/cthoyt/class-resolver/pull/28

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.3.0...v0.3.1

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.3.0

What's Changed

  • Update registration errors by @cthoyt in https://github.com/cthoyt/class-resolver/pull/23
  • Add torch contrib module by @cthoyt in https://github.com/cthoyt/class-resolver/pull/22
  • Remove official Python 3.6 support by @cthoyt in https://github.com/cthoyt/class-resolver/pull/24
  • Mock torch in docs by @cthoyt in https://github.com/cthoyt/class-resolver/pull/25
  • Rename class resolver class by @cthoyt in https://github.com/cthoyt/class-resolver/pull/26
  • Add torch scenario to README by @cthoyt in https://github.com/cthoyt/class-resolver/pull/27

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.2.6...v0.3.0

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.2.6

What's Changed

  • Handle default value of click option for multiple=True by @mberr in https://github.com/cthoyt/class-resolver/pull/20

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.2.5...v0.2.6

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.2.5

What's Changed

  • Fix class lookup by @mberr in https://github.com/cthoyt/class-resolver/pull/19

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.2.4...v0.2.5

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.2.4

What's Changed

  • Implement make_many by @cthoyt in https://github.com/cthoyt/class-resolver/pull/17

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.2.3...v0.2.4

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.2.3

  • Fix bug when synonyms are None (7cc15b4)

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.2.2...v0.2.3

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.2.2

What's Changed

  • Expose typing via mypy by @mberr in https://github.com/cthoyt/class-resolver/pull/14
  • Add synonym lookup by @cthoyt in https://github.com/cthoyt/class-resolver/pull/15

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.2.1...v0.2.2

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.2.1

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.2.0...v0.2.1

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.2.0

What's Changed

  • Function resolver by @mberr in https://github.com/cthoyt/class-resolver/pull/12
  • Add missing tests by @cthoyt in https://github.com/cthoyt/class-resolver/pull/13

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.1.1...v0.2.0

- Python
Published by cthoyt about 4 years ago

class-resolver - v0.1.1

Full Changelog: https://github.com/cthoyt/class-resolver/compare/v0.1.0...v0.1.1

- Python
Published by cthoyt about 4 years ago

class-resolver -

  • Add special TypeError for unexpected kwargs
  • Blacken all code
  • Add python 3.6 through 3.10 testing

- Python
Published by cthoyt over 4 years ago

class-resolver -

  • Allow override of default value on lookup
  • Add special exception when missing a required kwarg

- Python
Published by cthoyt over 4 years ago

class-resolver -

Add entrypoint loader

- Python
Published by cthoyt over 4 years ago

class-resolver -

  • Add ability to register classes to a resolver after instantiation
  • Add checks for class signature

- Python
Published by cthoyt almost 5 years ago

class-resolver -

- Python
Published by cthoyt almost 5 years ago

class-resolver -

  • Add nested dict variant of Resolver.make() (#7, thanks @mberr)
  • Add more base type annotations
  • Make Resolver work as an iterable over its lookup classes

- Python
Published by cthoyt almost 5 years ago

class-resolver -

- Python
Published by cthoyt almost 5 years ago

class-resolver -

- Python
Published by cthoyt almost 5 years ago

class-resolver -

  • Add ray.tune option generation (thanks @mberr)

- Python
Published by cthoyt almost 5 years ago

class-resolver -

  • Improve feedback on invalid
  • Automate extraction of suffix from base class name (thanks @mberr)

- Python
Published by cthoyt almost 5 years ago

class-resolver -

Add passthrough functionality and testing

- Python
Published by cthoyt almost 5 years ago

class-resolver -

Fix requirements

- Python
Published by cthoyt almost 5 years ago

class-resolver -

Initial implementation of the Resolver class

- Python
Published by cthoyt almost 5 years ago