InstallationΒΆ

The easiest way to install pyethnicity is through pip. Simply run

pip install pyethnicity

Note that pyethnicity depends on several packages

  1. onnxruntime-gpu: For fast and flexible inference

  2. pandas: For the final output DataFrames

  3. polars: For fast and memory efficient cleaning routines

  4. pyarrow: For parquet files

  5. pycutils: A lightweight, stdlib-only collection of useful functions

  6. tqdm: A lightweight progress bar