semvec/pypi-packages huggingface dataset:
renovo-solutions.aws-cdk-managed-instance-role 0.0.4
@renovosolutions/aws-cdk-managed-instance-role
License: Apache-2.0
Requires Python: >=3.6

# cdk-managed-instance-role

This CDK Construct Library includes a construct (`ManagedInstanceRole`) which creates an AWS instance profile. By default this instance profile includes the basic policies required for instance management in SSM and the ability to Domain Join the instance.

The purpose of this CDK Construct Library is to ease the creation of instance roles by not needing to code the inclusion of baseline management roles for evey single different role implementation every time. Instance profiles only support a single role so its important the role includes all required access. This construct allows making additions to those baseline policies with ease.

The construct defines an interface (`IManagedInstanceRoleProps`) to configure the managed policies of the role as well as manage the inclusion of the default roles.

## Dev

### Pre-reqs:

You will need

* npm installed on your machine
* AWS CDK installed on your machine
* python installed on your machine
* dotnet installed on your machine
* a github account

This project is managed with `projen`. Modify the `.projenrc.js` file and run `npx projen`. You can also modify this `README` file and the `src` code directory as needed. Github actions take care of publishing utilizing the automatically created workflows from `projen`.
cdk-managed-instance-role 0.0.3
@renovosolutions/cdk-managed-instance-role
License: Apache-2.0
Requires Python: >=3.6

# cdk-managed-instance-role

This CDK Construct Library includes a construct (`ManagedInstanceRole`) which creates an AWS instance profile. By default this instance profile includes the basic policies required for instance management in SSM and the ability to Domain Join the instance.

The purpose of this CDK Construct Library is to ease the creation of instance roles by not needing to code the inclusion of baseline management roles for evey single different role implementation every time. Instance profiles only support a single role so its important the role includes all required access. This construct allows making additions to those baseline policies with ease.

The construct defines an interface (`IManagedInstanceRoleProps`) to configure the managed policies of the role as well as manage the inclusion of the default roles.

## Dev

This project is managed with `projen`. Modify the `.projenrc.js` file and run `npx projen`. You can also modify this `README` file and the `src` code directory as needed. Github actions take care of publishing utilizing the automatically created workflows from `projen`.
bigninja 0.0.3
pyspark helpers
License: Apache-2.0

# bigninja

[![PyPI](https://img.shields.io/pypi/v/bigninja)](https://pypi.org/project/bigninja/) ![PyPI - License](https://img.shields.io/pypi/l/bigninja)

PySpark helpers to maximise data engineer productivity. Follow [pain-driven development](https://deviq.com/practices/pain-driven-development) technique.

## Setup

After `pip install bigninja` start using it by

```python
from bigninja import *
```

BigNinja works by adding extension methods to Spark's DataFrame class. All the methods start with `bn_` prefix to avoid conflicts with built-in methods.

## DataFrame

### `.bn_select(*pattern: str), .bn_drop(*pattern: str)`

Select/drop columns using a wildcard pattern i.e. `df.wc_select("co*")` returns columns starting with *co*. For instance:

- `bn_select("ci*")` will select columns starting with `city`.
- `bn_select("id*", "ci*")` with select both columns starting with `id` and `ci` and so on.

### `.bn_display()`

Is like `.show()` but `truncate` is set to `False` and arrays and structs are transformed to JSON so that you can read it.

### `.bn_union(df: DataFrame)`

Unions DataFrames, even if number of columns, their names and types don't match, by creating an overlap of columns from both datasets and filling missing values with null.

## Etc

- Inspired by [quinn]([MrPowers/quinn: pyspark methods to enhance developer productivity 📣 👯 🎉 (github.com)](https://github.com/MrPowers/quinn)). Most ideas are initially taken from there.