extarc - Utility functions for arcpy
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
Metadata
Release files for extarc 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| extarc-0.0.1.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| extarc-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.0 kB
Release files / extarc-0.0.1.tar.gz
| Download URL | extarc-0.0.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6503fe1612c8c0604977c9807db0eb9017a4a867ff8722e578bce2ba89caaa94
|
|
BLAKE2b-256 checksum How to use checksums |
ef8b1b60f4e45e90dbc769010b5b0db12a1ee9af15fc49b4717a18dc4d27c7cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / extarc-0.0.1-py3-none-any.whl
| Download URL | extarc-0.0.1-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afe5b89d340b26558d27d85f153028b1c932c77b9688033c05a0fae61078e6d1
|
|
BLAKE2b-256 checksum How to use checksums |
cba515d1781a5b31e645da9b3ce9512fb58ab03cd96e2c63713175c8470e2427
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|