General purpose Vitess helper library
Project description
# vitess-helpers This library is intended to be a general library to help manage the lifecycle of a Vitess cluster.
Visit https://vitess.io/ for more information on what Vitess is.
## shard range library Generate shard ranges using python. The library takes a single input shards and generates a list of shard range names.
See Vitess documentation for further information:
https://vitess.io/docs/reference/features/sharding/
Example usage: `python >>> from vitess_helpers import shard_ranges >>> shard_ranges(3) ['-55', '55-aa', 'aa-'] >>> `
## to install
pip install vitess-helpers
Project details
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
File details
Details for the file vitess-helpers-0.1.0.tar.gz.
File metadata
- Download URL: vitess-helpers-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fe688500f5aa5227806e061fe189bd21d17177611c4a3f0822febd5c08cf5e8
|
|
| MD5 |
f0fcfde2e89f98438487979e02f11f6b
|
|
| BLAKE2b-256 |
72855b8531d6fa171a3fce400461c7eda2708aa88d08c6649f7d406f82f14014
|