semvec/pypi-packages huggingface dataset:
django-serverless-emailer 0.3.0
Provides a lambda handler for sending emails concerning errors in AWS
License: MIT
Requires Python: >=3.8,<4.0
Keywords: django,aws,serverless,email

Currently only supports failed step functions. This is half-baked so far

# Usage

```python
# settings.py

INSTALLED_APPS = [
  "django_serverless_emailer",
  # ...
]

AWS_REGION = "us-west-2"  # your region

DEFAULT_FROM_EMAIL = "an-email@email.com"  # your sender
EMAIL_HOST = "smtp.gmail.com"  # your host
EMAIL_PORT = 465  # your port
EMAIL_HOST_USER = "an-email@email.com"  # your user
EMAIL_HOST_PASSWORD = os.getenv["EMAIL_PASSWORD"]
EMAIL_USE_SSL = True  # if you're using SSL

EMAIL_RECEPIENTS = "a@b.com,c@d.com"  # comma delimited list or a plain list
```

```yml
# serverless.yml

functions:
  notify:
    handler: path/to/handler.send_email
    description: Send an email
    layers:
      - { Ref: PythonRequirementsLambdaLayer }
```

```python
# handler.py

import django
import os

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "setup.settings")
django.setup()

from django_serverless_emailer import notify


def send_email(event, _):
    notify(event, _)

```
ppw-0419-01 0.1.0
Skeleton project created by Python Project Wizard (ppw).
License: MIT
Requires Python: >=3.6.1,<4.0

# ppw 0419 01


<p align="center">
<a href="https://pypi.python.org/pypi/ppw_0419_01">
    <img src="https://img.shields.io/pypi/v/ppw_0419_01.svg"
        alt = "Release Status">
</a>

<a href="https://github.com/zillionare/ppw_0419_01/actions">
    <img src="https://github.com/zillionare/ppw_0419_01/actions/workflows/main.yml/badge.svg?branch=release" alt="CI Status">
</a>

<a href="https://ppw-0419-01.readthedocs.io/en/latest/?badge=latest">
    <img src="https://readthedocs.org/projects/ppw-0419-01/badge/?version=latest" alt="Documentation Status">
</a>

</p>


Skeleton project created by Python Project Wizard (ppw)


* Free software: MIT
* Documentation: <https://ppw-0419-01.readthedocs.io>


## Features

* TODO

## Credits

This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [zillionare/cookiecutter-pypackage](https://github.com/zillionare/cookiecutter-pypackage) project template.
datetime-format-converter 1.0.1
Convert javascript datetime data format codes (formatting tokens) to python and vice versa
License: MIT

# Python-JavaScript datetime data format codes converter
Self = 'Python-JavaScript datetime data format codes converter'

Self is simple script what translate [python datetime data formats](https://www.w3schools.com/python/gloss_python_date_format_codes.asp)
to javascript date formatting tokens and vice versa.

## Installation
You can install Self from [PyPi](https://pypi.org/project/datetime-format-converter/1.0.0/):
```shell
pip install datetime_format_converter
```

## How to use
### CLI-usage
Through console with commands:
```shell
python -m datetime_format_converter py "%d.%m.%Y"
# output: "DD.MM.YYYY"

python -m datetime_format_converter js "DD.MM.YYYY"
# output: "%d.%m.%Y"
```

### Import as module
You can also call Self in your own Python code, by importing the `datetime-format-converter` package:
```python
>>> from datetime-format-converter.classes import PyJsDateTimeFormatConverter as dtfc
>>> dtfc().convert("%d.%m.%Y")
"DD.MM.YYYY"
```