Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

schema

Lightweight Python library for validating data structures against defined schemas.

Forms, validation and schemas PyPI MIT

Used in agent projects
3
0.2% of 1,622 Python repos built with AI coding agents; 72 counting our dependency samples
Gid Score
53 /100
#1269 of 3,794 tools, #32 in forms, validation and schemas · ranking
Rank in forms, validation and schemas
#44 of 61
by use in those projects
Downloads
4.7M
PyPI, last 7 days, schema
GitHub stars
2,943
231 forks · last push Jun 20, 2026

How schema is used

schema is a dependency in 3 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 72 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Pydantic (536 projects). Projects that use it most often also use aiohttp (100.0%), NumPy (100.0%), PyYAML (100.0%).

schema popularity over time

Top tools by Gid Score

schema: downloads per weekPyPI, schema 4,693,779
schema: GitHub starskeleshev/schema 2,943

Gid Score 53: downloads 78, use in agent projects 46, GitHub stars 30, downloads trend 44 (each 0-100). How it is calculated.

Often used with schema

aiohttp100.0% of schema projects · 48.5× more than average
NumPy100.0% of schema projects · 17.1× more than average
PyYAML100.0% of schema projects · 16.8× more than average
Requests100.0% of schema projects · 14.7× more than average
attrs98.6% of schema projects · 142.4× more than average
Beautiful Soup98.6% of schema projects · 45.7× more than average
cachetools98.6% of schema projects · 174.9× more than average
charset-normalizer98.6% of schema projects · 91.4× more than average

From all 72 projects in our scan that use schema, including the dependency samples.

Agent Skills for schema

schema from coreyhaines31/marketingskillsWhen the user wants to add, fix, or optimize schema markup and structured data on their site. Also use when the user mentions "schema markup," "structured data…
npx skills add coreyhaines31/marketingskills --skill schema
schema-markup-generator from nowork-studio/notfair-pluginGenerate JSON-LD structured data markup for rich results in Google Search. Supports FAQ, HowTo, Article, Product, LocalBusiness, and multi-type schemas. Valida…
npx skills add nowork-studio/notfair-plugin --skill schema-markup-generator
schema-exploration from timescale/pg-aiguideExplore an existing PostgreSQL database before answering questions about its data or writing SQL. Use this skill whenever a user asks for a query or a data-bac…
npx skills add timescale/pg-aiguide --skill schema-exploration
schema from fcakyon/claude-codex-settingsUse when adding, fixing, or reviewing structured data: JSON-LD for articles, products, FAQs, breadcrumbs, organizations, and local businesses, and what to do w… has scripts
npx skills add fcakyon/claude-codex-settings --skill schema

Skills teach your coding agent how to use schema well. Official means the pack comes from the same GitHub account as schema. Read a skill before installing it: it can include scripts. All Agent Skills

Install

Packagepip install schema
Main stacksPython (71), React Native / Expo (1)
Example projectskspviswa/local-packet-whisperer, microsoft/edge-ai, whyashthakker/ai-agents, opahopa/crewai-factory-crew, tylerprogramming/master-crewai-course

Alternatives to schema

All forms, validation and schemas

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside schema are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
Pydantic pypi
Data validation and parsing library using Python type hints.
86 536 (33.0%) 243M 29.1K MIT
jsonschema pypi
Python implementation of JSON Schema validation for structured data.
75 101 (6.2%) 135M 4,990 MIT
marshmallow pypi
Lightweight library for converting complex datatypes to and from native Python datatypes.
69 10 (0.6%) 20.5M 7,246 MIT

More in Forms, validation and schemas: Zod React Hook Form React Hook Form Resolvers Ajv ajv-formats Protocol Buffers zod-to-json-schema email-validator

Is schema right for your project? Ask AgentGid →