semvec/pypi-packages huggingface dataset:
pagerduty-api 0.3
pagerduty-api is a package for easily interacting with PagerDuty's API.
License: MIT
Keywords: pagerduty,api,requests

.. image:: https://travis-ci.org/ambitioninc/pagerduty-api.png
   :target: https://travis-ci.org/ambitioninc/pagerduty-api

.. image:: https://coveralls.io/repos/ambitioninc/pagerduty-api/badge.png
    :target: https://coveralls.io/r/ambitioninc/pagerduty-api

.. image:: https://pypip.in/v/pagerduty-api/badge.png
    :target: https://crate.io/packages/pagerduty-api/
    :alt: Latest PyPI version

.. image:: https://pypip.in/d/pagerduty-api/badge.png
    :target: https://crate.io/packages/pagerduty-api/
    :alt: Number of PyPI downloads


pagerduty-api
=============
pagerduty-api is a package for easily interacting with PagerDuty's API.

Why?
----
There are several other libraries interacting with the PagerDuty API, however none of them include
tests and documentation.

Installation
------------
To install the latest release, type::

    pip install pagerduty-api

To install the latest code directly from source, type::

    pip install git+git://github.com/ambitioninc/pagerduty-api.git


Requirements
------------

* Python 2.7, 3.3, 3,4
* requests >= 2.0.0

Documentation
-------------
Full documentation is available at http://pagerduty-api.readthedocs.org

License
-------
MIT License (see LICENSE)
ImportConfig 0.0.4
JSON and YAML parsing with imports.
License: MIT

**Installation**::

    pip install importconfig

The special thing about ImportConfig is that it supports a notion
of "imports". You can import other json files in your json file
by specifying a "@file" value at any level in the config and it will
be expanded into that level.

A config file can be loaded lazily and the main config file will only be
loaded once it is called.

**Note:** keys/values defined in the top level document will take precedence
over those loaded in sub-documents.

**Example**::

    {
        "app_name": "foo",
        "logging": {
            "@file": "logging.json",
            "level": "debug"
        }
    }

**will translate into**::

    {
        "app_name": "foo",
        "logging": {
            "log_file": "/var/log/foo.log",
            "level": "debug"
        }
    }

**Contents of "logging.json"**::

    {
        "log_file": "/var/log/foo.log",
        "level": "info"
    }

.. todo::

    ✓ Support relative paths for ``@file's`` value
    ✓ Root document take precedence if the same key exists in the imported file
openexchangerates 0.1.1
openexchangerates.org python API client
License: MIT

=================
openexchangerates
=================

This is a simple python client implementation of https://openexchangerates.org
web services.

Install
-------

openexchangerates is avaiable on pypi repositories. Just simply install
by using ``easy_install`` or ``pip``::

    $ pip install openexchangerates

Usage
-----

First of all, you have to sign up the service for an API key by visiting
https://openexchangerates.org

Then it is a matter of cake to start using the service::

    >>> from openexchangerates import OpenExchangeRatesClient
    >>> client = OpenExchangeRatesClient('<YOUR_API_KEY>')
    >>> client.currencies()
    {'AED': 'United Arab Emirates Dirham',
    'AFN': 'Afghan Afghani',
    'ALL': 'Albanian Lek',
    'AMD': 'Armenian Dram',
    'ANG': 'Netherlands Antillean Guilder',
    'AOA': 'Angolan Kwanza',
    'ARS': 'Argentine Peso',
    'AUD': 'Australian Dollar',
    ...

    >>> client.latest()
    {'base': 'USD',
    'disclaimer': '<disclaimer>',
    'license': '<license>',
    'rates': {'AED': 3.672701,
        'AFN': 51.621833,
        'ALL': 104.032,
        'AMD': 406.489997,
        'ANG': 1.7888,
        'AOA': 95.936967,
        'ARS': 4.995484,
        'AUD': 0.966637,
        ...

You are also free to select base currency (Supported by non-free licenses)::

    >>> client.latest(base='GBP')
    {'base': 'GBP',
    'disclaimer': '<disclaimer>',
    'license': '<license>',
    'rates': {'AED': 3.672701,
        'AFN': 51.621833,
        'ALL': 104.032,
        'AMD': 406.489997,
        'ANG': 1.7888,
        'AOA': 95.936967,
        'ARS': 4.995484,
        'AUD': 0.966637,
        ...