Python utilities for use with Esri ArcGIS Pro software
Project description
README
What is this repository for?
- A collection of (mostly) arcpy related utilities for use within ArcGIS Pro (Python 3). Shortcuts for accessing elements of a map document, performing various data discovery tasks on a table or geodatabase
How do I get set up?
- To install the utilities:
pip install arc_utils- Clone the repo to your machine and add the path to the python install https://docs.python.org/2/tutorial/modules.html#the-module-search-path
- Optionally, you can copy the folder to the site-packages in the ESRI python install directory, or add a .pth file to the site-packages folder pointing to the clone directory.
To use the utilities:
- in the python window in ArcGIS Pro
import arc_utils as au
-
typing
au.will now reveal the modules and functions available to you if you have autocomplete on -
Depends on arcpy (only available with Esri license)
Example usage
import arc_utils as au
tbl = au.table.TableObj(path to featureclass)
list all fields
print(tbl.fields)
pro_doc = au.aprx.AprxObj(“CURRENT”)
pro_doc.maps >> [<arcpy._mp.Map object at 0x000001A4AECBF108>, <arcpy._mp.Map object at 0x000001A4AEBB6608>]
pro_doc.maps[0].name >> ‘Map’
Contribution guidelines
Contributions welcomed, this is a starting point for various utilities that I think could be useful within ArcGIS Pro.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arc_utils-1.2.1.tar.gz.
File metadata
- Download URL: arc_utils-1.2.1.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b18c01ca5ccd8949cd457c24fdff2ddea5e8e43e208d5677edb7f79fab30b91
|
|
| MD5 |
505d8291224b2c49c12b9d3655d0843d
|
|
| BLAKE2b-256 |
0ffc48a3a4523c037a16fbccd60b07aac273b7cca20cf56ba3e1eef03583a09f
|
File details
Details for the file arc_utils-1.2.1-py3-none-any.whl.
File metadata
- Download URL: arc_utils-1.2.1-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d7e6b242882bb9da9010aa510612ab3fa3c5b50a6c45cc6c793fc37b0e69eec
|
|
| MD5 |
2d2efae213429e99672c093b366b1ecd
|
|
| BLAKE2b-256 |
205347ffa109a95f18bf829cb2ee3e584bf986b8a6fcb74a7f4ba1fcc6360208
|