{
 "kind": "tool",
 "slug": "json5-pypi",
 "path": "tools/json5-pypi/",
 "name": "json5 (Python)",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Utilities",
   "tools/utilities/"
  ]
 ],
 "lead": "Parse JSON5 format with relaxed syntax and comments in Python.",
 "chips": [
  {
   "label": "Utilities",
   "path": "tools/utilities/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install json5"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/dpranke/pyjson5"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/dpranke/pyjson5"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 14, 2026",
   "note": "",
   "src": "https://github.com/dpranke/pyjson5"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "6 projects",
   "status": "info",
   "sub": "#150 of 406 in its category",
   "note": "Dependency in 6 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What json5 (Python) does",
   "parts": [
    {
     "t": "prose",
     "text": "Parse JSON5 format with relaxed syntax and comments in Python."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "json5 (Python) popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "56",
       "of": "/ 100",
       "l": "Gid Score, #1264 overall"
      },
      {
       "n": "11.5M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "286",
       "l": "GitHub stars"
      },
      {
       "n": "6",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How json5 (Python) is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "json5 (Python) is a dependency in 6 of the 6,255 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 3,064, Ethereum and EVM 1,779, 3D and games 3,123, agent frameworks and SDKs 13,665); counting those, it appears in 311 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is PyYAML (372 projects).",
      "Projects that use it most often also use Jinja2 (92.6%), Requests (88.7%), NumPy (88.4%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 92.6% of its projects",
       "v": "Jinja2",
       "path": "tools/jinja2/"
      },
      {
       "l": "In 88.7% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 88.4% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 87.5% of its projects",
       "v": "Beautiful Soup",
       "path": "tools/beautifulsoup4/"
      },
      {
       "l": "In 86.8% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      },
      {
       "l": "In 85.5% of its projects",
       "v": "attrs",
       "path": "tools/attrs/"
      },
      {
       "l": "In 84.6% of its projects",
       "v": "jsonschema",
       "path": "tools/jsonschema/"
      },
      {
       "l": "In 84.6% of its projects",
       "v": "MarkupSafe",
       "path": "tools/markupsafe/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about json5 (Python)",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Utilities",
       "path": "tools/utilities/",
       "items": [
        {
         "text": "clsx",
         "path": "tools/clsx/"
        },
        {
         "text": "date-fns",
         "path": "tools/date-fns/"
        },
        {
         "text": "uuid",
         "path": "tools/uuid/"
        },
        {
         "text": "yaml",
         "path": "tools/yaml/"
        },
        {
         "text": "js-yaml",
         "path": "tools/js-yaml/"
        },
        {
         "text": "glob",
         "path": "tools/glob/"
        },
        {
         "text": "Lodash",
         "path": "tools/lodash/"
        },
        {
         "text": "tqdm",
         "path": "tools/tqdm/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "json5 (Python)",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 56",
        "11.5M/wk"
       ]
      },
      {
       "name": "PyYAML",
       "why": "YAML parser and emitter for reading and writing YAML configuration files.",
       "path": "tools/pyyaml/",
       "facts": [
        "MIT",
        "Gid 76",
        "303M/wk"
       ]
      },
      {
       "name": "orjson",
       "why": "Fast Python JSON library with support for dataclasses, dates, and NumPy types.",
       "path": "tools/orjson/",
       "facts": [
        "MPL-2.0 AND (Apache-2.0 OR MIT)",
        "Gid 75",
        "53.9M/wk"
       ]
      }
     ],
     "more": "Compare json5 (Python) with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install json5"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for json5 (Python) yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi json5"
  ],
  [
   "Category",
   "Utilities"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "55.7"
  ],
  [
   "Rank in category",
   "#150 of 406"
  ],
  [
   "GitHub",
   "dpranke/pyjson5"
  ],
  [
   "Last change",
   "Nov 14, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/dpranke.png"
}