Skip to main content

A collection of functions for extending ESRI's arcpy module. Mostly utility or helper functions.

Project description

extarc - Utility functions for arcpy

Build Status

This repository contains python functions for commonly repeated tasks, e.g. getting new scratch feature classes in a scratch gdb, or getting certain projections. It's named extarc because it... extends arcpy. It also sounds like a cool ship from The Expanse which you should really watch. It utilizes the arcpy module which ships with ArcMap Desktop / ArcGIS Pro and so it's assumed that your python environment has access to these modules. That is, if you can't import arcpy already, why are you trying to use a helper library? Currently, arcpy is not part of requirements.txt because it's not clear whether it will pass a CI check.

Installation

While you can always just clone this repository into your project, or add it as a submodule via:

> git submodule add https://github.com/joshpsawyer/extarc.git

...it's a much better practice to install it as a module in your python environment - less maintenance, no unnecessary packages in your code. While structured for pypi, it's currently not in the index. You need to install a development build. Anaonda is recommended for environment management, but because Anaconda doesn't directly support this - you need to use pip.

Assuming you have anaconda installed and a target environment, open your command prompt / terminal. If you're installing it to the conda environment cool-env, switch to that environment now:

(base)> conda env activate cool-env
(cool-env)> conda env activate cool-env

From the prompt, type:

(cool-env)> pip install --editable=git+https://github.com/joshpsawyer/extarc.git#egg=extarc

The latest master commit will be installed under the package named extarc-joshpsawyer. To uninstall, type:

(cool-env)> pip uninstall extarc-joshpsawyer

Usage

import extarc as ea

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for extarc, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size extarc-0.0.1-py3-none-any.whl (18.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size extarc-0.0.1.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page