semvec/pypi-packages huggingface dataset:
p2.infra 0.1.0
A P2 class to handle entities such as jobs/cronjobs at infrastructure level
License: BSD
Keywords: p2.infra

========
p2.infra
========


.. image:: https://img.shields.io/pypi/v/p2.infra.svg
        :target: https://pypi.python.org/pypi/p2.infra


A P2 class to handle entities such as jobs/cronjobs at infrastructure level.
2 drivers implemented:
- agent : interacts with the p2.agent using p2.agent.client module
- k8    : interacts directly with k8 using k8 apis.

Usage:

::

    from p2.tools.driver import get_driver

    infra = get_driver(
        module='p2.infra',
        driver=<driver>,
        class_name='Infra',
        **driver_params)

    # call any driver methods

* Free software: BSD license



Credits
-------

This package was created with `Cookiecutter
<https://github.com/cookiecutter/cookiecutter>`_ and the
`cookiecutter-namespace-template
<https://github.com/veit/cookiecutter-namespace-template>`_ project template.