trec-car-tools
Support tools for TREC CAR participants. Also see trec-car.cs.unh.edu
Decision gist · record as of 2026-08-14
Yes, if you are actively participating in the TREC CAR track or building research systems that depend on its data formats. The package has no runtime dependencies, installs easily, and carries no licensing restrictions. However, the aging maintenance status (last release 2022-02-01) means you should verify compatibility with your Python version and check whether the cbor library remains available before committing to a dependency.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires the cbor library; install via 'conda install -c laura-dietz cbor=1.0.0' (Anaconda) or 'pip install cbor' (pip).
- Python 3.6 is the minimum supported version per classifiers.
- Low friction installation as a pure Python wheel with no runtime dependencies.
License · maintenance · safety
BSD 3-Clause (permissive) — BSD 3-Clause is permissive and poses no restrictions on commercial or proprietary use, modification, or redistribution as long as the license and copyright notice are included.
last release 2022-02-01 (1655 days) · last repo commit 2025-07-12 · 38 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 217,808 downloads/mo, #9,351 on PyPI
Alternatives
Verify before relying
pip install trec-car-tools
import trec_car_tools
# Read paragraph collection or outline data in CBOR format
# See package documentation for specific module and function names- Whether the package works reliably with Python versions beyond 3.8 despite classifiers listing 3.6–3.8
- Current status and availability of the cbor dependency in modern Python environments
- Whether TREC CAR data formats v1.5, v2.0, and v2.6 remain in active use or if the track has evolved
- Specific module names and APIs available in the package for reading and writing data
What it is and what it does
trec-car-tools is a toolkit for participants in the TREC Complex Answer Retrieval track, a shared task in information retrieval research. It provides Python and Java libraries to deserialize Wikipedia data (articles, outlines, paragraphs) that have been encoded in CBOR binary format, and to serialize ranking results back into the standard TREC evaluation format. The package preserves Wikipedia-internal hyperlinks and metadata (categories, redirects, infoboxes, Wikidata IDs) during deserialization.
The typical workflow involves downloading TREC CAR data, using the package to parse it into Python or Java objects, running your retrieval or ranking algorithm, then using format_runs utilities to write results in the format expected by trec_eval and the official evaluation pipeline. It integrates with standard IR evaluation tools used in the research community.
Use it for
- Parse Wikipedia paragraph collections and outlines for TREC CAR shared task participation
- Extract structured Wikipedia metadata (sections, hyperlinks, categories, infoboxes) for IR research
- Format and validate ranking results to submit to TREC CAR evaluation
- Integrate TREC CAR data into information retrieval pipelines supporting multiple format versions
- Analyze Wikipedia structure and entity-passage relationships for complex answer retrieval
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively participating in the TREC CAR track or building research systems that depend on its data formats.
The package has no runtime dependencies, installs easily, and carries no licensing restrictions. However, the aging maintenance status (last release 2022-02-01) means you should verify compatibility with your Python version and check whether the cbor library remains available before committing to a dependency.
Install
trec-car-tools on PyPI
Before you install
Low friction installation as a pure Python wheel with no runtime dependencies. However, the package is aging—last release was 2022-02-01, and the repository shows minimal recent activity.
Requires the cbor library; install via 'conda install -c laura-dietz cbor=1.0.0' (Anaconda) or 'pip install cbor' (pip). Python 3.6 is the minimum supported version per classifiers.
License in practice
BSD 3-Clause is permissive and poses no restrictions on commercial or proprietary use, modification, or redistribution as long as the license and copyright notice are included.
Quickstart
pip install trec-car-tools
import trec_car_tools
# Read paragraph collection or outline data in CBOR format
# See package documentation for specific module and function names
Verify before relying
- Whether the package works reliably with Python versions beyond 3.8 despite classifiers listing 3.6–3.8
- Current status and availability of the cbor dependency in modern Python environments
- Whether TREC CAR data formats v1.5, v2.0, and v2.6 remain in active use or if the track has evolved
- Specific module names and APIs available in the package for reading and writing data
Package facts
| License | BSD 3-Clause permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 1,655 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 217,808 / month, #9,351 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8 |
Evidence: trec_car_tools-2.6-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “trec car data reader”
- trec-car-toolsProvides Python and Java bindings to read TREC Complex Answer…
- pytrec-eval-terrierProvides Python bindings to TREC's trec_eval tool for computing…
- libipldlibipld provides fast Python bindings to a Rust IPLD library for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also pytrec-eval · pytrec-eval-terrier · ir-datasets · ir-measures · colbert-ai · ranx · Wikipedia-API · pdfminer · cbor2 · cbor