An open API service indexing awesome lists of open source software.

https://github.com/felixthec/py-overload

A Runtime method override decorator.
https://github.com/felixthec/py-overload

method-overloading python type-hints

Last synced: 5 months ago
JSON representation

A Runtime method override decorator.

Awesome Lists containing this project

README

        

# strongtyping-pyoverload
[![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/)
[![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-3100/)
[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3110/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
![Python application](https://github.com/FelixTheC/py-overload/workflows/Python%20application/badge.svg)
![Python tox](https://github.com/FelixTheC/py-overload/workflows/Python%20tox/badge.svg)
![image](https://codecov.io/gh/FelixTheC/py-overload/graph/badge.svg)
![](https://img.shields.io/pypi/dm/pyoverload)

## A Runtime method overload decorator which add overloading capacity similar to C++
- there is a `override` decorator from `typing` which works only for static type checking
- this decorator works on `runtime`

## Documentation can be found here
### [readthedocs](https://strongtyping-pyoverload.readthedocs.io/en/latest/)