balast 0.2.0
pip install balast
Latest version
Released:
Balast client-side load-balancing framework
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Justin Smith
- Tags alpha, development, load-balancing
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Project description
Framework for client-side load-balancing for inter-process communication between cloud services.
It is inspired in large part by Netflix’s Ribbon for java.
How to Use
In its most basic form, you can create a balast.Service with a static list of servers:
>>> import balast
>>> my_service = balast.Service(['127.0.0.1', '127.0.0.2'])
Now, just use it as you would use the requests package:
>>> response = my_service.get('/v1/path/to/resource')
<Response[200]>
NOTE: at this point in time, only the basic api features from the requests package are supported.
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Justin Smith
- Tags alpha, development, load-balancing
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file balast-0.2.0.tar.gz
.
File metadata
- Download URL: balast-0.2.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab8b784abbc01baf2a35d4e43a058eae6d0785c698f36f7dabdc68f24988436a |
|
MD5 | b013c705e4e622573cfb7aa3c0cddc42 |
|
BLAKE2b-256 | 185f3663ae0639f86e880cdd00e9ef6e5ee0f252927817e669f36e0e734a299b |
File details
Details for the file balast-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: balast-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46826892ecb90e890565db5e582844feeeb7ffad56f9fb706c92b66f36404d5a |
|
MD5 | 6a9e4ec527c2819f2d80cace7c428a3a |
|
BLAKE2b-256 | f2e2cef008bf9e9f899d9e48710bb537c33a53c5d7c586a3be78edef2a2de3cf |