semvec/pypi-packages huggingface dataset:
swaggertools 0.0.4
Merge many files swagger specification into one file.
License: MIT
Keywords: api,json,yaml,utilitaries,validation,swagger

Swagger tools
=============


This library allows you to merge a many file swagger specification into a
single one.


Quick start
-----------

For example, these two files::

    # swagger.yml
    /paths:
      /users: {$ref: grafts/users.yml#/resources/collection}

    # grafts/users.yml
    /resources:
      collection:
        get:
          200:
        post:
          201:


Will be merged as::

    # swagger.yml
    /paths:
      /users:
        get:
          200:
        post:
          201:

Wich can be used to validate your API against `editor.swagger.io <http://editor.swagger.io>`_.


Installation
------------

::

    pip install swaggertools


Usage
-----

As a command line::

    swagger-tools /path/to/swagger.yml


Into python script::

    from swaggertools import resolve

    with open('/path/to/swagger.yml') as filehandler:
        app = resolve(filehandler)
    print(app.to_yaml())
aquifer 1.1.0
Metrics send/query abstraction layer with URI-based backend configuration
License: MIT

aquifer
=======

Metrics send and query abstraction layer with URI-based backend
configuration, in Python Includes backend support for Datadog

Configuration
=============

This package uses an URI-style configuration for providing credentials
and options. The schema looks like:

::

    `metrics://<backend_api_key>@<backend_name>?<option1>=xxx&<option2>=xxx`

e.g. for datadog:
``metrics_uri = 'metrics://xxxx@datadog?app_key=xxxx&debug=true'``

Development
===========

The development system is built by ``Rake``.

To install the dependencies, run:

::

    $ rake install

To run test, run:

::

    $ rake lint && rake test