DuckDB
Prerequisites¶
Writing scripts for DuckDB requires the use of the appropriate package, handled with miniconda environments. Refer to Miniconda.
Activating Environment¶
Writing Python scripts for DuckDB requires the use of the DuckDB package, installed with miniconda.
Activating your miniconda environment can be handled using two methods:
Manual Activation:¶
conda activate env_duckdb
Requires initial miniconda setup: Miniconda
Automatic Activation:¶
Create a bash script to run your target script using the appropriate Python package environment.
/network/rit/lab/info-eco/miniconda/envs/<Environment Name>/bin/python /path/to/scriptInfo¶
Interacting with DuckDB can be done using Python, documenation located at DuckDB Python. Scripts should be written to use the correct file format, currently parquet.
Links¶
DuckDB Docs is the official documentation for DuckDB.