Skip to main content

jk_typing

Introduction

This module provides capabilities for type checking function arguments.

Please note that a full type check with this module is not possible, since this is fundamentally not possible due to limitiations of Python itself.

Information about this module can be found here:

Why this module?

Python nowadays is capable of managing type hints for function arguments and return values. Unfortunately Python does not perform type checking automatically. This module provides capabilities of performing type checking automatically.

For more details have a look at the documentation.

Requirements

This module requires Python 3.7 or later. It can not be used on older releases of Python because of limitations of module typing.

Limitations of this module

Type checking is not implemented in pure Python. Therefore it is slower as if the Python interpreter would perform type checking itself. Additionally this module has not yet a complete implementation of all kinds of types. (This will change in the future, maybe with your help.)

For more details have a look at the documentation.

How to use this module

Import this module

Please include this module into your application using the following code:

import jk_typing

Define a function

Example:

@checkFunctionSignature(bDebug = True)
def someFunction(a:int, b:str) -> bool:
	return str(a) == b

Invoke the function (and perform type checking)

result = someFunction(123, "123")
print(result)

Contact Information

This work is Open Source. This enables you to use this work for free.

Please have in mind this also enables you to contribute. We, the subspecies of software developers, can create great things. But the more collaborate, the more fantastic these things can become. Therefore Feel free to contact the author(s) listed below, either for giving feedback, providing comments, hints, indicate possible collaborations, ideas, improvements. Or maybe for "only" reporting some bugs:

License

This software is provided under the following license:

  • Apache Software License 2.0

Release files for jk_typing 0.2026.9.27

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jk_typing 0.2026.9.27
File Size Uploaded
jk_typing-0.2026.9.27.tar.gz 18.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jk_typing 0.2026.9.27
File Interpreter ABI Platform
jk_typing-0.2026.9.27-py3-none-any.whl Python 3 none any Details

Total release size: 48.1 kB

Release files / jk_typing-0.2026.9.27.tar.gz

Download URL jk_typing-0.2026.9.27.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
872e7d05fbca048af57a7e60de8234806c15c8470de8522682792106d036ca46
BLAKE2b-256 checksum
How to use checksums
b0925afd7a7ac90ac5382d293247c1363f6fd518c8da107a98ecc359b3c75217
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / jk_typing-0.2026.9.27-py3-none-any.whl

Download URL jk_typing-0.2026.9.27-py3-none-any.whl
Size 30.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0818bf85480f2c63bae7dac61aae39f805f06a88e3b1d885a6bfe60cfab381cd
BLAKE2b-256 checksum
How to use checksums
e812fb4621ba6b3085c34052d7273d0ceca50b4cd3cb456acb55749976fe7df0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page