{
 "kind": "tool",
 "slug": "diskcache",
 "path": "tools/diskcache/",
 "name": "DiskCache",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "State and data fetching",
   "tools/state-data/"
  ]
 ],
 "lead": "Persistent disk-backed cache with key-value storage for Python applications.",
 "chips": [
  {
   "label": "State and data fetching",
   "path": "tools/state-data/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install diskcache"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/grantjenks/python-diskcache"
  },
  {
   "label": "Website",
   "href": "http://www.grantjenks.com/docs/diskcache/"
  }
 ],
 "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 classifier.",
   "src": "https://github.com/grantjenks/python-diskcache"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Aug 10, 2024",
   "note": "",
   "src": "https://github.com/grantjenks/python-diskcache"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "10 projects",
   "status": "info",
   "sub": "#25 of 53 in its category",
   "note": "Dependency in 10 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "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 DiskCache does",
   "parts": [
    {
     "t": "prose",
     "text": "Persistent disk-backed cache with key-value storage for Python applications."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "DiskCache popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "60",
       "of": "/ 100",
       "l": "Gid Score, #979 overall"
      },
      {
       "n": "6.1M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "2,921",
       "l": "GitHub stars"
      },
      {
       "n": "10",
       "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 DiskCache is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "DiskCache is a dependency in 10 of the 6,254 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,063, Ethereum and EVM 1,777, 3D and games 3,120, agent frameworks and SDKs 13,629); counting those, it appears in 268 projects, and what it is used with below comes from all of them.",
      "Projects that use it most often also use NumPy (95.5%), Pydantic (93.7%), Click (88.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "5 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "5 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 95.5% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 93.7% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 88.8% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      },
      {
       "l": "In 88.4% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 86.9% of its projects",
       "v": "AnyIO",
       "path": "tools/anyio/"
      },
      {
       "l": "In 86.9% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      },
      {
       "l": "In 86.6% of its projects",
       "v": "charset-normalizer",
       "path": "tools/charset-normalizer/"
      },
      {
       "l": "In 85.8% of its projects",
       "v": "packaging",
       "path": "tools/packaging/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about DiskCache",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "Own page: https://gum.co/diskcache"
       ]
      },
      {
       "title": "More in State and data fetching",
       "path": "tools/state-data/",
       "items": [
        {
         "text": "TanStack Query",
         "path": "tools/tanstack-react-query/"
        },
        {
         "text": "Zustand",
         "path": "tools/zustand/"
        },
        {
         "text": "RxJS",
         "path": "tools/rxjs/"
        },
        {
         "text": "Pinia",
         "path": "tools/pinia/"
        },
        {
         "text": "SWR",
         "path": "tools/swr/"
        },
        {
         "text": "nuqs",
         "path": "tools/nuqs/"
        },
        {
         "text": "Immer",
         "path": "tools/immer/"
        },
        {
         "text": "React Redux",
         "path": "tools/react-redux/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "DiskCache",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 60",
        "6.1M/wk"
       ]
      }
     ],
     "more": "Compare DiskCache with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install diskcache"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for DiskCache yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi diskcache"
  ],
  [
   "Category",
   "State and data fetching"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "59.6"
  ],
  [
   "Rank in category",
   "#25 of 53"
  ],
  [
   "GitHub",
   "grantjenks/python-diskcache"
  ],
  [
   "Last change",
   "Aug 10, 2024"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/grantjenks.png"
}