srvlookup-3.0.0


توضیحات

Service lookup using DNS SRV records
ویژگی مقدار
سیستم عامل OS Independent
نام فایل srvlookup-3.0.0
نام srvlookup
نسخه کتابخانه 3.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Gavin M. Roy
ایمیل نویسنده gavinr@aweber.com
آدرس صفحه اصلی https://github.com/gmr/srvlookup
آدرس اینترنتی https://pypi.org/project/srvlookup/
مجوز BSD
srvlookup ========= A small wrapper for dnspython to return SRV records for a given host, protocol, and domain name as a list of namedtuples. |Version| |Status| |Coverage| |License| 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, host='memcache1.local'), SRV(host='192.168.1.102', port=11211, priority=1, weight=0, host='memcache2.local'), SRV(host='192.168.1.120', port=11211, priority=1, weight=0, host='memcache3.local'), SRV(host='192.168.1.126', port=11211, priority=1, weight=0, host='memcache4.local')] >>> Testing ------- .. code:: bash python setup.py nosetests Requirements ------------ - `dnspython <https://pypi.python.org/pypi/dnspython>`_ .. |Version| image:: https://img.shields.io/pypi/v/srvlookup.svg? :target: https://pypi.python.org/pypi/srvlookup .. |Status| image:: https://img.shields.io/travis/gmr/srvlookup.svg? :target: https://travis-ci.org/gmr/srvlookup .. |Coverage| image:: https://img.shields.io/codecov/c/github/gmr/srvlookup.svg? :target: https://codecov.io/github/gmr/srvlookup?branch=master .. |License| image:: https://img.shields.io/pypi/l/pika.svg? :target: https://pika.readthedocs.io


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl srvlookup-3.0.0:

    pip install srvlookup-3.0.0.whl


نصب پکیج tar.gz srvlookup-3.0.0:

    pip install srvlookup-3.0.0.tar.gz