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


Download files

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

Source Distribution

danielutils-1.0.31.tar.gz (111.5 kB view details)

Uploaded Source

File details

Details for the file danielutils-1.0.31.tar.gz.

File metadata

  • Download URL: danielutils-1.0.31.tar.gz
  • Upload date:
  • Size: 111.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for danielutils-1.0.31.tar.gz
Algorithm Hash digest
SHA256 731ac0f63e0d5e336dc129d2c56f24ccdea9568385e34f0e9ed538795991b5ae
MD5 74dfbcc4f26df1ab3d7fe5ed21a62b0a
BLAKE2b-256 591e855147528d4575eb669fdf54f117d61cfe602ecd9d4370cde35faf537c49

See more details on using hashes here.

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