Python extension adding automatic, dynamic, runtime type and range checking support
Project description
Pyadaaah expands Python by an automatic, dynamic, runtime type and range checking mechanism. For example the line
vardef int exampleVar = 0 in [0..5] with rw, check(strict)
would create a 'variable' exampleVar of type integer and range 0..5. This means, that assignments alike:
exampleVar = 1.234
resp.
exampleVar = 6
would, after that, lead to a type mismatch resp. range mismatch exception. The former mechanism obviously resembles static types - as can be found in programming languages alike C and C++. Whereas the latter mechanism obviously resembles automatic range checking - as can be found in programming languages alike Ada.
But pyadaaah goes far beyond that. Beneath type and range checking, pyadaaah e.g. also provides cython types, signals (!), semi-automatic documentation means and a python2 to python3 compatibility layer.
Pyadaaah is a pure python library (just a single '.py'-file) compatible with Python2 as well as Python3. It's license allows you to use it free of charge (please read the license text for details - it is quite short!)
Further infomations and links can be found on my homepage (see the link on the left hand).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file pyadaaah-0.90-py2.py3-none-any.whl
.
File metadata
- Download URL: pyadaaah-0.90-py2.py3-none-any.whl
- Upload date:
- Size: 39.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7d29e33057733796a78340c129852b13ce00adadbca0d52b7eadf4e803ab8e7 |
|
MD5 | a4bb414beda7d98b308944624d9d71f9 |
|
BLAKE2b-256 | 60323e4053d0150b72610c52b0ed7f23ea208d7a4332d57af22121a677e356ba |