Type Check
Type check decorator for python
Installation:
pip3 install type-check
Usage:
Import type_check decorator:
from type_check import type_check
Usage in function:
@type_check
def my_func(arg: type = default) -> return_type:
return return_type()
At class function, specify type of self with base type, for example:
@type_check
def __init__(self: object, arg: type = default):
pass
Release files for type-check 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| type-check-0.1.8.tar.gz | 1.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| type_check-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 kB
Release files / type-check-0.1.8.tar.gz
| Download URL | type-check-0.1.8.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ce3752330e22717e1f8f020a5a21492b7c886b173542d238e6957b421888b04
|
|
BLAKE2b-256 checksum How to use checksums |
a5f7c7c0211f2f13b6decd23eab5dc91d06c5376d37d178b390c1141fdfa9141
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / type_check-0.1.8-py3-none-any.whl
| Download URL | type_check-0.1.8-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3200dee660f6a08148d047f6ed3080060613da91bdce6206de72a1b9c8daf81
|
|
BLAKE2b-256 checksum How to use checksums |
f3787ed922edae8e22c72e1a3ab9068f5d6911a990f784c913b70cbac1f93f46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |