{
  "name": "ArcPy tool-access patterns documented by Esri",
  "description": "Compares the four ways Esri's ArcGIS Pro documentation shows for calling geoprocessing tools from Python with ArcPy, with the documented example for each. Compiled from Esri ArcPy documentation pages read on 2026-12-03.",
  "page": "https://casrai.org/guides/arcpy",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-12-03T19:17:00Z",
  "temporalCoverage": "2026",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Access pattern",
      "unit": "",
      "description": ""
    },
    {
      "name": "Documented example",
      "unit": "",
      "description": ""
    },
    {
      "name": "Where it applies",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Access pattern": "Toolbox module",
      "Documented example": "arcpy.management.GetCount(in_features)",
      "Where it applies": "Standard toolboxes, called as arcpy.."
    },
    {
      "Access pattern": "Function with toolbox alias",
      "Documented example": "arcpy.GetCount_management(in_features)",
      "Where it applies": "Same tools, called as functions on arcpy"
    },
    {
      "Access pattern": "Spatial Analyst module",
      "Documented example": "arcpy.sa",
      "Where it applies": "Spatial Analyst tools, not available directly on arcpy"
    },
    {
      "Access pattern": "Image Analyst module",
      "Documented example": "arcpy.ia",
      "Where it applies": "Image Analyst tools, not available directly on arcpy"
    }
  ],
  "sources": [
    {
      "title": "Esri: Using tools in Python",
      "url": "https://doc.esri.com/en/arcgis-pro/latest/arcpy/geoprocessing_and_python/using-tools-in-python.html",
      "accessed": "2026-12-03"
    },
    {
      "title": "Esri: Importing ArcPy",
      "url": "https://doc.esri.com/en/arcgis-pro/latest/arcpy/get-started/importing-arcpy.html",
      "accessed": "2026-12-03"
    }
  ]
}