Saravanan666/pypi-org huggingface dataset:
Package: emailed-before
Emailed BeforeA simple Python library for keeping track when emails about some topics were sent.InstallationYou can install the library from PyPI.pipinstallemailed-beforeUsageFirst construct aSentEmailsinstance:fromemailedbeforeimportSentEmailssent_emails=SentEmails(sqlite_file)sqlite_fileis the path to a Sqlite3 file. It will be created if it doesn't exist yet.You can then register the fact that an email has been sent.email="someone@example.com"topic="Your library books are due"sent_emails.register(email,topic)To find out when emails about a topic were sent you can use thesent_atmethod, which returns a list of datetimes. The list is ordered.fromdatetimeimportdatetime,timedelta# Remind the user about those books again after a week.datetimes=sent_emails.sent_at(email,topic)iflen(datetimes)anddatetime.now()-datetimes[-1]>timedelta(days=7):...# email the userFor convenience, there is also a methodlast_sent_atwhich returns the datetime when the last email was sent (orNoneif no email has been sent). So the previous code example can be rewritten as:fromdatetimeimportdatetime,timedelta# Remind the user about those books again after a week.last_sent=sent_emails.last_sent_at(email,topic)iflast_sentanddatetime.now()-last_sent>timedelta(days=7):...# email the user
Package: emaileer
使用手册1.快速开始1）配置全局配置默认搜索路径：emaileer.ini、emailer.ini、~/emaileer.ini、~/emailer.ini[demo-sender]host=smtp.qq.comport=25username=172xxx032@qq.compassword=kafnxxxxtjsgjbhg[test-sender]host=smtp.qq.comport=25username=1727xxxx032@qq.compassword=kafnxxxxtjsgjbhgfromName=kancyencoding=utf-8debug=True2）使用指定email sender发送邮件importemaileer# 发送文本邮件emaileer.sendText("demo-sender","测试标题","hello","7932xxx61@qq.com")# 发送Html邮件emaileer.sendText("demo-sender","测试标题","<h3>hello</h3>","7932xxx61@qq.com")# 发送Html模板邮件emaileer.sendText("test-sender","测试标题","demo.html","7932xxx61@qq.com",k1='v1',k2='v2')# 发送附件邮件emaileer.sendText("test-sender","测试标题","demo.html","7932xxx61@qq.com",files="file1.txt,file2.txt")2.使用内置EmailSenderQQ邮箱:QQEmailSender网易邮箱:NeteaseEmailSender谷歌邮箱:GoogleEmailSenderimportemaileer# 定义一个QQ Email Sendersender=emaileer.QQEmailSender("1727xxxx32@qq.com","kafnedgxxxxsgjbhg",fromName="姓名")# 发送文本邮件sender.sendText("测试标题","hello","7932xxx61@qq.com")# 发送Html邮件sender.sendText("测试标题","<h3>hello</h3>","7932xxx61@qq.com")# 发送Html模板邮件sender.sendText("测试标题","demo.html","7932xxx61@qq.com",k1='v1',k2='v2')# 发送附件邮件sender.sendText("测试标题","demo.html","7932xxx61@qq.com",files="file1.txt,file2.txt")3.自定义EmailSenderimportemaileer# 自定义sender=emaileer.EmailSender("smtp.qq.com",443,"username","password")# 发送文本邮件sender.sendText("测试标题","hello","7932xxx61@qq.com")
Package: emailerpy
Module Emailer
Le module Emailer est une bibliothÃ¨que Python simple et lÃ©gÃ¨re conÃ§ue pour faciliter l'envoi d'e-mails via SMTP. Son objectif est de simplifier le processus d'envoi d'e-mails en fournissant une configuration rapide et une interface conviviale.Configuration du Serveur
Avant d'utiliser les fonctionnalitÃ©s d'envoi d'e-mails, il est impÃ©ratif de configurer le serveur SMTP en utilisant la mÃ©thode configurer_emailer. Cette mÃ©thode prend en charge les paramÃ¨tres essentiels tels que l'adresse du serveur, le port, l'adresse e-mail de l'expÃ©diteur et le mot de passe.Exemple de configuration du serveur :Configurer le serveurfrom emailer import Emailerinstans= Emailer()serveur_config =instans.setup_email_email(serveur="smtp.example.com",port=587,sender_email="your_email@example.com",password="motdepasse"    #mot de passe generer a partir de botre compte email)Envoi d'E-mails
Une fois le serveur configurÃ©, vous pouvez utiliser la mÃ©thode send_email pour envoyer des e-mails. Assurez-vous que le serveur a Ã©tÃ© configurÃ© avec succÃ¨s avant d'appeler cette mÃ©thode.Exemple d'envoi d'e-mail :try:instans.send_email(destinataire="destinataire@example.com",subject="Sujet de l'e-mail",message="Corps de l'e-mail",server=serveur_config)except :print(f"Erreur : {e}")
Package: email-expose
EmailExposeEmailExpose é uma ferramenta de linha de comando que verifica rapidamente se uma lista de e-mails foi exposta em vazamentos online. Proteja sua privacidade e segurança digital com essa solução eficiente e fácil de usar.Os dados utilizados pela EmailExpose são retirados do siteHotsheet, uma fonte confiável de informações sobre vazamentos de dados na web.Para utilizar a EmailExpose, basta fornecer uma lista de e-mails e deixar que a ferramenta faça o resto. Mantenha-se informado sobre possíveis exposições de dados e tome medidas proativas para proteger suas informações pessoais.Instalação:$pipinstallemail-exposeExemplo de uso:Sem output:$email_expose--file/home/user/EmailExpose/list_emails.txtCom output:$email_expose--file/home/user/EmailExpose/list_emails.txt--output
Outputfile:output.xlsxComo lib Python:fromemail_exposeimportexpose_consulti=expose_consult.Inoitsu()result=i.consult_email('fulano@gmail.com')print(result){'email':'fulano@gmail.com','breach_detect':'BREACHDETECTED!','risk_password_leak':True,'total_breaches':5,'most_recent_breach':'2021-01-01','sources_breaches':['Twitter(200M)','Nitro','Dailymotion','Deezer','Vakinha'],'summary':['Datesofbirth','Names','Passwords','Usernames']}
Package: email_extractor
Web email extractor by url crawl using command line interface. A free utility to extract email address by crawling a given url upto a given depth or number of urls to crawl provided by the user. Email addresses can be extracted from any url. Emails Extractor can be used to extract emails from a given url. First it extracts all the number of urls by the depth provided by the user and then extracts emails using simple Python libraries. This simple application allows to crawl through a website with a max depth of crawling 5000 urls and extracts email addresses and saves to a file.Online DemoExtract Emails or UrlsUsageusage:email_extractor [-h] [-l LIMIT] [-u URL]Web Email Extractoroptional arguments:-h, --help            show this help message and exit
-l LIMIT, --limit LIMIT
                      -l numUrlsToCrawl
-u URL, --url URL     -u http://sitename.com
Package: email-extractor-unicode
Email Extractor UnicodeEmail Extractor Unicode is a Python library that allows you to extract emails from web pages related to phone
   numbers. It utilizes the undetected_chromedriver library to browse web pages and extract emails using regular
   expressions.InstallationTo install Email Extractor Unicode, you can use pip:pip install email-extractor-unicodeUsageTo use the library, you can import thecheckerfunction from the package.import os
import subprocesstry:
from email_extractor_unicode import checker
except ImportError:
try:
subprocess.check_call(["pip", "install", "email-extractor-unicode"])
from email_extractor_unicode import checker
except Exception as e:
raise ImportError("Failed to install or import email-extractor-unicode:", e)checker()ContactFor any inquiries or feedback, you can reach out to me on Telegram at@iamunicode. I'd be happy to hear from you and assist with any questions or issues
   related to Email Extractor Unicode.DisclaimerPlease use this library responsibly and respect the terms of service of the websites you are scraping. Email
   extraction from websites may be subject to legal restrictions in some jurisdictions. Always ensure you have the
   right to extract data from the websites you visit.Change Log1.3.0 (02/19/2024)Fixed bugsLicenseCopyright 2024 UNICODEPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
    documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
    rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
    persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
    Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
    WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
    COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
    OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: emailfilter
EMailFilter is a customizable e-mail content filter
written in Python. It consists of the following
Python modules and shell scripts:EMAILFILTER.PY: the core filter logic; it allows
you to add as many Python filtering modules as you
want, and will give each filtering module a chance
to examine each e-mail message and (possibly) add
‘X-’ headers to record its findings.EMAILFILTERD.PY: the preferred mode of operation
for EMailFilter; it wraps EMAILFILTER.PY in a daemon
that listens on a user-specific port (currently the
port number is 5590 + the user id) and processes each e-mail
message sent to it through that port.EMAILFILTERC.PY: a command-line client program that
takes its standard input, sends it through a socket
to the daemon on the appropriate port, receives the processed
data back, and writes it to standard output. This
isnotthe preferred method of talking to the daemon;
see theemailfiltercshell script below.EMAILFILTERDEFS.PY: common definitions for all
the above modules.EMAILFILTERD: a shell script to invoke the daemon.EMAILFILTERC: a shell script to invoke the client; it
can useemailfilterc.pyabove if necessary, but this
is slow because it requires a new instance of the Python
interpreter to be loaded for each e-mail message (the
message comes in on standard input and the processed
message is written to standard output). The preferred
method is to use either the CFilter program (available on
SourceForge, seehttp://cfilter.sourceforge.net) as
the client (this is done by invoking this script with
the-coption) or the “TCP/IP swiss army knife”
netcat program (this is done by invoking the script with
either the-noption, if netcat goes by the command
namenc, or the-toption if it goes by the
command namenetcat– which name it will be depends
on which specific flavor of Unix/Linux you are running).Most e-mail clients can be set up to invoke any
desired filter program, sending it messages on standard
input and receiving processed messages on standard output;
thus, to use EMailFilter, simply tell your e-mail client
to invokeemailfilterc-cas the filter program (you
can leave out the-c, but as above, filtering will be
significantly slower).InstallationTo install EMailFilter, you can simply run:$ python setup.py installat a shell prompt from the directory into which you
unzipped the source tarball (the same directory that this
README file is in). This will install EMailFilter, and then
run each of the post-install scripts in the scripts
directory.EMailFilter requires the PLIB Python library package,
which is available from the Python Package Index under the
nameplib. However, the helper module used by EMailFilter’s
setup script,SetupHelper, can automatically detect if
you don’t have PLIB installed, and if so, it will download
and install it for you before installing EMailFilter.
Package: email-filter
===========EmailFilter===========Description===========Module provides proxying emails from external addresses to local ones according to ``django.contrib.User`` emailsInstallation============1. Install emailfilter to your project's environment. If your env should be activated by hand, then create script (``mail_route.sh``) like this::#!/bin/shexport PYTHONPATH=/path/to/settings_dir/:/path/to/project/echo "$(cat)" | /path/to/env/bin/python /path/to/env/bin/mail_route.py >> /path/to/logs/mail_route.log 2>&12. Add new pipe to ``mail_route.py`` script in postfix (by default it should be placed in ``/etc/postfix/master.cf``)::mailproxy  unix  -       n       n       -       -       pipeflags=FR user=user_that_runs_uwsgi_or_project argv=/path/to/mail_route.sh${nexthop} ${user}3. Then this transport should be used to process mails.For example you want to process mails to ``domain.com`` and you are using cdb storage for postfix.Add this to ``/etc/postfix/transport``::domain.com       mailproxy:Then update cdb map::postmap cdb:/etc/postfix/transport4. now you should create ``/path/where/you/place/mail_route_settings/mail_route_settings.py``::PROJECT_BASE_DIR = '/path/where/project/settings/can/be/imported/'DJANGO_SETTINGS_MODULE = 'project.settings'PROCESS_OUTGOING_EMAILS = FalseSELF_ADDRESS = 'proxy@kavahq.com'Settings========Some django settings are available for configuration:* ``EMAIL_HOST``, ``EMAIL_PORT`` — host and port used to "forward" emails* ``EMAIL_SERVER_DOMAINS`` — list of domains that should be checked for mail forwarding. Example::EMAIL_SERVER_DOMAINS = ['@42cc.co', '@42coffeecups.com', '@khavr.com']Not Django settings in mail_route_settings.py file:* ``SELF_ADDRESS`` — email address of mail_rote. For example if you forwar all emails from somewhwereto mail_route by bcc`ingthem then you should set ``SELF_ADDRESS`` to bcc address and it will be ignoredwhen forwarding address(es) is determined* ``PROJECT_BASE_DIR`` — this directory will be added to PYTHONPATH* ``DJANGO_SETTINGS_MODULE`` — env variable with same name will be set to value of this setting* ``LOG_PATH`` — where logs should be saved
Package: emailfinder
EmailFinder - Search emails through Search EnginesInstallation:> pip3 install emailfinderUpgrades are also available using:> pip3 install emailfinder --upgradeSearch Enginesgoogle: Ok (note cookies policy and Captcha!).bing: OK.baidu: OK (few requests).bing: Hunting Robots very fast.UsageEmailFinder can be used in 2 ways:CLIemailfinder -d domain.comParameters:d: Specifies the target domain.v: Show EmailFinder version.p: HTTP proxy server URL.In Codefrom emailfinder.extractor import *emails1 = get_emails_from_google("domain.com")
emails2 = get_emails_from_bing("domain.com")
emails3 = get_emails_from_baidu("domain.com")AuthorThis project has been developed by:Josué Encinar García--https://twitter.com/JosueEncinarDisclaimer!The software is designed to check a company's emails found in the search engines. The author is not responsible for any
illegitimate use.
Package: emailfinderpy
emailfinderpyWhat is it?This package can be use to verify emails. On top of that, it can also help you find email address. It might take a while to run the code since this code use brute force and try every single possible email combinations.If you are interested to contribute, feel free to create a pull requests.How to useInstall this package using pippip install emailfinderpyorpip3 install emailfinderpyimportemailfinderpyasemprint(em.verify_email('ssuntoso@gmail.com'))# Trueprint(em.verify_multiple_email(['s.suntoso@gmail.com','ssuntoso@gmail.com'],'Sean'))#   Name                Email   Status#0  Sean  s.suntoso@gmail.com  Veified#1  Sean   ssuntoso@gmail.com  Veified# email_finder(first_name, middle_name, last_name, domain)print(em.email_finder('Sean','','Suntoso','gmail.com'))#            Name                Email   Status#0  sean  suntoso   ssuntoso@gmail.com  Veified#1  sean  suntoso  s.suntoso@gmail.com  Veified
Package: email-finder-website
email_finder_websiteIntroductionemail_finderis a Python library that crawls a specified website and finds all the emails on that website.InstallationYou can installemail_finderfrom PyPI:pip install email-finder-websiteThe library requires Python 3.6 or later.UsageOnce you have the package installed, you can use it in your Python code or from the command line.Using in Python code:from email_crawler import EmailCrawler

crawler = EmailCrawler('https://example.com')  # replace with the website you want to crawl
crawler.crawl()Using from the command line:email_crawler https://example.com  # replace with the website you want to crawlYou can also specify the maximum number of pages to crawl:email_crawler https://example.com --max-pages 10  # replace with the website you want to crawl and maximum pages to crawlLicenseThis project is licensed under the terms of the MIT license.
Package: email-forwarder
email-forwarderHigh-level email forwarding in Python (3+)Usagefromemail_forwarderimportEmailForwardere=EmailForwarder("user@example.com","password","smtp.example.com",587)eml=open("message.eml",'r').read()e.forward(eml,"to@example.com")Note:current implementation forwards in place without adding originalFrominfo.
Package: email-function-failure-traceback
email_function_failure_tracebackThis is a decorator for monitoring errors for remote jobs. Wrap your main function in theemail_function_failure_tracebackdecorator, and if the function fails, an email will be sent based on your configuration that includes the traceback of the error (including SQL errors).Installationpipinstallemail_function_failure_tracebackFunctions:email_function_failure_traceback(send_email_function)Examples:cache_to_disk"""This example caches the function "my_function" for 3 days."""fromfunctoolsimportpartialfromemail_function_failure_tracebackimportemail_function_failure_traceback# Implement this yourself using your preferred Email integration...defsend_email(message,subject_line,to_address,from_address):Email(to_address,from_address,subject_line,message)@email_function_failure_traceback(partial(send_email,subject_line='my function failed',to_address='example@example.com',from_address='example@example.com'))defmy_function():assert1==2# This will send an email to `example@example.com` with the error traceback.my_function()
Package: email-function-logger
Email Function LoggerA Python decorator to easily log information about a function and send it to your email.Installation$pipinstallemail-function-loggerEmail setupYou can set the email information as environment variable on your machine. To do this, add the following line to~/.bashrc(or~/.bash_profiledepending on your OS).exportEMAIL_ADDRESS="example@domain.com"This step is optional since you can input the information during the function runtime.Example of usefromemail_function_loggerimportlog_function@log_functiondefmult(x,y):# Function text outputprint(x)print(y)# Value returned by functionreturnx*ymult(9,7)The log sent by email will look like this:Subject:
Function 'mult' execution log

Body:
Function mult(9, 7) finished its execution.

Start time: Mar 16 18:32:16
Function text output:
9
7
Function returned: 63
End time: Mar 16 18:32:16

Total execution time: 00:00:00How it worksThe decorator receives the function information and send a request to a Flask API hosted on Heroku (availablehere). This API then sends the email to the address specified in theEMAIL_ADDRESSvariable.Supported versionsPython 3.2 and aboveAuthorArthur CerveiraLicenseMIT LicenseLinksPyPI:https://pypi.org/project/email-function-logger/GitHub:https://github.com/arthurcerveira/Email-Function-Logger
Package: emailgenerator
emailgeneratorThis will generate a text file of emails based on the most popular first names and surnames in the US as well as include numbers such as birth/graduation year from 1950-2050 as well as include numbers in a 0-100 format.You can supply your own domains, but gmail, hotmail, and outlook will be used if none are suppliedInstallationClone from GithubDownload from PyPiUsage
Package: email-helper
email_helperonly support python3默认服务器为163免费邮箱服务器，也可以自己配置安装$ pip install email-helper发送邮件fromemail_helper.email_senderimportEmailSender# 实例化email=EmailSender(from_addr="xxx@163.com",password="xxx")# 设置标题email.set_header("这是邮件标题")# 添加正文email.add_text("这是邮件的文本")# 添加收件人email.add_receiver("ooo@163.com")# 发送email.send()接收邮件fromemail_helper.email_receiverimportEmailReceiver# 实例化client=EmailReceiver(email="xxx@163.com",password="xxx")# 接收最后一封邮件email=client.get_last_email()# 打印邮件信息fork,vinemail.items():print(k,v)"""
From  <xxx@163.com>
To  <ooo@163.com>
Subject 这是邮件标题
text ['这是邮件的文本']
attachment []
"""
Package: emailhub
Django EmailHubis an
application that bring advanced email functionnalities to Django such as
templates, draft state, batch sending and archiving.Supported Python/Django versionsdjango:1.8, 1.9, 1.10, 1.11, 2.0, 2.1, 2.2, 3.0python:2.7, 3.4, 3.5, 3.6, 3.7Note: Work in progress, expect backward incompatible changes.LinksEmailHub Documentation
Package: email_hunter_python
InstallationRequirements:Python 3 (because it’s 2015)To install:pip install email-hunter-pythonTo update:pip install --upgrade email-hunter-pythonUsageemail_hunter_python supports the three main methods of theEmail
HunterAPI:search,generate, andexist. There are two ways to use
email_hunter_python:As a Python libraryAs a command line (CLI) tool.To use the email_hunter_python Python library:Import the client and instantiate it:fromemail_hunterimportEmailHunterClientclient = EmailHunterClient('my_api_key')You can search:client.search('google.com')A max of 100 results are returned, so use offset to paginate:client.search('google.com',offset=1)You can also change type (personal or generic):client.search('google.com',type='personal')You can generate:client.generate('google.com','Sergey','Brin')And you can check if an email exists:client.exist('sergey@google.com')To use email_hunter_python as a CLI tool:email_hunter [command name] [api_key] [other args]The command name issearch,generateorexist, the api_key
is the API key associated with your Email Hunter accountThe other arguments depend on the command you are using:--domain       Required for search and generate commands
--offset       Optional, used with search command.
--type         Optional, used with search command
--first_name   Required for generate command
--last_name    Required for generate command
--email        Required for exist command
--file         Path to a CSV to be used with the specified command.
               CSV must have a column for each argument used.The file argument is useful when you want to make several requests of
the same type. For example if you wanted to find the email addresses for
several people at an organization you would do the following:email_hunter generate [api_key] --file people.csv > emails.csvWherepeople.csvlooks like:domain,first_name,last_name
google.com,larry,page
google.com,sergey,brin
facebook.com,mark,zuckerbergThe output will also be in a CSV format.LicenseCopyright © 2015 Alan VezinaReleased under The MIT License (MIT), see the LICENSE file for details
Package: email-in-validate
Email Input ValidatorThis is a command-line interface (CLI) tool that validates email addresses. It checks if an email address matches the regular expression for a valid email address and then prints a message indicating whether the email address is valid or not.InstallationYou can install this tool from PyPI:pipinstallemail_in_validateUsageCLI UsageYou can use this tool in your terminal like this:email_in_validatevalidatetest@example.comReplacetest@example.comwith the email address you want to validate.Usage in Login ApplicationsYou can also use this tool in your login applications to validate user email addresses during authentication. Here's a basic example of how you can do this in a Python-based web application:fromemail_in_validateimportvalidatedeflogin(email,password):ifnotvalidate(email):return'Invalid email address'# Continue with your authentication logic...ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: email-in-validator
Email Input ValidatorThis is a command-line interface (CLI) tool that validates email addresses. It checks if an email address matches the regular expression for a valid email address and then prints a message indicating whether the email address is valid or not.InstallationYou can install this tool from PyPI:pipinstallemail_validatorReplacemytoolwith the name of your package.UsageYou can use this tool in your terminal like this:email_validatorvalidatetest@example.comReplacetest@example.comwith the email address you want to validate.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT