Automic VaultAutomic Vault

brew

Install trafilatura with Homebrew

Discovery, extraction and processing for Web text. Version 2.1.0 via Homebrew; verified 2026-06-08.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install trafilatura

local Homebrew formula metadata

overview

Package summary

Discovery, extraction and processing for Web text

Commands and aliases

  • trafilatura

history

Project history and usage

Trafilatura is a Python package and command-line tool for discovering, downloading, extracting, and processing web text. It grew from academic web-corpus work into a widely used open-source extraction tool for NLP, data acquisition, and scraping workflows.

Project history

The official README says the work started as a PhD project at the crossroads of linguistics and NLP, initially launched to create text databases for research at the Berlin-Brandenburg Academy of Sciences, specifically the DWDS and ZDL units. The repository was created on April 8, 2019.

The project name comes from the Italian word trafilatura, referring to wire drawing and used by the author as a metaphor for refinement and conversion. Official citations connect the project to earlier research on metadata-enhanced web corpora in 2016, generic web content extraction in 2019, and the 2021 ACL/IJCNLP system demonstration paper.

Official GitHub release metadata shows v0.1.0 published on September 25, 2019 and v1.0.0 on November 30, 2021. The README notes that versions prior to v1.8.0 were GPLv3+ and that current versions are distributed under Apache 2.0.

Adoption history

The official README says Trafilatura is widely used and integrated into thousands of projects, naming companies and institutions including Hugging Face, IBM, Microsoft Research, the Allen Institute, Stanford, Tokyo Institute of Technology, and the University of Munich.

The official documentation has a uses and citations page, and the README emphasizes academic citation, benchmarks, and integration into the web data extraction ecosystem. Its adoption is therefore both software-package adoption and research-method adoption.

How it is used

Trafilatura can be used as a Python library or as the trafilatura command-line tool. Official docs describe crawling, downloads, scraping, main-text extraction, metadata extraction, comment extraction, language detection, and output as TXT, Markdown, CSV, JSON, HTML, XML, and XML-TEI.

For package-manager users, the CLI is useful for quick extraction from live URLs or stored HTML without writing code, while Python users can embed the same extraction functions in data pipelines.

Why package nerds care

Trafilatura matters to package nerds because it packages a research-grade text extraction stack behind one CLI and Python module. It is useful for building local corpora, testing scraping pipelines, and comparing extraction quality without assembling many separate tools.

Its packaging also reflects a common modern pattern: a Python data/NLP library that is simultaneously a CLI, a research artifact with citations, and an operational dependency for downstream software.

Timeline

  • 2016: Author's related work on metadata-enhanced web corpora appears in the official citation list.
  • 2019: Repository created and v0.1.0 released.
  • 2021: Trafilatura ACL/IJCNLP system demonstration paper published; v1.0.0 released.
  • 2022: v1.2.x releases appear in official GitHub release metadata.
  • Current docs: Trafilatura 2.1.0 documentation is published on Read the Docs.

Related projects

  • The official README lists jusText and readability as generic algorithms used in the extractor.
  • The official README points to htmldate and related web data extraction packages in the author's software ecosystem.

Sources

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for trafilatura. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
trafilaturacliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.1.0
manager updated2026-06-08
local dataok
upstreamnot checked
latest detectednot detected

https://trafilatura.readthedocs.io/en/latest/

install metadata

Package metadata

Package keybrew:trafilatura
Version2.1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/trafilatura
Homepagehttps://trafilatura.readthedocs.io/en/latest/
Repositoryhttps://github.com/adbar/trafilatura
Upstream docshttps://trafilatura.readthedocs.io/en/latest
LicenseGPL-3.0-or-later
Source archivehttps://files.pythonhosted.org/packages/e8/19/24833e905df2d80e3bb67424f95febcc17709a1f61a522120bc438afca70/trafilatura-2.1.0.tar.gz
Last updated2026-06-08T19:27:24Z
Pulseupdated
Dependenciescertifi, python@3.14
Uses from macOSlibxml2, libxslt
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametrafilatura
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment