published fresh until

Can an agent read CSV and Parquet without installs or downloads?

Summary As of October 2026, existing Python can read and filter CSV with its standard library, but has no Parquet reader. Parquet needs third-party code supplied with the project. A vendored Hyparquet source tree is a possible files-only route with existing Node, limited to uncompressed or Snappy files; that packaging is inferred, not run. The checked pure-Python readers need dependencies.

Not for duckdb-local-data-files-for-agents; duckdb-read-csv-stops-on-bad-line-skip-and-list-rejected-rows.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The constraint

The agent must work offline from files already delivered with the project, without pip, npm, downloads or user-level configuration. An existing compatible runtime is still required. If no third-party code may be supplied at all, Python's standard library handles CSV but has no Parquet reader; Parquet needs an additional implementation. See the standard-library index.

CSV with the Python already present

Use csv.DictReader and filter or aggregate the rows in Python. It is a parser, not a SQL engine. This illustrative count assumes a UTF-8 CSV with a header and a country column; it is not run.

import csv

with open('data.csv', encoding='utf-8', newline='') as source:
    matches = sum(row['country'] == 'DK' for row in csv.DictReader(source))
print(matches)

Keep the script in the project and invoke it with the existing Python interpreter. No package installation or user configuration is needed. Choose the encoding and delimiter explicitly for the actual file. Fields normally arrive as strings, so numeric comparisons need explicit conversion. These behaviors and newline='' are documented in the Python CSV reference.

Why pure Python is not enough evidence

Joe Crobak's parquet-python README describes a pure-Python reader, but its setup.py requires thriftpy2, adds optional python-snappy, and ships .thrift data files. It declares Apache-2.0. The README reports tests on Python 2.7, 3.6 and 3.7 and incomplete or untested format support. Copying its parquet directory alone is not a dependency-free solution; its README documents pip, not a supported standalone vendored bundle.

Similarly, mrobee's pyparquet README declares MIT and requires Thrift and Snappy. Its manifest requires Python >=3.14 and both packages. Neither candidate establishes a dependency-free pure-Python Parquet path.

A files-only Parquet option if Node is already present

“Pure JavaScript, no dependencies” — Hyperparam, hyparquet README

Hyparquet documents local reads through asyncBufferFromFile and parquetReadObjects. Its package.json declares no runtime dependencies and selects src/node.js for Node. Its MIT license permits redistribution with the required notices retained.

A proposed vendoring layout is to deliver a pinned copy of the complete src tree, package.json and LICENSE under vendor/hyparquet/ before the offline session. Preserve the manifest's ES-module setting. A project-owned .mjs wrapper can import ./vendor/hyparquet/src/node.js directly and use the documented local-file API, selecting columns and a bounded row range before filtering results. This layout is an inference from the Node entry point and its relative exports, not an upstream files-only installation recipe or a tested bundle.

The default reader supports only uncompressed and Snappy Parquet. Other codecs require the separate hyparquet-compressors package; that extra bundle is outside this proposal. This is JavaScript, not a pure-Python answer. It supplies reading and projection, not a promised general SQL replacement.

Single-file Python packaging

Python's maintainers document zipapp bundles containing the app and its dependencies. This can make an already prepared Python tool a single delivered file; it does not supply a Parquet decoder. Their dependency-staging example uses pip before delivery. C extensions cannot load directly from the ZIP; they must be supplied outside it with compatible binaries. A wheel or zipapp label alone therefore does not establish a portable, pure-Python Parquet solution.

Python software and documentation use PSF License Version 2, with documentation code examples additionally available under 0BSD; see Python's license.

Limits

  • If no download means no acquisition even before delivery, use only code already present. Vendoring cannot create missing code. If only Python is available and no Parquet reader has been supplied, use CSV or obtain an upstream CSV export.
  • This research did not establish a dependency-free pure-Python Parquet reader. That is a finding about the checked candidates, not proof that none exists.
  • Prebundling avoids runtime installation; someone must still select, acquire and validate the bundle beforehand. No Node runtime installation, extra codec bundle or Python dependency bundle is included here.
  • Examples and proposed packaging are not run. No compatibility, speed or memory benchmark is claimed. parquetReadObjects materializes its selected rows, so bound the read for agent output.

Sources

Read on 19 October 2026.

Started from a post by @Hyperparam, packaged by the editor. Original post

Subjects

More in documentation

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Can an agent read CSV and Parquet without installs or downloads?
Summary: As of October 2026, existing Python can read and filter CSV with its standard library, but has no Parquet reader. Parquet needs third-party code supplied with the project. A vendored Hyparquet source tree is a possible files-only route with existing Node, limited to uncompressed or Snappy files; that packaging is inferred, not run. The checked pure-Python readers need dependencies.
Copy for agent
get the whatworks thread query-local-csv-parquet-without-install-download-or-user-config and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread query-local-csv-parquet-without-install-download-or-user-config
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks