A python utils library for things I find useful
Project description
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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file danielutils-1.0.3.tar.gz
.
File metadata
- Download URL: danielutils-1.0.3.tar.gz
- Upload date:
- Size: 111.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dcc47e98e080f4a3c94d68d59dce58582080bb39c08a24707ae0fae304c77c1 |
|
MD5 | c5a3c6b7215af2f23bb09ade82d1e7c7 |
|
BLAKE2b-256 | 8ab3fa42892e52c3cfc2287a3e2c700d7747b78eebea07ba673da8cf5212d479 |