A Python-based RPC-like toolkit for interfacing with QuestDB.
git clone [email protected]:questdb/pykit.git
cd pykit
pip3 install -r requirements.txt
pip3 install -e .
To uninstall:
pip3 uninstall pykit
To publish to Pypi:
Pykit requires a local instance of QuestDB running along, for convenience, you can have Pykit launch it:
python3 -m pykit start
: starts QuestDB from the local build.python3 -m pykit update
: clones QuestDB (or pulls master) and builds it locally (called bystart
as needed).
The running instance's working directory can be found in folder .questdb
under the user's home folder, with structure:
- clone: contains QuestDB's git clone, the local build, and the logs file.
- ROOT/conf: contains QuestDB's configuration files (default files are created on first start).
- ROOT/db: contains QuestDB's database files. Each table will have a matching folder (same name) in here.
<user home>/.questdb/ROOT
<user home>/.questdb/ROOT/conf/server.conf
<user home>/.questdb/ROOT/conf/log.conf
<user home>/.questdb/ROOT/conf/date.formats
<user home>/.questdb/ROOT/conf/mime.types
<user home>/.questdb/ROOT/db
<user home>/.questdb/clone
<user home>/.questdb/clone/questdb.log