Catalog PyPI
PACKAGE EXPLORERView in registry

agsadmin

PyPI

ArcGIS Server REST Admin API Proxy

arcgisesri
Versions collected1
Direct dependencies6From release 0.5.3
Last observed21 Oct, 09:28 UTC

README

Version 0.5.3 documentation
========
agsadmin
========

agsadmin provides a convenient Python front-end to several REST calls on the ArcGIS Server 10.1+ REST Admin API.

Features
========

ArcGIS Server (RestAdmin)
*************************

- Services (Map/Image/Geoprocessing/Geometry/Geocode/GeoData/Globe/Search)

  - start and stop
  - get statistics
  - get status
  - get or set the item info (description, summary, tags, etc.)
  - set service properties
  - rename services
  
- Machines

  - start and stop

- System

  - Directories

    - list directories
    - register new directories
    - unregister directories
    - clean directories

- Uploads

  - list uploads
  - get a specific upload item
  - upload a file

These functions can be used to automate management of ArcGIS Services (e.g. start/stop services on a schedule, 
start/stop services to perform maintenance on associated datasets, etc.)

ArcGIS Portal (SharingAdmin)
****************************

- Content

  - get item
  - add/get/move/delete/update user item
  - get user/folder content

- Community

  - get user
  - get group
  - create group
  - update group


Example
=======
The following is a simplistic example to stop and start a map service.

.. code-block:: python

  import agsadmin

  hostname = "<ServerNameHere>"
  username = "<UsernameHere>"
  password = "<PasswordHere>"

  rest_admin = agsadmin.RestAdmin(hostname, username, password)
  service = rest_admin.services.get_service("<MapServiceNameHere>", "MapServer", "<OptionalFolderHere>")
  service.stop_service()
  service.start_service()
  service.delete()

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.5.31 Sept 20236

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
davidwhittingham/agsadmin

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:28 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5ff3d4366de06b3e105955c2e09fd151a792e028f2538372c108e48ccb837088