Tools for using compute.rhg.com and compute.impactlab.org
- Free software: MIT license
- Documentation: https://rhg-compute-tools.readthedocs.io.
pip:
pip install rhg_compute_tools- easily spin up a preconfigured cluster with
get_cluster(), or flavors withget_micro_cluster(),get_standard_cluster(),get_big_cluster(), orget_giant_cluster().
>>> import rhg_compute_tools.kubernetes as rhgk
>>> cluster, client = rhgk.get_cluster()- Utilities for managing google cloud storage directories in parallel from the command line or via a python API
>>> import rhg_compute_tools.gcs as gcs
>>> gcs.sync_gcs('my_data_dir', 'gs://my-bucket/my_data_dir')