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.12.tar.gz
(27.8 kB
view details)
Built Distribution
compipe-0.2.12-py3-none-any.whl
(35.9 kB
view details)
File details
Details for the file compipe-0.2.12.tar.gz
.
File metadata
- Download URL: compipe-0.2.12.tar.gz
- Upload date:
- Size: 27.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa194b060a12de44573c6c0336da0ef0f3712242efa85eb8926c137404e418c1 |
|
MD5 | ad9e38d19bff4bb6a856009a91f7a005 |
|
BLAKE2b-256 | f9160bc72b827bd6b9c50384500163435732b039887883a0be40ea59ce4f2700 |
File details
Details for the file compipe-0.2.12-py3-none-any.whl
.
File metadata
- Download URL: compipe-0.2.12-py3-none-any.whl
- Upload date:
- Size: 35.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be1bd6357c5aae8bb694f81800d2c99fbd6081c25e867ec3a7972128d286042f |
|
MD5 | f08fad638a01218f73edeff14132d099 |
|
BLAKE2b-256 | f86cc9ce9ffab020a0870a472a165906ac5f1e03a4adb4a79683bd2a32a8e307 |