Skip to content

cubao/cubao-pybind

Repository files navigation

cubao-pybind

Online document: readthedocs

Usage

Install:

python3 -m pip install cubao_pybind # install from pypi
python3 -c 'import cubao_pybind; print(cubao_pybind.add(1, 2))'

CLI interface: (created with python-fire)

python3 -m cubao_pybind add 1 2
python3 -m cubao_pybind subtract 9 4

Help:

$ python3 -m cubao_pybind --help

$ python3 -m cubao_pybind pure_python_func --help

More:

python3 -m cubao_pybind xxhash_for_file README.md