Skip to main content
from type_constraint import BasicCheck, CheckMeta, Check

class A:
__metaclass__ = CheckMeta()
def f(self, i, j):
"""
@param i str
@param j str
"""
return i + j

a = A()
a.f('1', '2')

@BasicCheck
def test_func(i, j):
"""
this is a test function for type constraint
@param i int :this is the first operand
@param j float :this is the second operand
@return float
"""
return i / j

Metadata

Release files for type_constraint 0.0.10

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

Source distribution (sdist)

Source distribution for type_constraint 0.0.10
File Size Uploaded
type_constraint-0.0.10.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for type_constraint 0.0.10
File Interpreter ABI Platform
type_constraint-0.0.10-py2.7.egg Legacy Egg format - - Details

Total release size: 7.0 kB

Release files / type_constraint-0.0.10.tar.gz

Download URL type_constraint-0.0.10.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
933f5a8ddde6f24463407f342292c243e4762a1953f9b098cb878ecf1e185775
BLAKE2b-256 checksum
How to use checksums
94f4bae034a3321852bdf066bb86513e7b03edc6a3cb9266ec0d21be31b95c43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / type_constraint-0.0.10-py2.7.egg

Download URL type_constraint-0.0.10-py2.7.egg
Size 4.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
a0d1f82be2918b7d39b139d6dc75175b3207e74567da74b9229ad2a873973de5
BLAKE2b-256 checksum
How to use checksums
76bc5113e34d8ec75a55d7d6cecab75f69b944d8a854b5b941a45e1650a53b35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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