semvec/pypi-packages huggingface dataset:
ecs-mon 0.0.9
A CLI to easily monitor AWS ECS Service
License: MIT
Keywords: aws-ecs,ecs service,monitor

ECS Service Monitor (ecs-mon)
=============================

Installation
------------

.. code:: shell

   pip install ecs-mon

Usage
-----

.. code:: shell

   ecs-mon --svc my-service --cluster linux --alb --profile myAWSprofile

Using esc-mon with watch
------------------------

.. code:: shell

   watch -n 10 ecs-mon --svc my-service --cluster linux --alb --profile myAWSprofile

The above command will rerun ecs-mon command every 10 seconds.

Installing Watch Command on MacOS
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: shell

   brew install watch

More information about Watch command:
http://manpages.ubuntu.com/manpages/bionic/man1/watch.1.html

Publishing Updates to PyPi
--------------------------

For the maintainer - to publish an updated version of ssm-search,
increment the version number in version.py and run the following:

.. code:: shell

   docker build -f ./Dockerfile.buildenv -t ecs-mon:build .
   docker run --rm -it --entrypoint make ecs-mon:build publish

At the prompts, enter the username and password to the pypi.org repo.

How to build
------------

.. code:: shell

   make build

License
-------

MIT License

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
“Software”), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
inputao 1.2
Um input melhor para ajudar os iniciantes em Python.
License: MIT
Keywords: input,beginner,tool

# Inputão

Um **input** melhor para ajudar os iniciantes em Python.

## Introdução

Quando o pessoal começa a programar em Python, muitos exercícios dependem da função _builtin_ `input`.

O problema é que o input do Python sempre retorna uma `string` e o iniciante acaba despendendo muita energia para validar os dados e pedir que o usuário digite novamente em caso de erro.

## Como usar

Instale com:

```
pip install inputao
```

Use no  seu código:

```python
from inputao import input
```

## Como funciona?

Importe o a função `input`.

```python
>>> from inputao import input
```

Por padrão input sempre retorna `string`.

```python
>>> nome = input('Qual o seu nome?')
>>> type(nome)
str
```

Para converter a entrada, informe a class como 2º parametro.

```python
>>> idade = input('Qual sua idade?', int)
>>> type(idade)
int
```

Ou, *por exemplo*, crie a uma função que valide o que voce quiser.

```python
>>> def SN(text):
>>>     if text in 'Ss':
>>>         valor = True
>>>     elif text in 'Nn':
>>>         valor = False
>>>     else:
>>>         raise ValueError('Digite S ou N.')
>>>     return valor

>>> continua = input('Deseja continuar? [Sn]', SN)
>>> type(continua)
bool
```

## Licença

MIT

## Autores

Rapaziada da Live.