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

Uploaded Source

Built Distribution

compipe-0.2.13-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: compipe-0.2.13.tar.gz
  • Upload date:
  • Size: 28.3 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.13.tar.gz
Algorithm Hash digest
SHA256 32dc607327d60f73ce89e0f80f5b2fbc69cb3331ec77970a68369fe9cce9f801
MD5 878607c1e029ca6c7d9deb53681fd8c4
BLAKE2b-256 1e57351e597b8b4f1ec9e3de3f4b98833673654acff165ceef5cba8db8ea247a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: compipe-0.2.13-py3-none-any.whl
  • Upload date:
  • Size: 36.3 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 c4779eb59de7b0cc3234c9847302f828648756d131ca73014101b3b8e1872c25
MD5 30b5de7ac40c1a588bb88bfc5ea7c7a9
BLAKE2b-256 bb872e32063c9f9cf9024f07c11e8a91d699869e43df6f4bdc4b40b8d670d219

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