Skip to main content

A command-line interface to the Dexter API

Project description

dexter command-line interface

Installation

pip install dexterCLI

Configuration

You can store settings in an INI-style configuration file, which by default will be looked for in ~/.dexter.conf. It can contained named sections, each of which is a different configuration profile. The default profile is called default. The two main keys needed are root and api-key which respectively specify the root URL of the API interface, and the API key to use.

Example:

[default]
root = https://api.dexter.express/
api-key = 1234567812345678

Usage

usage: dexter [-h] [--api-key API_KEY] [--debug] [--output FILENAME]
              [--profile PROFILE] [--quiet] [--rcfile RCFILE] [--root ROOT]
              [--version]
              {delete,cancel,fetch,list,queue,status,info,update} ...

Dexter API command-line interface

positional arguments:
  {delete,cancel,fetch,list,queue,status,info,update}

optional arguments:
  -h, --help            show this help message and exit
  --api-key API_KEY     The API key to use
  --debug, -d           Display debug output
  --output FILENAME, -o FILENAME
                        The file to write the output to
  --profile PROFILE, -p PROFILE
                        The configuration profile to use (default: default)
  --quiet, -q           No output
  --rcfile RCFILE       The configuration file to load (default:
                        ~/.dexter.conf)
  --root ROOT           The root URL of the API interface
  --version, -V         Display the version number and exit

Project details


Download files

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

Source Distribution

dexterCLI-0.0.3.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

dexterCLI-0.0.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file dexterCLI-0.0.3.tar.gz.

File metadata

  • Download URL: dexterCLI-0.0.3.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for dexterCLI-0.0.3.tar.gz
Algorithm Hash digest
SHA256 64916639109d7654ab013ac7499856d59c2b77c05985b9548d9a1a9e932f9364
MD5 2c867b0cd4f1c3dda3e32523abb6c6a4
BLAKE2b-256 066a5bc6f7381fbc419f8ebc5a46369e5d2f9a2ffa2fd534f05d96116365324a

See more details on using hashes here.

File details

Details for the file dexterCLI-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: dexterCLI-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for dexterCLI-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ccbeb5055577a9aeb09ac15d5030437fe3aca862b528b01195e4cc598aa01bbf
MD5 1e9b7d7d6fc72bcb5596229bb07df6c0
BLAKE2b-256 ce1c0bec97e114e6c202a676f47b7b812e5f9a7db459944525f499974aa9aed5

See more details on using hashes here.

Supported by

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