Can the ArcGIS API for Python publish geo processing services?

308
2
01-10-2019 06:22 AM
HarshaPerera
New Contributor III

Hello,

I have created an arcpy Python toolbox. I want to publish this to server (10.6.1) as a geoprocessing service programmatically. Ideally the machine used to deploy should not need to have an installation of ArcGIS Desktop. Is it possible to do this through the ArcGIS API for Python (1.5.x)? If not what options are available for doing this programmatically?

Thanks,

Harsha

0 Kudos
2 Replies
simoxu
by MVP Regular Contributor
MVP Regular Contributor

Hi Harsha,

ArcGIS Python API was built to work with Portal / AGOL, and also some capacity of spatial analysis. to publish a geoprocessing service, use ArcPy instead. here is an example:

Example: Publish a geoprocessing service from a model result—ArcGIS Server Administration (Linux) | ... 

HarshaPerera
New Contributor III

Hello Simon,

Thanks for your reply. I am trying to avoid having ArcGIS Desktop as a dependency of my script. It looks like this may not be possible.

0 Kudos