git clone https://github.com/questdb/py-questdb-query.git
cd py-questdb-query
git submodule update --init
poetry install
./test
The tests will automatically download and start a QuestDB instance, but you also need to have a Java 11 runtime installed.
Tweak the pyproject.toml
file (if needed) and then run:
poetry update
poetry run python -m unittest tests.tests.TestModule.test_basic_aut
poetry export --output requirements.txt