Metadata-Version: 1.1
Name: srvlookup
Version: 0.1.0
Summary: Service lookup using DNS SRV records
Home-page: http://github.com/AWeber/srvlookup
Author: Gavin M. Roy
Author-email: gavinr@aweber.com
License: License
-------
Copyright (c) 2014, AWeber Communications.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
  copyright notice, this list of conditions and the following
  disclaimer in the documentation and/or other materials provided
  with the distribution.
* Neither the name srvlookup nor the names of its contributors may
  be used to endorse or promote products derived from this software
  without specific prior written
  permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Description: srvlookup
        =========
        A small wrapper for dnspython to return SRV records for a given host, protocol,
        and domain name as a list of namedtuples.
        
        |PyPI version| |Build Status|
        
        Installation
        ------------
        srvlookup is available on the `Python Package Index <https://pypi.python.org/pypi/srvlookup>`_. Simply:
        
        .. code:: bash
        
            pip install srvlookup
        
        Example
        -------
        .. code:: python
        
            >>> import srvlookup
            >>> srvlookup.lookup('api', 'memcached')
            [SRV(host='192.169.1.100', port=11211, priority=1, weight=0),
             SRV(host='192.168.1.102', port=11211, priority=1, weight=0),
             SRV(host='192.168.1.120', port=11211, priority=1, weight=0),
             SRV(host='192.168.1.126', port=11211, priority=1, weight=0)]
            >>>
        
        Requirements
        ------------
        
        -  `dnspython <https://pypi.python.org/pypi/dnspython>`_
        
        .. |PyPI version| image:: https://badge.fury.io/py/srvlookup.png
           :target: http://badge.fury.io/py/srvlookup
        .. |Build Status| image:: https://travis-ci.org/aweber/srvlookup.png?branch=master
           :target: https://travis-ci.org/aweber/srvlookup
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Communications
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
