Our great sponsors
-
contracts
PyContracts is a Python package that allows to declare constraints on function parameters and return values. Contracts can be specified using Python3 annotations, or inside a docstring. PyContracts supports a basic type system, variables binding, arithmetic constraints, and has several specialized contracts and an extension API. (by AndreaCensi)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Seems you refer to a domain specific language in the annotations. This is exactly what https://github.com/AndreaCensi/contracts does (it's an amazing project but has a very large code base). However, I wanted to achieve something similar in pure python and as compact as possible – so there are compromises (like no real symbolic calculus)
Related posts
- A tool for refurbishing and modernizing Python codebases
- GitHub - dosisod/refurb: A tool for refurbishing and modernizing Python codebases
- Show HN: Refurb – A tool for refurbishing and modernizing Python codebases
- Show HN: Refurb – A tool for refurbishing and modernizing Python codebases
- Show HN: Refurb – A tool for refurbishing and modernizing Python codebases