semvec/pypi-packages huggingface dataset:
ie-a-ia-io 0.1.6
Incredibly basic class for managing simple input/output streams
Requires Python: >=3.5

# Incredibly Easy and Instantly Accessible Input Output

Class `IOUtils` with intuitive function names for basic petty I/O streams.

Many times there's no need to have fine-grained control over some I/O. Hence the idea to pack boilerplate code (e.g. the one in `os`,`glob`) in functions with intuitive names.

## glob.os

The first aim is to pack in single functions otherwise long code snippets for operations done via the `os` or `glob` module. For instance, instead of having in the script something like this:

```
if not glob.os.path.exists(path):
    glob.os.makedirs(path)
```

Simply write `IOUtils.mkdir(path)`. This also allows to have basic `glob` and `os` functions in a single place. For instance, get all the files in a folder recursively by extension with : `IOUtils.ioglob(path,ext='txt',recursive=True)`.

## JSON and pickle

It is often the case that for several reasons one need to (1) create simple configuration files or (2) load samll python object (e.g. dictionaries) across scripts. For this use case there's no need to have the fine-grained control provided by `json` and `pickle` modules. Hence `IOUtils` has `load_json`/`save_json` and `load_pickle`/`save_pickle` for these cases.
aws-stash 0.0.9
Manage AWS Parameter Store

# aws-stash

An attempt to make AWS SSM Parameter Store interaction easier and exploit its full potential.

Several tools like [chamber](https://github.com/segmentio/chamber) are already available to provide applications with secrets and other configuration values stored in AWS SSM Parameter Store as environment variables, but they were missing some handy features and flexible output formats, and I was struggling to find any that would also be able to set them.

Usage
-----

```
$ aws-stash --help
usage: aws-stash [-h] [-p PARAMS [PARAMS ...]] [-w [WRITE]] [-m] [-f]
                 [-d DESCRIPTION] [-k KMS] [-c] [-o {text,json,export}] [-l]
                 [-r] [--delete] [-q] [--full] [-v]
                 path

positional arguments:
  path                  Path to the parameter key or folder containing
                        parameter keys

optional arguments:
  -h, --help            show this help message and exit
  -p PARAMS [PARAMS ...], --params PARAMS [PARAMS ...]
                        Parameter keys
  -w [WRITE], --write [WRITE]
                        Write parameter value, leave it empty to input it from
                        STDIN
  -m, --multi-line      Accept multi-line value from STDIN, end input with
                        CTRL+D
  -f, --force           Force overwrite existing value
  -d DESCRIPTION, --description DESCRIPTION
                        Add a description to the parameter
  -k KMS, --kms KMS     KMS key alias to encrypt the value
  -c, --copy            Copy value to the clipboard instead of showing it
  -o {text,json,export}, --output {text,json,export}
                        Output format
  -l, --list            List all paramaters under same level path
  -r, --recursive       Process all paramaters recursively starting from path
  --delete              Delete a single parameter or all parameters
                        recursively starting from path if using --recurise
  -q, --quiet           Output only the values of the parameters
  --full                Output fully qualified parameter path
  -v, --verbose         Output parameters details
```

### AWS credentials

This tool combines nicely with [aws-vault](https://github.com/99designs/aws-vault) to provide AWS credentials in a more secure and convenient way than storing them in `~/.aws/credentials` files.

### List keys recursively

```
$ aws-vault exec my-aws-profile -- aws-stash -r -l /
/dev/
/dev/application-bar/
/dev/application-bar/ENV_VAR_XXX
/dev/application-bar/SECRET_YYY
/dev/application-foo/
/dev/application-foo/ENV_VAR_XXX
/staging/
/staging/application-bar/
/staging/application-bar/ENV_VAR_XXX
/staging/application-bar/SECRET_YYY
/staging/application-foo/
/staging/application-foo/ENV_VAR_ZZZ
```

Installation from source
------------------------

```
git clone https://github.com/askainet/aws-stash
pip install aws-stash/
```