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


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

danielutils-1.0.39.tar.gz (116.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: danielutils-1.0.39.tar.gz
  • Upload date:
  • Size: 116.7 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.39.tar.gz
Algorithm Hash digest
SHA256 9778c73381c8d590936e929026e4a4de3b9ed167a09e24db5f92c1528c1293fd
MD5 353e35db3c77da9943630586d34c32bd
BLAKE2b-256 4c6b6105bb7ccd5b4bf81d0694a0098bb59caa2d56c588bf675dc5287b4ca08a

See more details on using hashes here.

Supported by

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