Skip to content
/ pykit Public

A Python-based RPC-like toolkit for interfacing with QuestDB.

License

Notifications You must be signed in to change notification settings

questdb/pykit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pykit

A Python-based RPC-like toolkit for interfacing with QuestDB.

Requirements

Install

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:

Read this.

Start/Update QuestDB

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 by start 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 

About

A Python-based RPC-like toolkit for interfacing with QuestDB.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages