honey-team / ufpy

Ufpy (Useful Python) - package for Python with some useful features
https://honey-team.github.io/ufpy-website
MIT License
3 stars 3 forks source link

UStack #11

Closed TheAihopGG closed 5 months ago

TheAihopGG commented 5 months ago

New UStack object

Checklist:

closes #9

TheAihopGG commented 5 months ago

@bleudev, answer

bleudev commented 5 months ago

@TheHakerTech add please unittests. check #3

sourcery-ai[bot] commented 5 months ago

Reviewer's Guide by Sourcery

This pull request introduces a new UStack object and makes several other significant changes, including the addition of the UDict class, examples, and tests. The changes are implemented by adding new files and modifying existing ones to support the new functionality.

File-Level Changes

Files Changes
ufpy/udict.py
examples/udict.md
tests/test_udict.py
Introduced the UDict class along with its documentation and unit tests.
ufpy/ustack.py
tests/ustack_in_use.md
Introduced the UStack class along with its documentation and examples.
ufpy/math_op.py
ufpy/cmp.py
Added utility decorators for generating in-place, reverse, and comparison operations.
ufpy/typ/protocols.py
ufpy/utils.py
ufpy/typ/type_alias.py
Added protocol definitions, utility functions, and type aliases for enhanced type handling.