Ballast client-side load-balancing
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 ballast.Service with a static list of servers:
>>> import ballast
>>> my_service = ballast.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.
For advanced usage, checkout the docs
Metadata
Release files for ballast 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ballast-0.4.0.tar.gz | 18.6 kB | Without provenance | Details for ballast-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ballast-0.4.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for ballast-0.4.0-py2.py3-none-any.whl |
Total release size: 37.6 kB
Release files / ballast-0.4.0.tar.gz
| Download URL | ballast-0.4.0.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c72569306b3ec8198d8de49a21ecc63f02f97081f3dc4191147e24367d017a4d
|
|
BLAKE2b-256 checksum How to use checksums |
ed4b3f08620341f1f2a802634b3a663d8dd66d85ba9aaf09e8f4beb80ec60ed6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ballast-0.4.0-py2.py3-none-any.whl
| Download URL | ballast-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 19.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
20c4d8a7831dffa8a6f7e924dc7132660df46ac80fd1de26f5ff597d2aa4ee6d
|
|
BLAKE2b-256 checksum How to use checksums |
2b463f7ce2584a8a76205925c22c382a733096af89ee1773bffab0eb00db11d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ballast 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.