semvec/pypi-packages huggingface dataset:
py3mailer 1.0.6
A simple and convinient way to send emails in python
License: Apache 2.0
Requires Python: >=3.6, <4
Keywords: email,python email,python smtp,python send emails,smtp

## About
A simple and convenient way to send emails ✉️ in python 🐍

## Installation

```sh
pip install py3mailer
```

## Usage guide

1. ### Importing the module

    ```py
    from pymailer import EmailService, build_message
    ```

2. ### Build an email message
   * Simple `EmailMessage`

      ```python3
      message = build_message(fr_addr='john@company.com', # Sender
                              to_addrs=['peter@abc.com'], # List of recipients
                              cc_addrs=['emma@abc.com' ], # List of secondary recipents
                              subject='Subject of Email',
                              content="Plain text contents of the email")
      ```

   * Extended `EmailMessage` with html body and attachments

      ```py
      message = build_message(fr_addr='john@company.com', # Sender
                              to_addrs=['peter@abc.com'], # List of recipients
                              cc_addrs=['emma@abc.com' ], # List of secondary recipents
                              subject='Subject of Email',
                              content="Plain text contents of the email",
                              htmlcontent="<h1>Fancy</h1> html content of the email",
                              attachments=['absolute path to the attachment'])
      ```

3. ### Instantiate `EmailSevice` and send the `message`

    ```py
    service = EmailService(host='smtp.gmail.com',
                           port=587,
                           user='john@company.com',
                           password='This is super secret')

    service.sendmail(message)
    ```


### Additional notes:

- While creating `EmailService` its optional to specify the `password`. If the `password` is not specified it is assumed that the smtp email server does not require authentication.
aws-net-scan 0.5.0
Get useful AWS data regarding VPC networking in a structured output.
License: Apache 2.0
Requires Python: >=3.6, <4
Keywords: aws,network,scan,aws-net-scan,cloud,vpc,ec2

<h1 align="center">
  aws-net-scan
</h1>

<p align="center">
  <img src="https://github.com/PauSabatesC/aws-net-scan/blob/main/example_cli.png" alt="SockNet logo"/>
</p>

<h3 align="center">
	Get useful AWS data regarding subnets, ec2s, route tables and vpcs in a structured output in your teminal.
</h3>

<a href="https://pypi.org/project/aws-net-scan" target="_blank">
	<img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dm/aws-net-scan">
</a>

## Installation:
```sh
pip install aws-net-scan
```
## Features:
Get a list of your:
- ✔️ VPCs
- ✔️ Subnets
- ✔️ EC2s
- ✔️ Elastic Load Balancers
- ✔️ Aurora RDS
- ✔️ Elastic Containers Services (ECS)

## How to use:

The cli will use the AWS profiles you configured wit aws cli that you have already defined in '~/.aws/' and by default it'll use the 'default' aws [profile](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html), if you want a concrete profile or just info about a concrete vpc run the following commands:

```sh
aws-net-scan --help
```

- Required parameter:


```sh
 --profile profile
```

- Optional parameters:

```sh
 --vpc-id vpc-0ed0X857b02b8b
```

- Example:

```sh
aws-net-scan --profile dev_profile
```

### Project development:

- Setup development environment

```sh
$ mv .env.example dev.env
$ source scripts/setup_env.sh
```
- Cleanup dev environment

```sh
$ source scripts/clean_env.sh
```

- Test:
```sh
$ source scripts/test.sh
```