$npx skillfedfor your agent

tableschema

A utility library for working with Table Schema in Python

With conditionsPyPI Python ModulesReleased Nov 2024446.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tableschema-1.21.0-py2.py3-none-any.whl
v1.21.0 · released 2024-11-14 · 10 runtime deps: six, click, requests, cached-property, python-dateutil, jsonschema, unicodecsv, isodate

Yes, if you need to work with Table Schema standard and are not starting a new project. The package is stable and has no known vulnerabilities, but consider Frictionless Framework instead if you are building new data pipelines—tableschema is dormant (638 days since last release) and the maintainers explicitly recommend the successor. Install it for legacy integrations or when Table Schema compatibility is a hard requirement.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with 10 runtime dependencies.
  • Maintenance is dormant—last release was 638 days ago—but the repository remains active and the project has been superseded by Frictionless Framework, which the maintainers recommend for new work.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2024-11-14 (638 days) · last repo commit 2024-11-14 · 267 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 446,066 downloads/mo, #6,614 on PyPI

Verify before relying

pip install tableschema

from tableschema import Table

table = Table('data.csv')
table.infer()
for row in table.iter(keyed=True):
    print(row)
  • Whether Python 2.7 support (listed in classifiers) is actually maintained or tested in the current release
  • Current compatibility with modern Python versions beyond 3.6 (classifiers list only up to 3.6)
  • Whether the package is actively maintained or in maintenance-only mode given the 638-day gap since last release
Same gist for agents: .md · .json

What it is and what it does

tableschema-py is a Python library that implements the Table Schema standard, allowing you to define, validate, and work with structured tabular data. It provides a `Table` class to read and write data with schema metadata, a `Schema` class to define field types and validation rules, and utilities to infer schemas from raw data and validate data against those schemas. The library handles type casting (converting string values to integers, geopoints, dates, etc.), missing value handling, and can read from local files or remote URLs.

The package is part of the Frictionless Data ecosystem and includes a command-line interface for schema validation and inference. However, the maintainers have released Frictionless Framework as a more complete successor; tableschema remains functional but is no longer the primary recommendation for new projects. It depends on standard libraries like jsonschema, requests, and python-dateutil for its core functionality.

Use it for

  • Validate CSV or tabular data files against a predefined Table Schema to ensure data quality and type correctness
  • Automatically infer a Table Schema from raw data, then use it to cast and validate subsequent rows
  • Define reusable table schemas in JSON format and apply them across multiple data files in a pipeline
  • Parse tabular data with proper type casting (e.g., convert string '51.50,-0.11' to a geopoint array) and handle missing values
  • Build data validation workflows where invalid rows are collected for reporting rather than stopping on first error

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to work with Table Schema standard and are not starting a new project.

The package is stable and has no known vulnerabilities, but consider Frictionless Framework instead if you are building new data pipelines—tableschema is dormant (638 days since last release) and the maintainers explicitly recommend the successor. Install it for legacy integrations or when Table Schema compatibility is a hard requirement.

Install

tableschema on PyPI

Before you install

Low friction install with 10 runtime dependencies. Maintenance is dormant—last release was 638 days ago—but the repository remains active and the project has been superseded by Frictionless Framework, which the maintainers recommend for new work.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install tableschema

from tableschema import Table

table = Table('data.csv')
table.infer()
for row in table.iter(keyed=True):
    print(row)

Verify before relying

  • Whether Python 2.7 support (listed in classifiers) is actually maintained or tested in the current release
  • Current compatibility with modern Python versions beyond 3.6 (classifiers list only up to 3.6)
  • Whether the package is actively maintained or in maintenance-only mode given the 638-day gap since last release

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
10 packages
sixclickrequestscached-propertypython-dateutiljsonschemaunicodecsvisodaterfc3986dataflows-tabulator
MaintenanceDormant 638 days since the last release
Last repo commit
First released
Downloads446,066 / month, #6,614 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules

Evidence: tableschema-1.21.0-py2.py3-none-any.whl

Tags

Capabilities
table schema validation pythoncsv schema inferencetabular data validationtable schema standarddata type casting tablesfrictionless data tablesschema-driven csv parsing
Topics
data-validationtabular-dataschema-inference
PyPI keywords
frictionless dataopen datajson schematable schemadata packagetabular data package

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 › “table schema validation python”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also csvw · datapackage · frictionless · pycsvschema · tableschema-to-template · tabulator · patito · schema · dataflows-tabulator · pandas-schema