Skip to main content

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


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.10.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

compipe-0.2.10-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file compipe-0.2.10.tar.gz.

File metadata

  • Download URL: compipe-0.2.10.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for compipe-0.2.10.tar.gz
Algorithm Hash digest
SHA256 6b5e6bae3bcbb2cec982f979bbe545bde976220e7a3ab0a36abef3f8fa1bf0d6
MD5 55e02c4929ab9ffc4e8c4ae3c1fa6c71
BLAKE2b-256 c9b926f156b6080360c21e725275340e3a2fc74b1ffb073a33565dd2acfad6d1

See more details on using hashes here.

File details

Details for the file compipe-0.2.10-py3-none-any.whl.

File metadata

  • Download URL: compipe-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for compipe-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 20cecc3d3770dd52f08a112abb65faea1be92e9398a50da555d03f505343db93
MD5 ee7b97eaee283a45313ec60f0de9fa4f
BLAKE2b-256 a470275d9fb5686d4705503a6e99e9a0bce71c96ead3a2f4828d481697c83370

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page