This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

APImetrics-Python-Client

Command line-callable Python library that makes it easier to call APImetrics’ APIs.

For use with your APImetrics monitoring service. Please sign up at http://client.apimetrics.io and create an API key at https://client.apimetrics.io/settings/api-key

Installation

Create a settings file at /etc/APImetrics or ~/.APImetrics or locally (specify it with the -cfg flag)

Use command apimetrics -a YOUR_API_KEY to save the key.

Command-line usage:

usage: apimetrics [-h] [--apimetrics APIMETRICS] [--config CONFIG]
                  [--simulate]
                  {auth,call,deployment,report,token,workflow,alert,notification}
                  ...

positional arguments:
  {auth,call,deployment,report,token,workflow,alert,notification}
                        sub-command help
    auth                auth help
    call                call help
    deployment          deployment help
    report              report help
    token               token help
    workflow            workflow help
    alert               alert help
    notification        notification help

optional arguments:
  -h, --help            show this help message and exit

apimetrics:
  APImetrics settings

  --apimetrics APIMETRICS, -a APIMETRICS
                        Set the APImetrics key to use
  --config CONFIG, -cfg CONFIG
                        Set the config file to use
  --simulate, -s        Simulate - don't call the APImetrics API

APImetrics module

You may also write your own scripts - look in the apimetrics/scripts folder for example code.

The example may also be called from the command line, e.g.:
python -m apimetrics.scripts.delete_deployments --name "^z "

This version tested with Python 2.7.6 and 3.5.2

Release History

Release History

0.2.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
APImetrics-0.2.2.tar.gz (9.1 kB) Copy SHA256 Checksum SHA256 Source May 17, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting