All Projects → JamesRamm → archook

JamesRamm / archook

Licence: GPL-2.0 license
Searches the system for arcgis and makes arcpy available to python (regardless of pythonpath/system path/registry settings)

Programming Languages

python
139335 projects - #7 most used programming language
Batchfile
5799 projects

Labels

Projects that are alternatives of or similar to archook

Agstoshapefile
Convert ArcGIS Server Dynamic Map Service to GeoJSON and Shapefile
Stars: ✭ 172 (+126.32%)
Mutual labels:  arcgis
AnimatedEnvironmentLayer
A custom arcgis js api layer to display GRIB data formatted as json as animated particles on a canvas
Stars: ✭ 41 (-46.05%)
Mutual labels:  arcgis
WhiteboxTools-ArcGIS
ArcGIS Python Toolbox for WhiteboxTools
Stars: ✭ 190 (+150%)
Mutual labels:  arcgis
Angular Esri Map
A collection of directives to help you use Esri maps and services in your Angular applications
Stars: ✭ 213 (+180.26%)
Mutual labels:  arcgis
R-Bridge-Tutorial-Notebooks
Jupyter notebooks demonstrating setup and use of the R-ArcGIS bridge. The repo includes datasets required to run the Jupyter notebooks.
Stars: ✭ 56 (-26.32%)
Mutual labels:  arcgis
utility-network-swagger
Utility Network REST API expressed in Swagger / Open API Specification, code samples
Stars: ✭ 27 (-64.47%)
Mutual labels:  arcgis
R Bridge Install
Install the R ArcGIS Tools
Stars: ✭ 159 (+109.21%)
Mutual labels:  arcgis
GISPython
Additional tools for administering and automating different ArcPy and ArcGIS Server geoprocessing operations. Package is intended for use with ArcGIS 10.2.1 and later (has been tested on ArcGIS 10.2.2, 10.3.1, 10.6.1).
Stars: ✭ 20 (-73.68%)
Mutual labels:  arcgis
Imagery-Apps
Example JavaScript source code for ArcGIS imagery apps (Landsat Explorer and Sentinel Explorer) that you can expand or customize.
Stars: ✭ 24 (-68.42%)
Mutual labels:  arcgis
Course ArcGIS Python
Course on ArcGIS automation through scripting with Python
Stars: ✭ 27 (-64.47%)
Mutual labels:  arcgis
Arcgis Cookbook
Chef cookbooks for ArcGIS
Stars: ✭ 227 (+198.68%)
Mutual labels:  arcgis
Arcgis Rest Js
compact, modular JavaScript wrappers for the ArcGIS REST API
Stars: ✭ 231 (+203.95%)
Mutual labels:  arcgis
AuGeo
AuGeo - Augmented Reality for ArcGIS
Stars: ✭ 36 (-52.63%)
Mutual labels:  arcgis
Minbus
a minbus system [ArcGIS API]
Stars: ✭ 177 (+132.89%)
Mutual labels:  arcgis
OptimizeRasters
OptimizeRasters is a set of tools for converting raster data to optimized Tiled TIF or MRF files, moving data to cloud storage, and creating Raster Proxies.
Stars: ✭ 105 (+38.16%)
Mutual labels:  arcgis
Esri Leaflet Geocoder
helpers for using the ArcGIS World Geocoding Service in Leaflet
Stars: ✭ 164 (+115.79%)
Mutual labels:  arcgis
portal-admin-examples
Example python scripts for working with the ArcGIS REST API.
Stars: ✭ 17 (-77.63%)
Mutual labels:  arcgis
awesome-arcgis
La mayor recopilación (Wiki) de recursos sobre ArcGIS que encontrarás (organizado por productos, conceptos, ...)
Stars: ✭ 21 (-72.37%)
Mutual labels:  arcgis
esri-polymer
A set of Esri web components built using the Polymer library
Stars: ✭ 14 (-81.58%)
Mutual labels:  arcgis
geocoder
Geocoder is a Typescript library which helps you build geo-aware applications by providing a powerful abstraction layer for geocoding manipulations
Stars: ✭ 28 (-63.16%)
Mutual labels:  arcgis

PyPI version

archook

Searches the (windows) system for arcgis and makes arcpy available to python (regardless of pythonpath/system path/registry settings). It's typically used when using a python distribution that's wasn't installed by ArcGIS. Ones downloaded direct from Python.org or a conda environment for two examples.

If ArcGIS is not found, an ImportError is thrown.

Use pro=True to target ArcGIS Pro instead of ArcGIS Desktop.

Example usage

ArcGIS Desktop

try:
    import archook #The module which locates arcgis
    archook.get_arcpy()
    import arcpy
except ImportError:
    # do whatever you do if arcpy isnt there.

ArcGIS Pro

try:
    import archook #The module which locates arcgis
    archook.get_arcpy(pro=True)
    import arcpy
except ImportError:
    # do whatever you do if arcpy isnt there.

Note: You may need to create a conda-meta directory in your Python interpreter's directory (referred to by sys.prefix) if you get an error like the following:

ImportError("arcpy needs to run within an active ArcGIS Conda environment")

Installation

Regular install with pip:

pip install archook

Install in developer mode using Git:

git clone https://github.com/JamesRamm/archook.git
pip install --editable .\archook

Install in developer mode manually:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].