Skip to main content

izzet

Ensure that value matches expected_type.

About

Borrowed from Typeguard's check_type function - The purpose of this package is to provide an easy and reliable way to verify that a given input matches a given class or generic type instance - and nothing else.

Usage

from typing import List
from izzet import izzet

izzet([1,2, "3"]).a(List[int]) # False
izzet([1,2, 3]).a(List[int]) # True

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

izzet-1.0.2.tar.gz (11.6 kB view details)

Uploaded Source

File details

Details for the file izzet-1.0.2.tar.gz.

File metadata

  • Download URL: izzet-1.0.2.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for izzet-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d01c818dd6be6ce611892b7959666c1fd0c82248ef993e9f35e5323257b3e8c8
MD5 61146afbadb5bbc91751e550b2f2c80c
BLAKE2b-256 81fb28f1f5702f889fde5a033c9258c885f3c31be41fe6c6df1a99185cae3ad9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 file

1.0.1

1 file

1.0.0

1 file

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