cloudmesh-bar


Namecloudmesh-bar JSON
Version 5.0.20 PyPI version JSON
download
home_page
SummaryAn example cloudmesh command
upload_time2023-12-23 05:34:31
maintainer
docs_urlNone
author
requires_python>=3.8
licenseApache License Version 2.0, January 2004 http://www.apache.org/licenses/ Copyright 2017 Gregor von Laszewski, Indiana University Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
keywords helper library cloudmesh
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Cloudmesh Command bar

[![GitHub Repo](https://img.shields.io/badge/github-repo-green.svg)](https://github.com/cloudmesh/cloudmesh-bar)
[![image](https://img.shields.io/pypi/pyversions/cloudmesh-bar.svg)](https://pypi.org/project/cloudmesh-bar)
[![image](https://img.shields.io/pypi/v/cloudmesh-bar.svg)](https://pypi.org/project/cloudmesh-bar/)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

[![General badge](https://img.shields.io/badge/Status-Production-<COLOR>.svg)](https://shields.io/)
[![GitHub issues](https://img.shields.io/github/issues/cloudmesh/cloudmesh-bar.svg)](https://github.com/cloudmesh/cloudmesh-bar/issues)
[![Contributors](https://img.shields.io/github/contributors/cloudmesh/cloudmesh-bar.svg)](https://github.com/cloudmesh/cloudmesh-bar/graphs/contributors)
[![General badge](https://img.shields.io/badge/Other-repos-<COLOR>.svg)](https://github.com/cloudmesh/cloudmesh)


[![Linux](https://img.shields.io/badge/OS-Linux-orange.svg)](https://www.linux.org/)
[![macOS](https://img.shields.io/badge/OS-macOS-lightgrey.svg)](https://www.apple.com/macos)
[![Windows](https://img.shields.io/badge/OS-Windows-blue.svg)](https://www.microsoft.com/windows)


* https://github.com/cloudmesh/cloudmesh.cmd5

The cloudmesh command bar is a sample command so you can see how easy it is to generate a command. You can clone is and replace the "bar" with the command name you like.

However there is an easier way, with 

    pip install cloudmesh-sys

Now you need to clone the cloudmesh-common repo

    git clone ...

Next you can generate comands in directories with 

    cms sys generate xyz

which will create a directory cloudmesh-xyz, where the new command xyz is defined.
You can cd into that command and install it with 

    make local


::

  Usage:
        bar --file=FILE
        bar list
        bar [--parameter=PARAMETER] [--experiment=EXPERIMENT] [COMMAND...]

  This command does some useful things.

  Arguments:
      FILE   a file name
      PARAMETER  a parameterized parameter of the form "a[0-3],a5"

  Options:
      -f      specify the file

  Description:

    > cms bar --parameter="a[1-2,5],a10"
    >    example on how to use Parameter.expand. See source code at
    >      https://github.com/cloudmesh/cloudmesh-bar/blob/main/cloudmesh/bar/command/bar.py
    >    prints the expanded parameter as a list
    >    ['a1', 'a2', 'a3', 'a4', 'a5', 'a10']

    > bar exp --experiment=a=b,c=d
    > example on how to use Parameter.arguments_to_dict. See source code at
    >      https://github.com/cloudmesh/cloudmesh-bar/blob/main/cloudmesh/bar/command/bar.py
    > prints the parameter as dict
    >   {'a': 'b', 'c': 'd'}


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "cloudmesh-bar",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Gregor von Laszewski <laszewski@gmail.com>",
    "keywords": "helper library,cloudmesh",
    "author": "",
    "author_email": "Gregor von Laszewski <laszewski@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/4b/99/f2b8d8e7e1811809f1039024ddc8c28429ef0e46744bf7270c664d04e62a/cloudmesh-bar-5.0.20.tar.gz",
    "platform": null,
    "description": "# Cloudmesh Command bar\n\n[![GitHub Repo](https://img.shields.io/badge/github-repo-green.svg)](https://github.com/cloudmesh/cloudmesh-bar)\n[![image](https://img.shields.io/pypi/pyversions/cloudmesh-bar.svg)](https://pypi.org/project/cloudmesh-bar)\n[![image](https://img.shields.io/pypi/v/cloudmesh-bar.svg)](https://pypi.org/project/cloudmesh-bar/)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n[![General badge](https://img.shields.io/badge/Status-Production-<COLOR>.svg)](https://shields.io/)\n[![GitHub issues](https://img.shields.io/github/issues/cloudmesh/cloudmesh-bar.svg)](https://github.com/cloudmesh/cloudmesh-bar/issues)\n[![Contributors](https://img.shields.io/github/contributors/cloudmesh/cloudmesh-bar.svg)](https://github.com/cloudmesh/cloudmesh-bar/graphs/contributors)\n[![General badge](https://img.shields.io/badge/Other-repos-<COLOR>.svg)](https://github.com/cloudmesh/cloudmesh)\n\n\n[![Linux](https://img.shields.io/badge/OS-Linux-orange.svg)](https://www.linux.org/)\n[![macOS](https://img.shields.io/badge/OS-macOS-lightgrey.svg)](https://www.apple.com/macos)\n[![Windows](https://img.shields.io/badge/OS-Windows-blue.svg)](https://www.microsoft.com/windows)\n\n\n* https://github.com/cloudmesh/cloudmesh.cmd5\n\nThe cloudmesh command bar is a sample command so you can see how easy it is to generate a command. You can clone is and replace the \"bar\" with the command name you like.\n\nHowever there is an easier way, with \n\n    pip install cloudmesh-sys\n\nNow you need to clone the cloudmesh-common repo\n\n    git clone ...\n\nNext you can generate comands in directories with \n\n    cms sys generate xyz\n\nwhich will create a directory cloudmesh-xyz, where the new command xyz is defined.\nYou can cd into that command and install it with \n\n    make local\n\n\n::\n\n  Usage:\n        bar --file=FILE\n        bar list\n        bar [--parameter=PARAMETER] [--experiment=EXPERIMENT] [COMMAND...]\n\n  This command does some useful things.\n\n  Arguments:\n      FILE   a file name\n      PARAMETER  a parameterized parameter of the form \"a[0-3],a5\"\n\n  Options:\n      -f      specify the file\n\n  Description:\n\n    > cms bar --parameter=\"a[1-2,5],a10\"\n    >    example on how to use Parameter.expand. See source code at\n    >      https://github.com/cloudmesh/cloudmesh-bar/blob/main/cloudmesh/bar/command/bar.py\n    >    prints the expanded parameter as a list\n    >    ['a1', 'a2', 'a3', 'a4', 'a5', 'a10']\n\n    > bar exp --experiment=a=b,c=d\n    > example on how to use Parameter.arguments_to_dict. See source code at\n    >      https://github.com/cloudmesh/cloudmesh-bar/blob/main/cloudmesh/bar/command/bar.py\n    > prints the parameter as dict\n    >   {'a': 'b', 'c': 'd'}\n\n",
    "bugtrack_url": null,
    "license": "Apache License Version 2.0, January 2004 http://www.apache.org/licenses/  Copyright 2017 Gregor von Laszewski, Indiana University  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ",
    "summary": "An example cloudmesh command",
    "version": "5.0.20",
    "project_urls": {
        "Changelog": "https://github.com/cloudmesh/cloudmesh-bar/blob/main/CHANGELOG.md",
        "Documentation": "https://github.com/cloudmesh/cloudmesh-bar/blob/main/README.md",
        "Homepage": "https://github.com/cloudmesh/cloudmesh-bar",
        "Issues": "https://github.com/cloudmesh/cloudmesh-bar/issues",
        "Repository": "https://github.com/cloudmesh/cloudmesh-bar.git"
    },
    "split_keywords": [
        "helper library",
        "cloudmesh"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "69bccebb45150f367d98f54c547960a81fddb39efeb0f33ca185716f4df650c4",
                "md5": "7dccbf5072d03c033760f88b95c8469a",
                "sha256": "a432d8f75f3e2d7ef395811d19088b8b0cd95c88fedfa37fece485f677e10871"
            },
            "downloads": -1,
            "filename": "cloudmesh_bar-5.0.20-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7dccbf5072d03c033760f88b95c8469a",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.8",
            "size": 5809,
            "upload_time": "2023-12-23T05:34:29",
            "upload_time_iso_8601": "2023-12-23T05:34:29.755606Z",
            "url": "https://files.pythonhosted.org/packages/69/bc/cebb45150f367d98f54c547960a81fddb39efeb0f33ca185716f4df650c4/cloudmesh_bar-5.0.20-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4b99f2b8d8e7e1811809f1039024ddc8c28429ef0e46744bf7270c664d04e62a",
                "md5": "d776e435cac394aa33b81ea777a78d8d",
                "sha256": "204f4f1103bb80dd94aedc18bf0a0ee2cfc0efdba38cac9ac35b0d0ddaa9c016"
            },
            "downloads": -1,
            "filename": "cloudmesh-bar-5.0.20.tar.gz",
            "has_sig": false,
            "md5_digest": "d776e435cac394aa33b81ea777a78d8d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6452,
            "upload_time": "2023-12-23T05:34:31",
            "upload_time_iso_8601": "2023-12-23T05:34:31.790011Z",
            "url": "https://files.pythonhosted.org/packages/4b/99/f2b8d8e7e1811809f1039024ddc8c28429ef0e46744bf7270c664d04e62a/cloudmesh-bar-5.0.20.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-23 05:34:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cloudmesh",
    "github_project": "cloudmesh-bar",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "cloudmesh-bar"
}
        
Elapsed time: 0.16008s