compipe


Namecompipe JSON
Version 0.2.9 PyPI version JSON
download
home_pagehttps://github.com/ImagineersHub/compipe
Summarya lite version of the command wrapper for python
upload_time2024-01-12 04:00:34
maintainer
docs_urlNone
authoresunvoteb
requires_python
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": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,command,commandlet,cmd,cmdlet",
    "author": "esunvoteb",
    "author_email": "esun@voteb.com",
    "download_url": "https://files.pythonhosted.org/packages/0b/45/bd2a6560290c6d585d06da953660ad6663163073c66c691ed2f7c7d73b54/compipe-0.2.9.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.9",
    "project_urls": {
        "Homepage": "https://github.com/ImagineersHub/compipe"
    },
    "split_keywords": [
        "python",
        "command",
        "commandlet",
        "cmd",
        "cmdlet"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ed4373aa7801e39c8d1606fddd639d0538ad81279f48270d87c850f0447694bf",
                "md5": "35ea07266b5add6d506b98280e5adcb0",
                "sha256": "9019a69ed27f3f3cf4a14590b2e8271178ac6d45982b0e5a6528214be89fa642"
            },
            "downloads": -1,
            "filename": "compipe-0.2.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35ea07266b5add6d506b98280e5adcb0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 34511,
            "upload_time": "2024-01-12T04:00:32",
            "upload_time_iso_8601": "2024-01-12T04:00:32.558710Z",
            "url": "https://files.pythonhosted.org/packages/ed/43/73aa7801e39c8d1606fddd639d0538ad81279f48270d87c850f0447694bf/compipe-0.2.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0b45bd2a6560290c6d585d06da953660ad6663163073c66c691ed2f7c7d73b54",
                "md5": "394c0d18dabded4b716f7630f2648462",
                "sha256": "4ed58b27a6482006cf355fcc513edafaf4b10bf2c824ecff842b2b110852312e"
            },
            "downloads": -1,
            "filename": "compipe-0.2.9.tar.gz",
            "has_sig": false,
            "md5_digest": "394c0d18dabded4b716f7630f2648462",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 26844,
            "upload_time": "2024-01-12T04:00:34",
            "upload_time_iso_8601": "2024-01-12T04:00:34.578197Z",
            "url": "https://files.pythonhosted.org/packages/0b/45/bd2a6560290c6d585d06da953660ad6663163073c66c691ed2f7c7d73b54/compipe-0.2.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-12 04:00:34",
    "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.16066s