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.7.tar.gz
(26.9 kB
view details)
Built Distribution
compipe-0.2.7-py3-none-any.whl
(34.5 kB
view details)
File details
Details for the file compipe-0.2.7.tar.gz
.
File metadata
- Download URL: compipe-0.2.7.tar.gz
- Upload date:
- Size: 26.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b27018a043d8391aef0e8ad13fc376c50b50846005a311e2da8149f35d8fa515 |
|
MD5 | 6699eebd01fb98e9b6266eb2f65a5bf7 |
|
BLAKE2b-256 | ce699d8c621ac73717caf8e90d3cbb73ac2094a6973fa590bc5a3c12984c94f0 |
File details
Details for the file compipe-0.2.7-py3-none-any.whl
.
File metadata
- Download URL: compipe-0.2.7-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 | ba986ba717d93f86c25e7abbdfee0f2bc900ac5bca17d22e9b5fb59b1e035c29 |
|
MD5 | 93d131a669992127e676553f0b043605 |
|
BLAKE2b-256 | 56d550cd53ced0f09b72e6e80e02f0d6111078909e065ac6d5cc357513a7ea95 |