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


Download files

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

Source Distribution

extarc-0.0.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

extarc-0.0.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file extarc-0.0.1.tar.gz.

File metadata

  • Download URL: extarc-0.0.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.8

File hashes

Hashes for extarc-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6503fe1612c8c0604977c9807db0eb9017a4a867ff8722e578bce2ba89caaa94
MD5 115c8bbbbf2dced4f92979fc81601e0f
BLAKE2b-256 ef8b1b60f4e45e90dbc769010b5b0db12a1ee9af15fc49b4717a18dc4d27c7cc

See more details on using hashes here.

File details

Details for the file extarc-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: extarc-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.8

File hashes

Hashes for extarc-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 afe5b89d340b26558d27d85f153028b1c932c77b9688033c05a0fae61078e6d1
MD5 b9e538770994e62de5d89d218a8f3efe
BLAKE2b-256 cba515d1781a5b31e645da9b3ce9512fb58ab03cd96e2c63713175c8470e2427

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page