Skip to main content

A set of simple base functions and classes useful for cloudmesh and other programs

Project description

A set of helper functions that are used in cloudmesh but are also useful for other projects.

You can install it in one of two ways.

Instalation from pip

pip install cloudmesh_base

Installation from Source

mkdir -p github/cloudmesh
cd github/cloudmesh
git clone https://github.com/cloudmesh/base.git
cd base
pip install -r requirements.txt
python setup.py install

Provided Functionality

  • ConfigDict – an ordered dictionary to read configurations from YAML files

  • Shell – a convenient wrapper to python sh so that pylint does not complain all the time when importing commands from sh

  • dotdict – a simple dict with dot notation

  • gitinfo – get some information about authors and their statistics for a git repository

  • menu – a simple ascii menu so we can chose easily from options

  • ping – a simple ping (see also Shell)

  • ssh_config – a simple tool to read ./ssh/config into a dict

  • stopwatch – a simple stopwatch to measure times

  • tables – a simple table printer that prins dicts in a uniform table

  • util – a number of useful functions including yn_choice, banner, path_expand, introspecting and printing the method name at runtime, copy files, replace dict values in a string similar but less complicated to .format, read a file to a string, write a string to a file

  • hostlist – a repackaged version of hostlist to accociate it with Parameter parsing

Source Code

Project details


Download files

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

Source Distributions

cloudmesh_base-3.3.8.zip (39.3 kB view details)

Uploaded Source

cloudmesh_base-3.3.8.tar.bz2 (26.2 kB view details)

Uploaded Source

Built Distribution

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

cloudmesh_base-3.3.8-py2.py3-none-any.whl (35.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file cloudmesh_base-3.3.8.zip.

File metadata

  • Download URL: cloudmesh_base-3.3.8.zip
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cloudmesh_base-3.3.8.zip
Algorithm Hash digest
SHA256 5fa5027199b5ea8e11c06dbac5a3ecc77bf2604a9817bc20f681269fbb59a115
MD5 96df51d750cb7ac46ac7880bdafa3d42
BLAKE2b-256 2c783f40fa389d0cbb64754885cd7cce99dc8388326c6e1b74275f98ef887f4d

See more details on using hashes here.

File details

Details for the file cloudmesh_base-3.3.8.tar.bz2.

File metadata

File hashes

Hashes for cloudmesh_base-3.3.8.tar.bz2
Algorithm Hash digest
SHA256 cd9f67ca6f6655972e47ca36ec767ec14c7b60b37c2766be5fb29670abd3500c
MD5 94368512241cbc7087fc1fb944800e4c
BLAKE2b-256 7f5172176555beac1bb6899c1298d013d13a6868fa11639b7c7fda4c4341132b

See more details on using hashes here.

File details

Details for the file cloudmesh_base-3.3.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cloudmesh_base-3.3.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1c66483e5985e05302edfb0dbb607845a1364bb32c30f75973ebbd6c690fc8a6
MD5 be96b3871750ad094b2a00ea1576043f
BLAKE2b-256 65786673756cc60e9cacc7c27760a9e78db85f42aa8aa68cef7d17f25692c51d

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