# 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/37/67/3add2ccf8f1e3026e8e6b42aa996e83a864527367e23fee173a78b9f7d1b/compipe-0.2.21.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.21",
"project_urls": {
"Homepage": "https://github.com/ImagineersHub/compipe"
},
"split_keywords": [
"python",
" command",
" commandlet",
" cmd",
" cmdlet"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6c15dd0aedd2ab858582c795637006ffb6974e7d0c5667e32160c07ec555f4af",
"md5": "27f93b2be7e546143bf5d2cfbfb804d8",
"sha256": "9de2a35cc23a9a43cc3b9407f8c29ad1f3e1f19f65765cca2e4f39afc2ee2678"
},
"downloads": -1,
"filename": "compipe-0.2.21-py3-none-any.whl",
"has_sig": false,
"md5_digest": "27f93b2be7e546143bf5d2cfbfb804d8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 35512,
"upload_time": "2024-12-13T02:09:51",
"upload_time_iso_8601": "2024-12-13T02:09:51.631762Z",
"url": "https://files.pythonhosted.org/packages/6c/15/dd0aedd2ab858582c795637006ffb6974e7d0c5667e32160c07ec555f4af/compipe-0.2.21-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "37673add2ccf8f1e3026e8e6b42aa996e83a864527367e23fee173a78b9f7d1b",
"md5": "9d103154f907f58d56c56c29d5c0eaeb",
"sha256": "64792f651e5aa557c6aa1534d1375f0174569e957fcf484f000e1341e5193f5c"
},
"downloads": -1,
"filename": "compipe-0.2.21.tar.gz",
"has_sig": false,
"md5_digest": "9d103154f907f58d56c56c29d5c0eaeb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27917,
"upload_time": "2024-12-13T02:09:54",
"upload_time_iso_8601": "2024-12-13T02:09:54.002779Z",
"url": "https://files.pythonhosted.org/packages/37/67/3add2ccf8f1e3026e8e6b42aa996e83a864527367e23fee173a78b9f7d1b/compipe-0.2.21.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-13 02:09:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ImagineersHub",
"github_project": "compipe",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "requests",
"specs": [
[
">=",
"2.28.*"
]
]
},
{
"name": "cryptography",
"specs": [
[
"==",
"36.*"
]
]
},
{
"name": "tqdm",
"specs": [
[
"==",
"4.63.0"
]
]
},
{
"name": "wrapt",
"specs": [
[
"==",
"1.13.3"
]
]
},
{
"name": "pydantic",
"specs": [
[
">=",
"1.10.13"
]
]
},
{
"name": "google-api-python-client",
"specs": [
[
"==",
"2.39.0"
]
]
},
{
"name": "twine",
"specs": []
},
{
"name": "wheel",
"specs": []
},
{
"name": "colorlog",
"specs": []
}
],
"lcname": "compipe"
}