InstallationΒΆ

  1. Install Python 3.11 or later.

#. Create a Python 3.11+ virtual environment. This example uses the venv module in the standard library to create a virtual environment in your home directory. You may prefer a single python-envs in your home directory instead of the current directory. You may also prefer conda or mamba.

$ python -m venv env
  1. Activate the virtual environment.

$ source env/bin/activate

Whenever you are done using chronify, you can deactivate the environment by running deactivate.

  1. Install the Python package chronify.

To use DuckDB or SQLite as the backend:

$ pip install chronify

To use Apache Spark via Apache Thrift Server as the backend, you must install pyhive.

$ pip install chronify --group=pyhive