{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/7"}],"enrichment":{"capability":"Ovld provides fast multiple dispatch for Python functions, allowing you to define separate implementations for different type signatures using type annotations instead of isinstance chains.","skillfed_tags":["polymorphism","type-dispatch","function-overloading"],"use_cases":["Implement recursive tree traversal or data structure operations that behave differently for lists, integers, and nested combinations.","Build serialization/deserialization logic that handles different types with type-specific code paths.","Create mathematical or scientific functions that dispatch on tensor shape, dtype, or other value-dependent properties.","Define class methods that behave differently depending on argument types, replacing verbose isinstance chains.","Compose reusable function variants that inherit base dispatch logic but override specific type handlers."],"what_it_does":"Ovld is a multiple dispatch library that lets you write separate function implementations for different type signatures, selected automatically at runtime based on argument types. Instead of writing nested isinstance checks or using Python's built-in singledispatch (which only works on the first argument), you annotate each version of your function with its type signature and ovld routes calls to the right implementation.\n\nThe library handles single and multiple arguments, supports value-based dispatch through Literal types and custom dependent types, and works with methods via metaclasses or base classes. It also provides variants (specialized copies of a function) and medleys (composable mixin-like classes), making it useful for recursive data structure traversal, serialization, and other polymorphic patterns.","worth_installing":"Yes. Ovld has no dependencies, installs cleanly, is actively maintained, carries an MIT license with no restrictions, and solves a real problem\u2014writing cleaner polymorphic code than isinstance chains. It's suitable for production use if you need multiple dispatch."},"id":"ovld","links":{"html":"https://skillfed.io/packages/ovld","md":"https://skillfed.io/packages/ovld.md","pypi":"https://pypi.org/project/ovld/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-14","license_spdx":"MIT","license_treatment":"permissive","name":"ovld","python_support":"supports_current","summary":"Overloading Python functions"},"popularity":{"monthly_downloads":586966,"position":5878,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.17"}
