Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 908 Bytes

README.md

File metadata and controls

43 lines (32 loc) · 908 Bytes

Python Taskchampion Bindings

This submodule contains bindings to the Taskchampion

Development

This project is built using maturin.

To install:

pipx install maturin

To build wheels:

maturin build

This stores wheels in the target/wheels folder by default.

Testing

Extra testing dependencies are installed via poetry:

poetry install

To run tests:

poetry shell
maturin develop
pytest

or

poetry run maturin develop
poetry run pytest

TODO

  • There is no good way to describe functions that accept interface (e.g. Replica::new accepts any of the storage implementations, but Python bindings lack such mechanisms), currently, Replica::new just constructs the SqliteStorage from the params passed into the constructor.
  • Possible integration with Github Workflows for deployment to PyPI