Skip to main content

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

Release files for cloudmesh_base 3.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloudmesh_base 3.5.2
File Size Uploaded
cloudmesh_base-3.5.2.tar.gz 29.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloudmesh_base 3.5.2
File Interpreter ABI Platform
cloudmesh_base-3.5.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 65.4 kB

Release files / cloudmesh_base-3.5.2.tar.gz

Download URL cloudmesh_base-3.5.2.tar.gz
Size 29.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8022d8007e1b7a5bd134f83db532eb9971e608a7e210902fe7d5058c73607390
BLAKE2b-256 checksum
How to use checksums
d322d6e8e81c15b06113aea6e5a9ae79999de48a15f41a0b97a0a749c7dac312
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cloudmesh_base-3.5.2-py2.py3-none-any.whl

Download URL cloudmesh_base-3.5.2-py2.py3-none-any.whl
Size 35.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
27e1f10f26739628fdbe2b9cd6cf072bc97e444c4e11d326e383a059e6be09f8
BLAKE2b-256 checksum
How to use checksums
2e30d609ab92d5f82dae273ebc57aff2931ac5595a85c3bff988bfa5fd0b60f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

3.5.2 This release

2 release files

3.5.0

2 release files

3.4.5

2 release files

3.4.1

3 release files

3.4

3 release files

3.3.8

3 release files

3.3.7

3 release files

3.3.6

3 release files

3.3.5

2 release files

2.6.7

2 release files

2.6.5

2 release files

2.6.4

2 release files

2.6.3

2 release files

2.6.2

2 release files

2.6.1

2 release files

2.6.0

2 release files

2.5.19

2 release files

2.5.18

2 release files

2.5.17

2 release files

2.5.16

2 release files

2.5.9

2 release files

2.5.8

2 release files

2.5.7

2 release files

2.5.6

2 release files

2.5.5

2 release files

2.5.2

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.4.8

2 release files

2.4.7

2 release files

2.4.6

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.3

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.2

2 release files

2.2.0

2 release files

2.1.8

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page