a lite version of the command wrapper for python
Project description
COMPIPE (WIP)
Compipe is a lightweight command manager specifically designed to automate tasks.
Example of initializing runtime environment and credential keys
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
setup( # ... other setup parameters ... entry_points={ 'console_scripts': [ 'unittest = compipe.unittest.cmd_test:main', ], } )
-
Install Your Package in Editable Mode:
pip install -e .
-
Add PYPI API token to system environment
set PYPI_API_TOKEN=<Your-API-Token>
-
Run
upload.bat
to upload package wheel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
compipe-0.2.9.tar.gz
(26.8 kB
view details)
Built Distribution
compipe-0.2.9-py3-none-any.whl
(34.5 kB
view details)
File details
Details for the file compipe-0.2.9.tar.gz
.
File metadata
- Download URL: compipe-0.2.9.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed58b27a6482006cf355fcc513edafaf4b10bf2c824ecff842b2b110852312e |
|
MD5 | 394c0d18dabded4b716f7630f2648462 |
|
BLAKE2b-256 | 0b45bd2a6560290c6d585d06da953660ad6663163073c66c691ed2f7c7d73b54 |
File details
Details for the file compipe-0.2.9-py3-none-any.whl
.
File metadata
- Download URL: compipe-0.2.9-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9019a69ed27f3f3cf4a14590b2e8271178ac6d45982b0e5a6528214be89fa642 |
|
MD5 | 35ea07266b5add6d506b98280e5adcb0 |
|
BLAKE2b-256 | ed4373aa7801e39c8d1606fddd639d0538ad81279f48270d87c850f0447694bf |