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.0b3.tar.gz (50.4 kB view details)

Uploaded Source

Built Distribution

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

zerotk_zops-2.0.0b3-py3-none-any.whl (65.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zerotk_zops-2.0.0b3.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for zerotk_zops-2.0.0b3.tar.gz
Algorithm Hash digest
SHA256 523d62bdaa8b859ec7ab704b9b2df2782d84db4b1de612250f96da634230b66e
MD5 d9d28236dd69367a1d46d791aeaded65
BLAKE2b-256 52865060c1e23c9945aad8e3af9fcaaaa504e50df30e2c3231026a982f15e41d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zerotk_zops-2.0.0b3-py3-none-any.whl
  • Upload date:
  • Size: 65.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for zerotk_zops-2.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 f45d1db349767eec9409868589b607d2417438e3a6dfcfbb15c164741deb55dc
MD5 23682639136fffc6ab78dfed6e75393e
BLAKE2b-256 375c0e3451f79ddf47dcec6139de7ca9cad29ce2c5a6ca1c6327b73b5ec8f1b5

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