Skip to main content

typeguard_kubilay

Fonksiyon argümanlarını tip açıklamalarına (type annotations) göre çalışma anında denetleyen basit bir dekoratör.

Kurulum

Proje klasöründe:

pip install .

Geliştirme (düzenlenebilir) modunda:

pip install -e .

Kullanım

from typeguard_kubilay import TypeGuard, WrongTypeAnnotationError

@TypeGuard(label="Custom Type Guard")
def add(*, x: int, y: int) -> int:
    return x + y

add(x=6, y=4)          # 10
add(x=6, y="Canbula")  # WrongTypeAnnotationError

Ekrana bilgi yazdırmadan kullanmak için: @TypeGuard(verbose=False).

Demo

typeguard-kubilay-demo
# veya
python -m typeguard_kubilay

Metadata

Release files for typeguard-kubilay 0.1.0

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

Source distribution (sdist)

Source distribution for typeguard-kubilay 0.1.0
File Size Uploaded Provenance Actions
typeguard_kubilay-0.1.0.tar.gz 3.3 kB Without provenance Details for typeguard_kubilay-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for typeguard-kubilay 0.1.0
File Interpreter ABI Platform Actions
typeguard_kubilay-0.1.0-py3-none-any.whl Python 3 none any Details for typeguard_kubilay-0.1.0-py3-none-any.whl

Total release size: 7.8 kB

Release files / typeguard_kubilay-0.1.0.tar.gz

Download URL typeguard_kubilay-0.1.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c13421b63f25becbb0022fef0ae62dff2ce892910d88a220639013b7b7cebe9f
BLAKE2b-256 checksum
How to use checksums
f27324afb9d369d81f97067b5e760513ebeae4e19658b9b8186efec6be4249b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Release files / typeguard_kubilay-0.1.0-py3-none-any.whl

Download URL typeguard_kubilay-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ef0a5d29d74325116ec14599503a18d4f30485ed87d3e4badb1f5418767a2b3
BLAKE2b-256 checksum
How to use checksums
50479f420f254a71e507952a2f33032fd22a5951cbd27ad89a602f7969340f14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Security for typeguard-kubilay 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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