Metadata-Version: 2.4
Name: typeguard_jupiter
Version: 0.1.0
Summary: Simple runtime type-checking decorator compatible with Python 2 and Python 3.
License-Expression: MIT
Keywords: type-checking,decorator,typeguard,annotations,python2,python3
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=2.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file
Dynamic: requires-python

# typeguard_jupiter

Python 2.7 ve Python 3.x uyumlu, çalışma zamanında (runtime) tip kontrolü yapan basit bir dekoratör paketi.

## Kurulum

Sanal ortamı (venv) aktif ettikten sonra `pip` ile kurabilirsiniz:

```powershell
pip install .
```

Derlenmiş universal wheel (`.whl`, Python 2 ve Python 3 ortak) dosyasından kurmak için:

```powershell
pip install dist/typeguard_jupiter-0.1.0-py2.py3-none-any.whl
```

PyPI'ya yüklendikten sonra:

```powershell
pip install typeguard_jupiter
```

## Kullanım

### Python 2 ve Python 3 Ortak Kullanım

```python
from __future__ import print_function
from typeguard_jupiter import TypeGuard, WrongTypeAnnotationError


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


try:
    print(add(x=6, y="Canbula"))
except WrongTypeAnnotationError as e:
    print("Hata: {0}".format(e))
```

### Python 3 Type Annotation ile Kullanım

```python
from typeguard_jupiter import TypeGuard


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

Demo betiğini çalıştırmak için:

```powershell
python -m typeguard_jupiter
# veya
typeguard-jupiter-demo
```
