Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

agsadmin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agsadmin

ArcGIS Server REST Admin API Proxy

  • 0.5.3
  • PyPI
  • Socket score

Maintainers
1

======== 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 = "" username = "" password = ""

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc