strongtyping-pyoverload
Runtime method overloading for Python
strongtyping-pyoverload provides a powerful overload decorator that brings true runtime method overloading to Python, similar to C++.
Key Features
- Native Pydantic Integration: Automatically validate and dispatch based on Pydantic models.
- Deep Inheritance & Mixin Support: Respects Method Resolution Order (MRO) for complex class hierarchies.
- AI-Ready Metadata: Sets
__signature__and__annotations__for better IDE and AI assistant support. - High Performance: Optimized lookup logic with caching for minimal overhead.
- Modern Python: Full support for
typing.Annotated, keyword-only parameters, and Python 3.13+.
Quick Start
from strongtyping_pyoverload import overload
class DataProcessor:
@overload
def process(self, data: str):
return data.upper()
@overload
def process(self, data: list):
return [item * 2 for item in data]
Documentation
Full documentation can be found at readthedocs.
Metadata
Release files for strongtyping-pyoverload 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| strongtyping_pyoverload-1.0.2.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| strongtyping_pyoverload-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.1 kB
Release files / strongtyping_pyoverload-1.0.2.tar.gz
| Download URL | strongtyping_pyoverload-1.0.2.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3d21175c5186c7f371e551890a0386936adde2a5d1a1f25d9a17d4cd9937668
|
|
BLAKE2b-256 checksum How to use checksums |
4f86334f1c21aadc4592ee2998cba4c3dc45268ed54d4dfd3aa737f8229f6550
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.
Transparency logRelease files / strongtyping_pyoverload-1.0.2-py3-none-any.whl
| Download URL | strongtyping_pyoverload-1.0.2-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c3eaf754a7b61a34995c5d636621b0688a1925b875d079512b94fb6cc773c0c
|
|
BLAKE2b-256 checksum How to use checksums |
051e5d089de72dc828f535e0dfbaf7b9d584b92c3d78f70ee7b6fcde92bb70b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.
Transparency log