{"library":"ensure","type":"library","category":null,"description":"Ensure is a Python library offering a set of simple, literate assertion helpers for validating conditions. It allows writing expressive, concise, and readable Pythonic code for validation, inspired by JavaScript assertion libraries. Beyond testing, 'ensure' can be used for production code validation as it doesn't rely on the 'assert' statement (which can be disabled with the -O flag). The current version is 1.0.4, and it is actively maintained.","language":"python","status":"active","version":"1.0.4","tags":["BDD","testing","assertions","literate","validation","type-checking"],"last_verified":"Fri May 22","install":[{"cmd":"pip install ensure","imports":["from ensure import ensure","from ensure import check","from ensure import ensure_annotations"]}],"homepage":null,"github":"https://github.com/kislyuk/ensure","docs":null,"changelog":null,"pypi":"https://pypi.org/project/ensure/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.14,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/ensure/compatibility"}}