🤙 Calls¶
Simple, typed, composable tools for callables.
They’re also good Python citizens with nice repr
, mypy support, and picklability.
Quickstart¶
All utilities are directly importable. See the docs for a complete overview.
>>> from calls import raises, always, identity, flip, pipe
Installation¶
It’s available on PyPI.
pip install calls
Contents¶
Changelog¶
0.2.1 (2021-08-16)¶
Fix mistake in docs
0.2.0 (2021-05-27)¶
Rename
const
toalways
.Add
pipe
function.Relax typing of
raises
function.Ensure results are picklable if possible.
0.1.1 (2021-05-24)¶
Mark module as containing type hints (
py.typed
).
0.1.0 (2021-05-24)¶
Added basic functions including
raises
,identity
,const
,flip
.
0.0.1 (2021-04-06)¶
Basic empty project setup.