Skip to content

danielnachumdev/danielutils

Repository files navigation

Python package Pylint Python 3.10.11 gitleaks CodeQL

danielutils v=1.0.0

A utils library for things that I find useful for my coding workflow.
Feel free to use and / or contribute / improve my code :)

THIS PACKAGE IS IN DEVELOPMENT AND SUBJECT TO CHANGE, USE AT YOUR OWN RISK!

Tested python versions: 3.8.0*, 3.9.0, 3.10.13

Versions marked with * are partially working

Showcase

In this folder you can check out some more in depth showcase of some of the topics I have covered in this package

-- "Boost your type checking game with isoftype: Effortlessly verify object types and subtypes, handle complex data structures, and tackle union types in Python!"

Support for Parametrized Generics

-- "Manage function overloads with ease: Introducing @overload to handle specific resolutions and simplify function overloading in Python!"

Support for function overloading

-- "Safeguard your code with @validate: Protecting against type-related disasters and ensuring type safety in Python functions!"

Runtime argument type validation for functions

-- "Elevate your list safety with tlist: Empower your code with runtime type safety, seamless list operations, and enhanced control over list elements!"

Like list but with runtime type validation

-- "Unlock the Power of Interfaces in Python: Create Your Own Metaclass for Interface-Like Behavior and Enhance Your Object-Oriented Programming Skills!"

Learning metaclasses by implementing an Interface (and Abstract Classes) for python in python