compipe


Namecompipe JSON
Version 0.2.19 PyPI version JSON
download
home_pagehttps://github.com/ImagineersHub/compipe
Summarya lite version of the command wrapper for python
upload_time2024-11-16 14:20:54
maintainerNone
docs_urlNone
authoresunvoteb
requires_pythonNone
licenseMIT
keywords python command commandlet cmd cmdlet
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # COMPIPE  (WIP)

Compipe is a lightweight command manager specifically designed to automate tasks.


### Example of initializing runtime environment and credential keys

```python

credentials_cfg_path = os.path.join(os.path.dirname(__file__), 'credential/keys.json')

runtime_cfg_path = os.path.join(os.path.dirname(__file__), 'tars_server_runtime_env.json')

# config DEBUG environment
initialize_runtime_environment(params={ARG_DEBUG: False},
                               runtime_cfg_path=runtime_cfg_path,
                               credential_cfg_path=credentials_cfg_path)


```

### How to run unittest

- Add "entry_points" to setup.py
  ```text
    setup(
        # ... other setup parameters ...
        entry_points={
            'console_scripts': [
                'unittest = compipe.unittest.cmd_test:main',
            ],
        }
    )

  ```
- Install Your Package in Editable Mode:
  ```text
  pip install -e .
  ```

- Add PYPI API token to system environment
  ```text
  set PYPI_API_TOKEN=<Your-API-Token>
  ```
- Run `upload.bat` to upload package wheel

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ImagineersHub/compipe",
    "name": "compipe",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, command, commandlet, cmd, cmdlet",
    "author": "esunvoteb",
    "author_email": "esun@voteb.com",
    "download_url": "https://files.pythonhosted.org/packages/0f/2f/2b63928a5fca6e7c6c37439567be3219ed0db1b96eab2ff2cc17e488a378/compipe-0.2.19.tar.gz",
    "platform": null,
    "description": "# COMPIPE  (WIP)\n\nCompipe is a lightweight command manager specifically designed to automate tasks.\n\n\n### Example of initializing runtime environment and credential keys\n\n```python\n\ncredentials_cfg_path = os.path.join(os.path.dirname(__file__), 'credential/keys.json')\n\nruntime_cfg_path = os.path.join(os.path.dirname(__file__), 'tars_server_runtime_env.json')\n\n# config DEBUG environment\ninitialize_runtime_environment(params={ARG_DEBUG: False},\n                               runtime_cfg_path=runtime_cfg_path,\n                               credential_cfg_path=credentials_cfg_path)\n\n\n```\n\n### How to run unittest\n\n- Add \"entry_points\" to setup.py\n  ```text\n    setup(\n        # ... other setup parameters ...\n        entry_points={\n            'console_scripts': [\n                'unittest = compipe.unittest.cmd_test:main',\n            ],\n        }\n    )\n\n  ```\n- Install Your Package in Editable Mode:\n  ```text\n  pip install -e .\n  ```\n\n- Add PYPI API token to system environment\n  ```text\n  set PYPI_API_TOKEN=<Your-API-Token>\n  ```\n- Run `upload.bat` to upload package wheel\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "a lite version of the command wrapper for python",
    "version": "0.2.19",
    "project_urls": {
        "Homepage": "https://github.com/ImagineersHub/compipe"
    },
    "split_keywords": [
        "python",
        " command",
        " commandlet",
        " cmd",
        " cmdlet"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "68477e8c260e3ea959b29f396710999506e6002ee35ec09e3ac6cc5c5ebbb2fd",
                "md5": "a2e091d691eea800863f265dada8a070",
                "sha256": "eed90c9b848344067d9901f66050f47184d4de72e57c178dab2d10cd451e158b"
            },
            "downloads": -1,
            "filename": "compipe-0.2.19-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a2e091d691eea800863f265dada8a070",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 34558,
            "upload_time": "2024-11-16T14:20:53",
            "upload_time_iso_8601": "2024-11-16T14:20:53.132760Z",
            "url": "https://files.pythonhosted.org/packages/68/47/7e8c260e3ea959b29f396710999506e6002ee35ec09e3ac6cc5c5ebbb2fd/compipe-0.2.19-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0f2f2b63928a5fca6e7c6c37439567be3219ed0db1b96eab2ff2cc17e488a378",
                "md5": "4b5f2a3fc08b6e4efa287efa7fecef66",
                "sha256": "8959e809a586177e9ea8ab7720ddc480eb73c91c75ca4295ae083bff3c080407"
            },
            "downloads": -1,
            "filename": "compipe-0.2.19.tar.gz",
            "has_sig": false,
            "md5_digest": "4b5f2a3fc08b6e4efa287efa7fecef66",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 26914,
            "upload_time": "2024-11-16T14:20:54",
            "upload_time_iso_8601": "2024-11-16T14:20:54.290925Z",
            "url": "https://files.pythonhosted.org/packages/0f/2f/2b63928a5fca6e7c6c37439567be3219ed0db1b96eab2ff2cc17e488a378/compipe-0.2.19.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-16 14:20:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ImagineersHub",
    "github_project": "compipe",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "compipe"
}
        
Elapsed time: 0.43329s