Currently in development. Check back soon.

ArcPy toolbox utilities

A tool builder's
toolbox.

A structured Python library for building ArcPy tools in research workflows.

ArcSmith Modules
  • .param
    Parameter module: Helpers for updateParameters covering cascade resets, dropdown menu population, and dynamic grouping of parameters.
  • .lyr
    Layer module: Add layers with optional .lyrx symbology 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.
Install
$ py -m pip install arcsmith
Requires arcpy. Install into the ArcGIS Pro Python environment.
Cite ArcSmith in research

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.