Skip to main content

Zero Operations Toolbox

Project description

zops

ZOPS is an extendable command line utility intended to centralize and reuse software development solutions and processes.

Creating ZOPS commands in your project

Using project alpha as example:

/
  /alpha
    __init__.py
    zops.py
  setup.py

./alpha/zops.py

import click

@click.group(name='alpha')
def main():
    pass

@main.command()
def my_command():
    """
    This is my command.

    $ zops alpha my_command
    """
    click.echo('my command')

./setup.py

# ...

setup(

    # ...

    entry_points="""
    [zops.plugins]
    alpha=alpha.zops:main
    """,
)

Creating a ZOPS extension library

/
  /zops
    /bravo
      cli.py
  setup.py

./zops/bravo/cli.py

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

zerotk_zops-2.0.0b2.tar.gz (92.5 kB view details)

Uploaded Source

Built Distribution

zerotk_zops-2.0.0b2-py3-none-any.whl (116.6 kB view details)

Uploaded Python 3

File details

Details for the file zerotk_zops-2.0.0b2.tar.gz.

File metadata

  • Download URL: zerotk_zops-2.0.0b2.tar.gz
  • Upload date:
  • Size: 92.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.2 Linux/5.15.146.1-microsoft-standard-WSL2

File hashes

Hashes for zerotk_zops-2.0.0b2.tar.gz
Algorithm Hash digest
SHA256 423b2fcdfbb4b87772f13277af2fe9733f8ef2bde1fa08f8351f50034e21edda
MD5 2f5d321d1f3cec5ee1b077115d459272
BLAKE2b-256 3e458550634ed874cbe673ca983bd1ab1004f9c4f4d174cc546fd236a4a0cc2c

See more details on using hashes here.

File details

Details for the file zerotk_zops-2.0.0b2-py3-none-any.whl.

File metadata

  • Download URL: zerotk_zops-2.0.0b2-py3-none-any.whl
  • Upload date:
  • Size: 116.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.2 Linux/5.15.146.1-microsoft-standard-WSL2

File hashes

Hashes for zerotk_zops-2.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4fad9e8627657f29d906636abbaaeaaef795674ad11bb6a7f7d25d3b878889
MD5 00db1289748361791b67a66d70423460
BLAKE2b-256 603abd07d88ece7760ba4a9a8a3dea186b6d2adc23d2c22b6efdceda0b4888aa

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