ArcPy toolbox utilities
A tool builder's
toolbox.
Refined toolbox design. A structured Python library for building ArcPy tools in research workflows.
-
.param
Parameter module: Helpers for
updateParameterscovering cascade resets, dropdown menu population, and dynamic grouping of parameters. -
.lyr
Layer module: Add layers with optional
.lyrxsymbology and retrieve or remove layers by name or source. -
.ws
Workspace module: Create a geodatabase and its parent folder in one call. Route intermediate outputs to memory or scratch GDB with a single flag.
-
.fc
Feature class module: Create, copy, filter, and export feature classes to a geodatabase with chosen fields, validate geometry types, and compute polygon areas.
-
.flds
Fields module: Inspect and edit attribute tables in place, build field mappings, clean and standardize blank values, list column headers or inspect unique column values.
ArcSmith is a library for building ArcGIS Pro Python toolboxes (.pyt files). It works on top of arcpy, handling common tasks like reading parameter state, building quoted SQL WHERE clauses, applying symbology, and managing workspaces.
Read the quickstart →Author, A. A. (Year). ArcSmith: ArcPy toolbox utilities [Computer software]. Version X.X. https://pypi.org/project/arcsmith/
Author, A. A. Year. ArcSmith: ArcPy Toolbox Utilities. Version X.X. Computer software. https://pypi.org/project/arcsmith/
@software{arcsmith,
author = {Author, A. A.},
title = {ArcSmith},
year = {YYYY},
version = {X.X},
url = {https://pypi.org/project/arcsmith/}
}
Replace the placeholders with the author name, year, and version. Run pip show arcsmith to confirm the version you used.