Pyoload

Latest version: v2.0.2

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

Scan your dependencies

Page 1 of 2

2.0.2

**Added support for python builtin `Iterable`, `Iterator`, and `Mapping`**: by ken-morel

2.0.1

What's Changed
* Corrected bug when using Unions of GenericAliases by ken-morel
* Added support for multiple checker methods by ken-morel
* `pyoload.type_match` now raises an exception when it cannot check the values by ken-morel
* Improved the code coverage to 99% by ken-morel
* Improved the readthedocs documentation by ken-morel
* Improved README.md to add more examples, by ken-morel


**Full Changelog**: https://github.com/ken-morel/pyoload/compare/v2.0.0...v2.0.1
**What's new**: https://pyoload.readthedocs.io/en/v2.0.1/whatsnew.html

2.0.0

What's Changed
* Update README.md by ken-morel in https://github.com/ken-morel/pyoload/pull/33
* added missing trailing comma by ken-morel in https://github.com/ken-morel/pyoload/pull/34
* Update README.md by ken-morel in https://github.com/ken-morel/pyoload/pull/35
* removed duplicate tip in readme by ken-morel in https://github.com/ken-morel/pyoload/pull/40
* corrected overload to multiple dispatch and multimethod by ken-morel in https://github.com/ken-morel/pyoload/pull/42
* Update README.md by ken-morel in https://github.com/ken-morel/pyoload/pull/44
* Update index.rst by ken-morel in https://github.com/ken-morel/pyoload/pull/45
* Delete src/pyoload/taskama.sublime-workspace by ken-morel in https://github.com/ken-morel/pyoload/pull/47
* Create test_values.py by ken-morel in https://github.com/ken-morel/pyoload/pull/46
* Update test.yml re by ken-morel in https://github.com/ken-morel/pyoload/pull/51
* Adding python<=3.9 support by ken-morel in https://github.com/ken-morel/pyoload/pull/52

What's new

1. Greatly worked on the docs to make them more undetsandable and increase coverage.
2. Renamed overload to multiple dispatch or multimethod as required, since
As from :ref:`Overload or multimethod`.
3. Added new options to :ref:`pyoload.Checks` such as registerring under multiple names.
4. Increased the pytest coverage to ensure the full functionality of `pyoload`
on the several supported python versions.
5. Greatly improved performance using `inspect.Signature`. Providing support
for partial annotating of function.(Yes, from v2.0.0 some annotations may be ommited).
6. Added helper methods for interacting with annotated functions,
They include

- :ref:`pyoload.annotable`
- :ref:`pyoload.unannotable`
- :ref:`pyoload.is_annotable`
- :ref:`pyoload.is_annotated`

Those methods will help you prevent some functions from being annotated.

7. Improved support for python 3.9 and 3.10
8. renamed functions as the previous `pyoload.typeMatch` to :ref:`pyoload.type_match` to follow
the snake case system of nomenclature.
9. :ref:`pyoload.type_match` returns a tuple of the matchin status and errors
which may have lead to type mismatch, thosse errors are added to traceback
to ease debugging.
10. Now most classes implement `__slots__` to improve memory size.




**Full Changelog**: https://github.com/ken-morel/pyoload/compare/v1.1.3...v2.0.0

1.1.3

What's Changed
* Update README.md by ken-morel in https://github.com/ken-morel/pyoload/pull/29
* Added support for multiple names to Check.register by ken-morel in https://github.com/ken-morel/pyoload/pull/31


**Full Changelog**: https://github.com/ken-morel/pyoload/compare/v1.1.2...v1.1.3

1.1.2

1.1.1

What's Changed
* Update README.rst by ken-morel in https://github.com/ken-morel/pyoload/pull/22
* Update README.rst by ken-morel in https://github.com/ken-morel/pyoload/pull/23


**Full Changelog**: https://github.com/ken-morel/pyoload/compare/v1.1.0...v1.1.1

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.