semvec/pypi-packages huggingface dataset:
katie 0.2.0
Kubernetes utilities

Katie
=====

A user-friendly kubectl wrapper for interacting with pods.

Usage
-----

### Commands

* `kubectl pods <selector>` - list pods.
* `kubectl logs <selector>` - show logs from first matching pod.
* `kubectl exec <selector> -- <command>` - exec in first matching pod.

### Selectors

Common labels are automatically aliased in selectors. If no pods match the
original selector and the selector includes on of the labels on the left, katie
will replace that label with the matching one on the right and try the search
again.

* `name` -> `app.kubernetes.io/name`
* `instance` -> `app.kubernetes.io/instance`
* `version` -> `app.kubernetes.io/version`
* `component` -> `app.kubernetes.io/component`
* `part-of` -> `app.kubernetes.io/part-of`
* `managed-by` -> `app.kubernetes.io/managed-by`

Author
------

MIT Licence, (c) 2019 [Sam Clements](https://gitlab.com/borntyping)
autoqt 0.0.6
Simplify pyqtProperty creation.
Requires Python: >=3.6
Keywords: PyQt,PyQt5,pyqtProperty,PySide2

# autoqt
[![PyPI](https://badge.fury.io/py/autoqt.svg)](https://badge.fury.io/py/autoqt)
[![Build Status](https://semaphoreci.com/api/v1/chipolux/autoqt/branches/master/shields_badge.svg)](https://semaphoreci.com/chipolux/autoqt)

A simple single file module that makes setting up basic Qt properties a little
bit nicer without restricting you.

This is very useful if you have QObjects with many readonly properties and a
few special setters or state modifying slots.

Example:
```
from PyQt5.QtCore import pyqtSignal, pyqtSlot
from autoqt import AutoObject, AutoProp


class SomeObject(AutoObject):
    valuesChanged = pyqtSignal()

    aNumber = AutoProp(int, 'valuesChanged', '_aNumber')
    otherNumber = AutoProp(float, 'valuesChanged', '_otherNumber')
    aString = AutoProp(str, 'valuesChanged', '_aString', write=True)

    def __init__(self, parent=None):
        super().__init__(parent=parent)
        self._aNumber = 10
        self._otherNumber = 20
        self._aString = 'spam'

    @pyqtSlot()
    def incrementNumber(self):
        self._aNumber += 1
        self.valuesChanged.emit()

    @otherNumber.setter
    def otherNumber(self, value):
        self._otherNumber = value + 2
        self.valuesChanged.emit()


x = SomeObject()

print(x.aNumber)  # 10
x.aNumber = 10  # throws AttributeError, readonly property
x.incrementNumber()  # valuesChanged is emitted
print(x.aNumber)  # 11

print(x.otherNumber)  # 20
x.otherNumber = 40  #  otherNumber.setter called, valuesChanged is emitted
print(x.otherNumber)  # 42

print(x.aString)  # 'spam'
x.aString = 'ham'  # valuesChanged is emitted, writable property
print(x.aString)  # 'ham'
```