semvec/pypi-packages huggingface dataset:
cdk-constructs-jp.s3-run-fargate-task 1.0.0
Trigger Fargate task from S3 event
License: MIT
Requires Python: >=3.6

# @sudocdkconstructs/s3-run-fargate-task

It's a very common AWS pattern to run a Fargate task when a file is uploaded to an S3 bucket. Usually developers create a Lambda function that is connected to S3 event notifications and starts the Fargate task.
This construct uses a little different approach. It enables [S3 EventBridge notifications](https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventBridge.html) in the bucket and creates a rule that runs the Fargate task. It passes the bucket name and object key to the container as an environment variables. Notice that it does not required a Lambda function.

## Install

TypeScript/JavaScript:

```bash
npm i @atlascloud/s3-run-fargate-task
```

Python:

```bash
pip install atlascloud.s3-run-fargate-task
```

## How to use

```python
const bucket = new cdk.aws_s3.Bucket(this, 'Bucket', {
    bucketName: 's3-fargate-bucket'
})

new S3RunFargateTask(this, 'S3RunFargateTask', {
    bucket,
    ruleName: 'cdk-run-fargate-rule',
    clusterName: 'FargateCluster',
    ruleDescription: 's3 event runs fargate task',
    taskDefinitionArn: 'arn:aws:ecs:us-east-1:002020202:task-definition/FargateTask:9',
    containerName: 'processContainer',
    subnetIds: ['subnet-0001', 'subnet-00002'],
    securityGroups: ['sg-00001']
})
```
ander 0.2.0
A CLI tool to identify elements that are contained in both file
License: MIT
Requires Python: >=3.6,<4

# ander: A CLI tool to identify elements that are contained in both file

![PyPi ver](https://img.shields.io/pypi/v/ander?style=flat-square)
![LICENSE budge](https://img.shields.io/github/license/joe-yama/ander?style=flat-square)

## Basic Usage

```bash
$ cat file1.txt
duplicated
notduplicated

$ cat file2.txt
duplicated
not duplicated

$ ander file1.txt file2.txt
duplicated
```

## Installation

```bash
$ pip install ander
```

### Requirements

- Python >= 3.6
- Some Python Libraries (see `pyproject.toml`)

## License

This software is released under the MIT License, see LICENSE.