semvec/pypi-packages huggingface dataset:
cdk-aws-ec2-efs 0.0.3
cdk-aws-ec2-efs
License: Apache-2.0
Requires Python: ~=3.7

# EC2 with EFS AWS CDK construct

[![npm version](https://badge.fury.io/js/cdk-aws-ec2-efs.svg)](https://badge.fury.io/js/cdk-aws-ec2-efs)
[![PyPI version](https://badge.fury.io/py/cdk-aws-ec2-efs.svg)](https://badge.fury.io/py/cdk-aws-ec2-efs)

This Construct provides an easy way to mount an EFS on EC2 in AWS CDK.

It will inject mount commands as user data script to EC2.
And the EFS will be mounted after initializing.

## Installation

### JavaScript & TypeScript

```bash
npm i cdk-aws-ec2-efs
```

### Python

```bash
pip install cdk-aws-ec2-efs
```

## Usage

Create an AWS CDK project, in your application stack create `EC2` and `EFS` resources.
Note EC2 and EFS must be in the same VPC so EC2 can reach EFS.
Then use the construct to mount EFS to EC2:

```python
    const fileSystem = new cdk.aws_efs.FileSystem(this, "fileSystem", {
      ...
    });
    const ec2Instance = new ec2.Instance(this, "ec2-instance", {
      ...
    });
    new Ec2WithEfs(this, "EfsMount", {
      instance: ec2Instance,
      fileSystem: fileSystem,
      configureConnection: true,
    });
```

In the above example we pass `configureConnection` as `true`,
This tell construct to take care of adding rules to EFS security groups to enable
EC2 access.

Refer to [API.md](./API.md) for full documentation.
imputr 0.1.0
Imputing missing values in your data science.
License: Apache-2.0
Requires Python: >=3.7.1,<3.11


<p align="center">
  <img src="https://github.com/imputr/imputr/blob/release-v.0.1/docs/docs/_static/imputr-logo-horizontal.svg?raw=true" width="800">
</p>


# ****🎯 What is Imputr?****

Imputr is an open-source library that allows users to stably impute tabular data sets with ML-based and conventional techniques. It is designed to have an extremely simple, yet extensive API, making it possible for users of all levels and tasks to deploy the library in their workflows. 


<p align="center">
 <img src="https://github.com/imputr/imputr/blob/release-v.0.1/docs/docs/_static/imputation.gif?raw=true" width="600">
</p> 
 
# 🚀 Getting started

**Install Imputr with PIP:**

```bash
pip install imputr
```

## AutoImputer

Here is an example of the simplest usage of the AutoImputer (our recommended workflow for newbies and intermediates), which by default automatically imputes the missing values for all columns with a modern version of the [missForest](https://arxiv.org/pdf/1105.0828.pdf) algorithm.

```python
from imputr.autoimputer import AutoImputer
import pandas as pd

# Import dataset into Pandas DataFrame
df = pd.read_csv("example.csv")

# Initialize AutoImputer with data - set exec_now=False to delay imputation 
imputer = AutoImputer(data=df)

# Retrieve imputed dataset from AutoImputer object
imputed_df = imputer.get_result()
```

Here you can see an example of how the AutoImputer works internally.

<p align="center">
 <img src="https://github.com/imputr/imputr/blob/release-v.0.1/docs/docs/_static/autoimputer.gif?raw=true" width="600" align="center">
</p>

To see what else be done with the AutoImputer API to customise its behaviour, reference our [documentation](https://imputr.readthedocs.io/en/latest/examples.html).



# 📕 Documentation

Multiple links to documentation:

- [Imputr API](https://imputr.readthedocs.io/en/latest/autoapi/index.html)
- [Imputr concepts](https://imputr.readthedocs.io/en/latest/concepts.html)
- [Core class structure](https://imputr.readthedocs.io/en/latest/coreclass.html)
- [Medium blogs for more information](https://medium.com/tag/imputr)
- [Our Slack channel](https://join.slack.com/t/imputr/shared_invite/zt-1jnbwuv0l-T5xd0Akr3ab5jr2RprF_ZA)
- [More real world examples](https://imputr.readthedocs.io/en/latest/examples.html)

# 👨🏽‍💻 Contribution

Imputr is an ever-evolving open source library and can always use contributors who want to help build with the community.

See the [Contribution Jumpstart](https://imputr.readthedocs.io/en/latest/contributionjumpstart.html) page to get started with your first contribution!

---

Imputr is distributed under an Apache License Version 2.0. A complete version can be found [here](https://github.com/imputr/imputr/blob/main/LICENSE). All future contributions will continue to be distributed under this license.