Skip to main content

A python utils library for things I find useful

Project description

Python package Pylint Python 3.10.11 gitleaks CodeQL

danielutils v=0.9.84

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

isoftype

-- "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

@overload

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

Support for function overloading

@validate

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

Runtime argument type validation for functions

tlist

-- "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

Interface

-- "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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

danielutils-0.9.84.tar.gz (98.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page