26 lines
678 B
Python
26 lines
678 B
Python
|
import os
|
||
|
import re
|
||
|
import requests
|
||
|
import subprocess
|
||
|
import logging
|
||
|
import tempfile
|
||
|
import ldap
|
||
|
import imaplib
|
||
|
import random
|
||
|
import string
|
||
|
import json
|
||
|
|
||
|
from flask import Flask, jsonify, send_from_directory, request, abort, json, Response, render_template
|
||
|
from flask_mail import Mail, Message
|
||
|
from flasgger import Swagger
|
||
|
from flask_restful import Api, Resource
|
||
|
from flask_jwt_extended import JWTManager, create_access_token, jwt_required
|
||
|
|
||
|
from passlib.hash import sha512_crypt
|
||
|
from unidecode import unidecode
|
||
|
from email_validator import validate_email, EmailNotValidError
|
||
|
from time import sleep
|
||
|
from glob import glob
|
||
|
from bs4 import BeautifulSoup
|
||
|
from datetime import datetime
|