Skip to main content

A framework for creating interactive commands with Argus' APIs

Project description

Argus Toolbelt

Argus has, for a long time, had a large number of separate "tools", or python scripts, used to interact with the API and perform a number of different tasks - some automated, and some not so automated.

Toolbelt provides a framework to unify tools like these under one command. building commandline tools with Argus' API. This is done via a plugin approach.

We aim to make it as simple as possible for developers to write and run their plugins without having to deal with authentication, HTTP requests, argument handling and commandline formatting.

Installation

To install the framework run pip install argus-toolbelt. This will install 3 packages to your python install and start a setup that creates the settings-file required by argus_cli.

The packages installed are:

  • argus_api: Generates and provides functions for communicating with Argus API
  • argus_cli: Provides a standardized framework for writing commandline scripts that interact with Argus
  • argus_plugins: Default set of plugins loaded by argus_cli, and instructions on how to add your own

The setup script can be run at any time by running toolbelt-setup. This script should be in your PATH after installation.

Usage

After the script is installed it can be run as argus-cli anywhere on the system. The syntax for running a command is argus-cli <plugin> <command> [arguments]

If you for example want to check statistics for all cases, you can write: argus-cli cases statistics, but for a full list of commands, try argus-cli --help

Development

To get started developing with argus-toolbelt simply install with pip install -e . or pipenv install --dev!

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

argus_toolbelt-2.0.1-py3-none-any.whl (76.4 kB view details)

Uploaded Python 3

File details

Details for the file argus_toolbelt-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: argus_toolbelt-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 76.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.2 CPython/3.6.8 Linux/3.10.0-1062.9.1.el7.x86_64

File hashes

Hashes for argus_toolbelt-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3210cbf7c61faaa05d203537d480ffed72be3eeb1128464e36e5986e24b84901
MD5 f53b75f53469f452df8487962b3e403e
BLAKE2b-256 55a32a2a0a9e5e5477849d022ccee42118016e26c9ae7ea11f4475e9fc7cd2e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page