Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FelixTheC/strongtyping
Decorator which checks whether the function is called with the correct type of parameters.
https://github.com/FelixTheC/strongtyping
decorator docstring-checker property python runtime-checking setter-getter type-checking typechecking typing-decorator
Last synced: about 1 month ago
JSON representation
Decorator which checks whether the function is called with the correct type of parameters.
- Host: GitHub
- URL: https://github.com/FelixTheC/strongtyping
- Owner: FelixTheC
- Created: 2020-05-01T14:46:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-20T19:38:41.000Z (3 months ago)
- Last Synced: 2024-11-11T01:33:16.536Z (about 1 month ago)
- Topics: decorator, docstring-checker, property, python, runtime-checking, setter-getter, type-checking, typechecking, typing-decorator
- Language: Python
- Homepage: https://pypi.org/project/strongtyping/
- Size: 363 KB
- Stars: 108
- Watchers: 6
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-python-typing - strongtyping - Decorator which checks whether the function is called with the correct type of parameters. (Dynamic type checkers)
README
[![PyPI version](https://badge.fury.io/py/strongtyping.svg)](https://badge.fury.io/py/strongtyping)
![Python application](https://github.com/FelixTheC/strongtyping/actions/workflows/python-app.yml/badge.svg)
![Python tox](https://github.com/FelixTheC/strongtyping/workflows/Python%20tox/badge.svg)
![image](https://codecov.io/gh/FelixTheC/strongtyping/graph/badge.svg)
[![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/)
[![Documentation Status](https://readthedocs.org/projects/strongtyping/badge/?version=latest)](https://strongtyping.readthedocs.io/en/latest/?badge=latest)
[![](https://img.shields.io/pypi/dm/strongtyping.svg)](https://pypi.org/project/strongtyping/)# Strong Typing
Decorator which checks at Runtime whether the function is called with the correct type of parameters.
And raises TypeMisMatch if the used parameters in a function call where invalid.## [Docs have been moved to 'readthedocs'](https://strongtyping.readthedocs.io/en/latest/#the-solution)