Skip to content

Instantly share code, notes, and snippets.

View artslob's full-sized avatar

Artyom Slobodkin artslob

  • Russia, St. Petersburg
  • 07:15 (UTC +07:00)
View GitHub Profile
FROM python:3.7.4-buster
ENV CI_POETRY_URL="https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py" \
PATH="/root/.poetry/bin:${PATH}" \
# PYTHONFAULTHANDLER=1 \
# PYTHONUNBUFFERED=1 \
# PYTHONHASHSEED=random \
# PIP_NO_CACHE_DIR=off \
# PIP_DISABLE_PIP_VERSION_CHECK=on \
# PIP_DEFAULT_TIMEOUT=100 \
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import smtplib
import sys
import tarfile
from datetime import datetime
from email import encoders
from email.mime.base import MIMEBase
from email.mime.multipart import MIMEMultipart