resiliparse 2.0.1


pip install resiliparse

  Latest version

Released: Nov 04, 2026


Meta
Author: Janek Bevendorff
Requires Python: >=3.8

Classifiers

Resiliparse (Python)

A collection of robust and fast processing tools for parsing and analyzing web archive data written in Rust with bindings for Python.

This package contains the Python bindings for Resiliparse, including HTML parsing and DOM manipulation, text extraction, encoding and language detection, HTTP parsing, process guards, and Apache Beam utilities.

Resiliparse is a part of the ChatNoir web analytics toolkit.

Installing Resiliparse

Pre-built Resiliparse binaries for Python can be installed from PyPI:

pip install resiliparse

Building Python Bindings From Source

You need the Rust toolchain, a C/C++ compiler, CMake, and libclang. The bindings use PyO3 and are built with maturin; pip installs the build backend automatically. To build directly from the GitHub repository:

# Clone repository
git clone https://github.com/chatnoir-eu/chatnoir-resiliparse.git
cd chatnoir-resiliparse

# Install Rust toolchain (if not already installed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install vcpkg (if not already available on PATH)
git clone https://github.com/microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh
export PATH="$PWD/vcpkg:$PATH"

Resiliparse's build script installs Lexbor and uchardet through vcpkg when they are missing.

From the repository root, build and install the Python packages. Building FastWARC alongside Resiliparse ensures the matching dependency is available locally:

# Create a fresh venv first (recommended)
python3 -m venv venv && source venv/bin/activate

# Option 1: Build and install in editable mode (best for development)
python3 -m pip install -e ./fastwarc-py -e ./resiliparse-py

# Option 2 (alternative): Build and install wheels in separate steps (best for redistribution)
python3 -m pip wheel -w build ./fastwarc-py ./resiliparse-py
python3 -m pip install --no-index --find-links build resiliparse

To use an existing vcpkg installation, set RESILIPARSE_VCPKG_PATH to the directory containing its platform triplet directories:

export RESILIPARSE_VCPKG_PATH="$(pwd)/vcpkg_installed"

Native vcpkg builds link libraries statically. Linux manylinux wheel builds use libraries from the build image and bundle them into the wheel. Installed wheels therefore do not need the build-time vcpkg_installed directory. Set RESILIPARSE_USE_SYSTEM_LIBS=1 to skip vcpkg and use system headers and shared libraries. Those libraries must be available at runtime.

Usage Instructions

For detailed usage instructions, please consult the Resiliparse User Manual.

Cite Us

If you use ChatNoir or Resiliparse, please consider citing our ECIR 2018 demo paper:

@InProceedings{bevendorff:2018,
  address =             {Berlin Heidelberg New York},
  author =              {Janek Bevendorff and Benno Stein and Matthias Hagen and Martin Potthast},
  booktitle =           {Advances in Information Retrieval. 40th European Conference on IR Research (ECIR 2018)},
  editor =              {Leif Azzopardi and Allan Hanbury and Gabriella Pasi and Benjamin Piwowarski},
  month =               mar,
  publisher =           {Springer},
  series =              {Lecture Notes in Computer Science},
  site =                {Grenoble, France},
  title =               {{Elastic ChatNoir: Search Engine for the ClueWeb and the Common Crawl}},
  year =                2018
}

If you use FastWARC, you can also cite our OSSYM 2021 abstract paper:

@InProceedings{bevendorff:2021,
  author =                {Janek Bevendorff and Martin Potthast and Benno Stein},
  booktitle =             {3rd International Symposium on Open Search Technology (OSSYM 2021)},
  editor =                {Andreas Wagner and Christian Guetl and Michael Granitzer and Stefan Voigt},
  month =                 oct,
  publisher =             {International Open Search Symposium},
  site =                  {CERN, Geneva, Switzerland},
  title =                 {{FastWARC: Optimizing Large-Scale Web Archive Analytics}},
  year =                  2021
}
2.0.1 Nov 04, 2026
2.0.0 Nov 02, 2026
1.1.0 Oct 26, 2026
1.0.9 Jul 20, 2026
1.0.8 Jun 15, 2026
1.0.7 Jun 11, 2026
1.0.6 Jun 10, 2026
1.0.5 Jun 09, 2026
1.0.4 Jun 08, 2026
1.0.3 May 29, 2026
1.0.2 May 28, 2026
1.0.1 May 26, 2026
1.0.0 May 24, 2026
0.16.0 Apr 02, 2026
0.15.2 Mar 27, 2025
0.15.1 Dec 05, 2024
0.15.0 Dec 04, 2024
0.14.9 Aug 13, 2024
0.14.8 Aug 09, 2024
0.14.7 Apr 29, 2024
0.14.6 Apr 04, 2024
0.14.5 Aug 11, 2023
0.14.3 Mar 22, 2023
0.14.2 Mar 07, 2023
0.14.1 Mar 06, 2023
0.14.0 Mar 06, 2023
0.13.7 Nov 01, 2022
0.13.6 Nov 01, 2022
0.13.5 Sep 15, 2022
0.13.4 Sep 15, 2022
0.13.3 Sep 14, 2022
0.13.2 Sep 14, 2022
0.13.1 Sep 14, 2022
0.13.0 Sep 14, 2022
0.12.2 Jun 10, 2022
0.12.1 May 04, 2022
0.12.0 Mar 18, 2022
0.11.2 Mar 16, 2022
0.11.1 Mar 16, 2022
0.11.0 Mar 15, 2022
0.10.6 Mar 11, 2022
0.10.5 Feb 28, 2022
0.10.4 Jan 27, 2022
0.10.3 Jan 27, 2022
0.10.2 Dec 17, 2021
0.10.1 Dec 16, 2021
0.10.0 Dec 09, 2021
0.9.0 Dec 06, 2021
0.8.1 Dec 03, 2021
0.8.0 Dec 02, 2021
0.7.2 Nov 30, 2021
0.7.1 Nov 30, 2021
0.7.0 Nov 23, 2021
0.6.6 Nov 23, 2021
0.6.5 Nov 09, 2021
0.6.4 Nov 08, 2021
0.6.3 Nov 03, 2021
0.6.2 Oct 11, 2021
0.6.1 Oct 04, 2021
0.6.0 Oct 04, 2021
0.5.0 Sep 23, 2021
0.4.2 Sep 13, 2021
0.4.1 Sep 12, 2021
0.4.0 Sep 12, 2021
0.3.15 Aug 23, 2021
0.3.14 Jul 17, 2021
0.3.13 Jul 17, 2021
0.3.12 Jul 17, 2021
0.3.11 Jul 16, 2021
0.3.10 Jul 12, 2021
0.3.9 Jul 12, 2021
0.3.8 Jul 09, 2021
0.3.7 Jul 08, 2021
0.3.6 Jul 08, 2021
0.3.5 Jul 08, 2021
0.3.4 Jul 08, 2021
0.3.3 Jul 07, 2021
0.3.2 Jul 07, 2021
0.3.1 Jul 07, 2021
0.3.0 Jul 07, 2021
0.2.10 Jul 06, 2021
0.2.9 Jul 06, 2021
0.2.8 Jul 05, 2021
0.2.7 Jul 05, 2021
0.2.6 Jul 05, 2021

Wheel compatibility matrix

Platform CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13 CPython 3.14 CPython 3.15 CPython (additional flags: t) 3.14 CPython (additional flags: t) 3.15
macosx_12_0_arm64
macosx_12_0_x86_64
manylinux_2_28_aarch64
manylinux_2_28_x86_64
win_amd64

Files in release

resiliparse-2.0.1-cp310-cp310-macosx_12_0_arm64.whl (1.4MiB)
resiliparse-2.0.1-cp310-cp310-macosx_12_0_x86_64.whl (1.5MiB)
resiliparse-2.0.1-cp310-cp310-manylinux_2_28_aarch64.whl (1.7MiB)
resiliparse-2.0.1-cp310-cp310-manylinux_2_28_x86_64.whl (1.7MiB)
resiliparse-2.0.1-cp310-cp310-win_amd64.whl (1.3MiB)
resiliparse-2.0.1-cp311-cp311-macosx_12_0_arm64.whl (1.4MiB)
resiliparse-2.0.1-cp311-cp311-macosx_12_0_x86_64.whl (1.5MiB)
resiliparse-2.0.1-cp311-cp311-manylinux_2_28_aarch64.whl (1.7MiB)
resiliparse-2.0.1-cp311-cp311-manylinux_2_28_x86_64.whl (1.7MiB)
resiliparse-2.0.1-cp311-cp311-win_amd64.whl (1.3MiB)
resiliparse-2.0.1-cp312-cp312-macosx_12_0_arm64.whl (1.4MiB)
resiliparse-2.0.1-cp312-cp312-macosx_12_0_x86_64.whl (1.5MiB)
resiliparse-2.0.1-cp312-cp312-manylinux_2_28_aarch64.whl (1.7MiB)
resiliparse-2.0.1-cp312-cp312-manylinux_2_28_x86_64.whl (1.7MiB)
resiliparse-2.0.1-cp312-cp312-win_amd64.whl (1.3MiB)
resiliparse-2.0.1-cp313-cp313-macosx_12_0_arm64.whl (1.4MiB)
resiliparse-2.0.1-cp313-cp313-macosx_12_0_x86_64.whl (1.5MiB)
resiliparse-2.0.1-cp313-cp313-manylinux_2_28_aarch64.whl (1.7MiB)
resiliparse-2.0.1-cp313-cp313-manylinux_2_28_x86_64.whl (1.7MiB)
resiliparse-2.0.1-cp313-cp313-win_amd64.whl (1.3MiB)
resiliparse-2.0.1-cp314-cp314-macosx_12_0_arm64.whl (1.4MiB)
resiliparse-2.0.1-cp314-cp314-macosx_12_0_x86_64.whl (1.5MiB)
resiliparse-2.0.1-cp314-cp314-manylinux_2_28_aarch64.whl (1.7MiB)
resiliparse-2.0.1-cp314-cp314-manylinux_2_28_x86_64.whl (1.7MiB)
resiliparse-2.0.1-cp314-cp314-win_amd64.whl (1.3MiB)
resiliparse-2.0.1-cp314-cp314t-macosx_12_0_arm64.whl (1.4MiB)
resiliparse-2.0.1-cp314-cp314t-macosx_12_0_x86_64.whl (1.5MiB)
resiliparse-2.0.1-cp314-cp314t-manylinux_2_28_aarch64.whl (1.7MiB)
resiliparse-2.0.1-cp314-cp314t-manylinux_2_28_x86_64.whl (1.7MiB)
resiliparse-2.0.1-cp314-cp314t-win_amd64.whl (1.3MiB)
resiliparse-2.0.1-cp315-cp315-macosx_12_0_arm64.whl (1.4MiB)
resiliparse-2.0.1-cp315-cp315-macosx_12_0_x86_64.whl (1.5MiB)
resiliparse-2.0.1-cp315-cp315-manylinux_2_28_aarch64.whl (1.7MiB)
resiliparse-2.0.1-cp315-cp315-manylinux_2_28_x86_64.whl (1.7MiB)
resiliparse-2.0.1-cp315-cp315-win_amd64.whl (1.3MiB)
resiliparse-2.0.1-cp315-cp315t-macosx_12_0_arm64.whl (1.4MiB)
resiliparse-2.0.1-cp315-cp315t-macosx_12_0_x86_64.whl (1.5MiB)
resiliparse-2.0.1-cp315-cp315t-manylinux_2_28_aarch64.whl (1.7MiB)
resiliparse-2.0.1-cp315-cp315t-manylinux_2_28_x86_64.whl (1.7MiB)
resiliparse-2.0.1-cp315-cp315t-win_amd64.whl (1.3MiB)
resiliparse-2.0.1.tar.gz (102.9KiB)
Extras:
Dependencies:
fastwarc (==2.0.1)