Skip to main content

Framework for adding strict typing to python.

Project description

Python’s flexable duck typing system is great for allowing people to write generic funcitons which can be re-used with various kinds of input. However, not all functions are written with this generality in mind.

By annotating your functions you give a clear signal to callers about what inputs are expected. Additionally, annotations can help you write functions with fewer type checking conditionals. Annotations allow you to find bugs at the top of your functions rather than in the middle of a calculation.

Project details


Download files

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

Source Distribution

func_prototypes-0.1.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file func_prototypes-0.1.tar.gz.

File metadata

File hashes

Hashes for func_prototypes-0.1.tar.gz
Algorithm Hash digest
SHA256 b020798892a785e9617b0e3d043b7a7243397a1697e45b2e0f4bd319956c198e
MD5 e1a40fc1b046a12256007b1ade024b8a
BLAKE2b-256 a4e32b10fef3f0c2068e5987b02eed416b45701d853395fa53a919187bada6a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page