معرفی شرکت ها


ballast-0.4.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Ballast client-side load-balancing framework
ویژگی مقدار
سیستم عامل -
نام فایل ballast-0.4.0
نام ballast
نسخه کتابخانه 0.4.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Justin Smith
ایمیل نویسنده smith.justin.c@gmail.com
آدرس صفحه اصلی https://github.com/thomasstreet/ballast
آدرس اینترنتی https://pypi.org/project/ballast/
مجوز Apache License 2.0
Ballast client-side load-balancing ================================== .. image:: https://img.shields.io/pypi/v/ballast.svg :target: https://pypi.python.org/pypi/ballast .. image:: https://img.shields.io/pypi/status/ballast.svg :target: https://pypi.python.org/pypi/ballast .. image:: https://travis-ci.org/thomasstreet/ballast.svg?branch=master :target: https://travis-ci.org/thomasstreet/ballast .. image:: https://coveralls.io/repos/github/thomasstreet/ballast/badge.svg?branch=master :target: https://coveralls.io/github/thomasstreet/ballast?branch=master .. image:: https://readthedocs.org/projects/ballast/badge/?version=latest :target: http://ballast.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status Framework for client-side load-balancing for inter-process communication between cloud services. It is inspired in large part by Netflix's `Ribbon <https://github.com/Netflix/ribbon>`_ for java. How to Use --------------- In its most basic form, you can create a `ballast.Service` with a static list of servers: .. code-block:: python >>> import ballast >>> my_service = ballast.Service(['127.0.0.1', '127.0.0.2']) Now, just use it as you would use the `requests <http://docs.python-requests.org/en/master/user/quickstart/#make-a-request>`_ package: .. code-block:: python >>> response = my_service.get('/v1/path/to/resource') <Response[200]> **NOTE:** at this point in time, only the basic api features from the `requests <http://docs.python-requests.org/en/master/user/quickstart/#make-a-request>`_ package are supported. For advanced usage, checkout the `docs <http://ballast.readthedocs.io>`_


نیازمندی

مقدار نام
- requests
- future
xtr dnspython;
xtr gevent;
xtr dnspython;
xtr gevent;


نحوه نصب


نصب پکیج whl ballast-0.4.0:

    pip install ballast-0.4.0.whl


نصب پکیج tar.gz ballast-0.4.0:

    pip install ballast-0.4.0.tar.gz