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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

compipe-0.2.22-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: compipe-0.2.22.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for compipe-0.2.22.tar.gz
Algorithm Hash digest
SHA256 7b8a64e8fb63baabfff2b5d298fa6f5aee3e4f08ecdb24a14da98e0b2a2cecc3
MD5 84f766fba33340774bb801b6ca7210bc
BLAKE2b-256 b825ed101a109b3a9c03b19ba01d7694f2e967c4b196e635dfb8b21c45d6ad80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: compipe-0.2.22-py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for compipe-0.2.22-py3-none-any.whl
Algorithm Hash digest
SHA256 bf1f129e5367572ce5fdc9bd108bc13607c375681530a99fa291828bbf61e906
MD5 e71492910f7614fdbbd6ca09beb2f992
BLAKE2b-256 5ad70096af528a456f903f05e3947a435107a123fcf4d2b4bded583951a72708

See more details on using hashes here.

Supported by

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