Python utilities for use with Esri ArcGIS Desktop software
Project description
# README #
### What is this repository for? ###
* A collection of (mostly) arcpy related utilities for use within ArcGIS (ArcCatalog/ArcMap) and Python 2.7. Going forward, this repo will be compatible with ArcGIS Pro (Python 3) as well where possible.
### 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 ArcMap/ArcCatalog/Pro
`import arc_utils as au`
* typing `au.` will now reveal the modules and functions available to you if you have autocomplete on
* Dependencies: arcpy, csv
* NOTE: arcpy changes for ArcGIS Pro (Python 3.x) include a name change: arcpy.mapping = arcpy.mp
### Example usage ###
```python
import arc_utils as au
tbl = au.table.TableObj(<path to featureclass)
print(tbl.fields) # list all fields
```
### Contribution guidelines ###
* Feel free to contribute, this is a starting point for various utilities that I think could be useful within Arc.
### What is this repository for? ###
* A collection of (mostly) arcpy related utilities for use within ArcGIS (ArcCatalog/ArcMap) and Python 2.7. Going forward, this repo will be compatible with ArcGIS Pro (Python 3) as well where possible.
### 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 ArcMap/ArcCatalog/Pro
`import arc_utils as au`
* typing `au.` will now reveal the modules and functions available to you if you have autocomplete on
* Dependencies: arcpy, csv
* NOTE: arcpy changes for ArcGIS Pro (Python 3.x) include a name change: arcpy.mapping = arcpy.mp
### Example usage ###
```python
import arc_utils as au
tbl = au.table.TableObj(<path to featureclass)
print(tbl.fields) # list all fields
```
### Contribution guidelines ###
* Feel free to contribute, this is a starting point for various utilities that I think could be useful within Arc.
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
arc_utils-0.6.5.zip
(13.1 kB
view hashes)
Built Distribution
Close
Hashes for arc_utils-0.6.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eacc41b010721a08bc37f8c172b4849e5e04dc151dae0d6603f8d83cc864f537 |
|
MD5 | 8423e452c1a2f9fba02f38c28f914a12 |
|
BLAKE2b-256 | 2f18794a8ea0d66d5a1030312e28769f45227146de19096cade6af0b53ded583 |