Skip to main content

Tools for using compute.rhg.com and compute.impactlab.org

Project description

=================
RHG Compute Tools
=================


.. image:: https://img.shields.io/pypi/v/rhg_compute_tools.svg
:target: https://pypi.python.org/pypi/rhg_compute_tools
:alt: PyPi package version

.. image:: https://github.com/RhodiumGroup/rhg_compute_tools/workflows/Python%20package/badge.svg
:target: https://github.com/RhodiumGroup/rhg_compute_tools/actions
:alt: Build status

.. image:: https://readthedocs.org/projects/rhg-compute-tools/badge/?version=latest
:target: https://rhg-compute-tools.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

Tools for using compute.rhg.com and compute.impactlab.org


* Free software: MIT license
* Documentation: https://rhg-compute-tools.readthedocs.io.

Installation
------------

pip:

.. code-block:: bash

pip install rhg_compute_tools



Features
--------

Kubernetes tools
~~~~~~~~~~~~~~~~

* easily spin up a preconfigured cluster with ``get_cluster()``, or flavors with ``get_micro_cluster()``, ``get_standard_cluster()``, ``get_big_cluster()``, or ``get_giant_cluster()``.

.. code-block:: python

>>> import rhg_compute_tools.kubernetes as rhgk
>>> cluster, client = rhgk.get_cluster()

Google cloud storage utilities
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Utilities for managing google cloud storage directories in parallel from the command line or via a python API

.. code-block:: python

>>> import rhg_compute_tools.gcs as gcs
>>> gcs.sync_gcs('my_data_dir', 'gs://my-bucket/my_data_dir')


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rhg_compute_tools-1.3.3.tar.gz (46.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rhg_compute_tools-1.3.3-py2.py3-none-any.whl (32.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file rhg_compute_tools-1.3.3.tar.gz.

File metadata

  • Download URL: rhg_compute_tools-1.3.3.tar.gz
  • Upload date:
  • Size: 46.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for rhg_compute_tools-1.3.3.tar.gz
Algorithm Hash digest
SHA256 92d96a859bd567a46af0885f2ba442b49c703e3793781f2ea76409057afdd180
MD5 4ac0910901be3d8714be47807df8b2c3
BLAKE2b-256 f064c4635fc8a828f8b58a852b4b4f7e3f523c907573f4cda4ef9a8d9f91a5cb

See more details on using hashes here.

File details

Details for the file rhg_compute_tools-1.3.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rhg_compute_tools-1.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c8b95142661d380d6258ad0a6238b335118f334cff4f44c1b7fd7e3cbe2ad1ee
MD5 50902869096921365e6c78fbcb6b87d9
BLAKE2b-256 a3345e04e51bd67d8bdca618f9272d09ac9f8646e950cf086c4098c23ca5cfbb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page