Shows how to implement and use context-aware APIs in C++, Fortran, and Python. Inspired by Armin Ronacher's "Beautiful Native Libraries".
Comments, contributions, and improvements are most welcome!
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make test
$ ACCOUNT_LIBRARY_DIR=$PWD/build/lib ACCOUNT_INCLUDE_DIR=$PWD/account PYTHONPATH=$PWD pytest -vv test/test.py