Saravanan666/pypi-org huggingface dataset:
Package: mail-relay
Development guideInstallCurrently py27 is the only supported python version. It is recommended that you install this tool within a fresh virtual environment. More info onhttps://virtualenv.pypa.io/en/stable/userguide/.>cd${repo_root}>${envpip}install-rrequirements.txt-rrequirements_${darwin/linux}.txt
>${envpip}install.Package depends onlibsodium. Make sure to install:>brewinstalllibsodium# macos>apt-getinstalllibsodium-dev# linuxTestingWe usetoxas the project's test runner. Make sure you havetox >= 3.5.3installed in your python environment.Run all tests>cd${repo_core}>toxUnit tests>tox-eunit-${darwin/linux}Integration tests>tox-eintegration-${darwin/linux}LintingWe useflake8as project's linter. Enforcement via:>tox-eflake8Some helper CLIs through makeThere are some handy make commands that you can use. Check out usage:>cd${repo-root}>make
USAGE:
>make[build:buildpythonpackageunit-test:rununittestswithtoxintegration-test:runintegrationtestswithtoxtest:runalltestslint:runflake8linterwithtoxdocker-build:buildpythonpackageinalinuxcontainerdocker-unit-test:rununittestswithtoxinalinuxcontainerdocker-integration-test:runintegrationtestswithtoxinalinuxcontainerdocker-test:runalltestsinalinuxcontainerdocker-build-runtime:builddockerimage`relay:${VERSION}`thathasinstalledmail-relaypacakgepulledfrompypishell:getinteractiveshelltobuilder/testercontainerclean:...publish-pypi:publishpackageonpypipublish-docker-hub:publishimageondockerhubrelease:managereleaseongithub,publishonpypiaswellasdockerhub]
Package: mailreplay
Re-send captured emails using SMTPThis tool, ‘mailreplay’, is intended to help in testing email pipelines by
reading captured emails from files, figuring out the sender and recipient, and
re-injecting them to localhost:25 using SMTP. (If the captured emails have a
final recipient on a different system than localhost, you need to make sure
that the MTA is blocked from sending the emails out into the world during
testing.)An initial envelope From line is used as the sender, if available. Otherwise,
the email header From: field is used. The email header Received: fields are
used to figure out the envelope recipient.Many other tools exist that will read an an email from file and send it using
SMTP, but they all seem to have in common that they need to be given the
recipient address on the command line, and by default will use the logged-in
user as the sender address. For email pipline testing purposes, when a varied
set of senders and recipients are desired, this doesn’t scale easily, hence
this tool.ChangelogVersion 0.2.0 (06 Mar 2019)There’s now enough usage experience to bump this to BetaAdded a manpage file.Improved handling of the case when there’s no Received headers in the
replay message.
Package: mailreport
mailreportPython package forSending autmoated mails in CSV/XLSX/TXT/HTML/EMAIL-BODY/HYPERLINKS formats.mailreportis a data module which is used for sending simple automated reports via mail.Installationmailreportrequires below packagesdependencies:pandas, psycopg2, smtplib, email.mime.text, email.mime.multipartInstallation CommandsTo install the latest Pypi version, you’ll need to execute:pipinstallmailreportorpython3-mpipinstallmailreportIf instead you want to install the latest github master version:gitclonehttps://github.com/nit567esh/mailreport.gitcd<pkg_directory>python3setup.pyinstallUsagesFunctions:Two functions can be used in this module- makeoutput: A user can pass different output format and report will be prepared as per provided format. Available formats are CSV/TXT/XLSX/HTML/HTML-TEXT/HYPERLINK.- sendmail: A user can send mail to target receptionist using this module by attaching files/HTML text/Hyperlinks/Normal text ext.1. Send CSV(s)/TXT(s) Report>>>importmailreportasmr
>>>df_list=list(dataframe1,dataframe2)>>>mr.makeoutput(format_type='csv',df_list=[df_list[0],df_list[1]],file_list=['name1.csv','name2.csv'])>>>sendmail(mailserver='gmail',email='xxxxx@gmail.com',password='XXXX23CCVVXX',to=['xxxxxx@gmail.com'],cc=None,bcc=None,subject='Updated Report XXXXX',message=None,messageHTML="<html><html><body><p><b>Hi All,</b><br><br>Below is the attached updated report.<br><br><b>Regards,</b><b><br>Team Name</b></p></body></html>",files=['name1.csv','name2.csv'])2. Send EXCEL(.XLSX) Report>>>importmailreportasmr
>>>df_list=list(dataframe1,dataframe2)>>>mr.makeoutput(format_type='xlsx',df_list=[df_list[0],df_list[1]],workbook_name='name.xlsx',sheet_list=['XXXX','YYYY'])>>>sendmail(mailserver='gmail',email='xxxx@gmail.com',password='XXXX23CCVVXX',to=['xxxxx@gmail.com'],cc=None,bcc=None,subject='Updated Report XXXXX',message=None,messageHTML="<html><html><body><p><b>Hi All,</b><br><br>Below is the attached updated report.<br><br><b>Regards,</b><b><br>Team Name</b></p></body></html>",files=['name.xlsx'])2. Send More advance report i.e one import dataframe to email body(html text) & other as csv attachment>>>importmailreportasmr
>>>df_list=list(dataframe1,dataframe2))>>>mr.makeoutput(format_type='csv',df_list=[df_list[0]],file_list=['name1.csv'])>>>df_as_html=mr.makeoutput(format_type='html_text',df_list=[df_list[1]])>>>sendmail(mailserver='gmail',email='xxxxxx@gmail.com',password='XXXX23CCVVXX',to=['xxxxxxx@gmail.com'],cc=None,bcc=None,subject='Updated Report XXXXX',message=None,messageHTML=str("<html><html><body><p><b>Hi All,</b><br><br>Below is the attached updated report.<br>")+str(df_as_html)+str("<br><b>Regards,</b><b><br>Team Name</b></p></body></html>"),files=['name1.xlsx'])Note-We can only use csv/html_text/htmlfile/xlsx as format_type.
Package: mailround
MailRoundSimple tool to check the sending and receiving of e-mails.You can use this tool to Check functionality of Mailservers (in and outgoing)
If an error occurs during a connection check, the tool will inform you with the help of a webhook.You can define Multiple Connections and which server send or recive the E-Mail.
You can excatly define which server Send the test email and which should be receivedIts also possible to use this tool on production Mailboxes. (The test E-mails are Automaticly deleted)Use the docker-compose file to test this Application fast.version:"3.2"services:mailround:image:eieste/mailround:developenvironment:MAILROUND_IN_IMAP_vps1_HOST:"examplemailserver.com"MAILROUND_IN_IMAP_vps1_PORT:143MAILROUND_IN_IMAP_vps1_USE_SSL:trueMAILROUND_IN_IMAP_vps1_USERNAME:"accuontusername"MAILROUND_IN_IMAP_vps1_PASSWORD:"randompassword"MAILROUND_IN_IMAP_vps1_EMAIL:"test@example.com"MAILROUND_OUT_SMTP_vps2_HOST:"examplemailserver.com"MAILROUND_OUT_SMTP_vps2_PORT:143MAILROUND_OUT_SMTP_vps2_USE_SSL:trueMAILROUND_OUT_SMTP_vps2_USERNAME:"accuontusername"MAILROUND_OUT_SMTP_vps2_PASSWORD:"randompassword"MAILROUND_OUT_SMTP_vps2_EMAIL:"test@example.com"MAILROUND_MAX_MAIL_RECEIVE_TIME:60MAILROUND_ROUND:vps2:vps1MAILROUND_WEBHOOK_URL:"<FAAS>or<ROCKETCHAT> URL"For more Assistance use myDocumentation
Package: mailru-im-bot
🐍 bot-pythonPure Python interface for Bot API.Table of contentsIntroductionGetting startedInstallingAPI descriptionIntroductionThis library provides complete Bot API 1.0 interface and compatible with Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10.Getting startedCreate your own bot by sending the /newbot command toMetabotand follow the instructions.Note: a bot can only reply after the user has added it to his contact list, or if the user was the first to start a dialogue.You can configure the domain that hosts your ICQ server. When instantiating the Bot class, add the address of your domain.Example: Bot(token=TOKEN, name=NAME, version=VERSION, api_url_base="https://api.icq.net/bot/v1"), by default we use the domain:https://api.icq.net/bot/v1If you are Myteam client, you can add flag "is_myteam=True", when instantiating the Bot class. This will let you use additional chat methods.Example: Bot(token=TOKEN, name=NAME, is_myteam=True), by default it is False.An example of how to use the framework can be seen in example/test_bot.pyInstallingInstall using pip:pipinstall--upgrademailru-im-botInstall from sources:gitclonehttps://github.com/mail-ru-im/bot-python.gitcdbot-python
pythonsetup.pyinstallAPI descriptionicq.com/botapi/agent.mail.ru/botapi/
Package: mailru-im-bot-dorokhin
🐍 bot-pythonPure Python interface for Bot API.Table of contentsIntroductionGetting startedInstallingAPI descriptionIntroductionThis library provides complete Bot API 1.0 interface and compatible with Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10.Getting startedCreate your own bot by sending the /newbot command toMetabotand follow the instructions.Note: a bot can only reply after the user has added it to his contact list, or if the user was the first to start a dialogue.You can configure the domain that hosts your ICQ server. When instantiating the Bot class, add the address of your domain.Example: Bot(token=TOKEN, name=NAME, version=VERSION, api_url_base="https://api.icq.net/bot/v1"), by default we use the domain:https://api.icq.net/bot/v1If you are Myteam client, you can add flag "is_myteam=True", when instantiating the Bot class. This will let you use additional chat methods.Example: Bot(token=TOKEN, name=NAME, is_myteam=True), by default it is False.An example of how to use the framework can be seen in example/test_bot.pyInstallingInstall using pip:pipinstall--upgrademailru-im-botInstall from sources:gitclonehttps://github.com/mail-ru-im/bot-python.gitcdbot-python
pythonsetup.pyinstallAPI descriptionicq.com/botapi/agent.mail.ru/botapi/
Package: mailru-im-bot-imato
🐍 bot-pythonPure Python interface for Bot API.Table of contentsIntroductionGetting startedInstallingAPI descriptionIntroductionThis library provides complete Bot API 1.0 interface and compatible with Python 2.7, 3.4, 3.5 and 3.6.Getting startedCreate your own bot by sending the /newbot command toMetabotand follow the instructions.Note: a bot can only reply after the user has added it to his contact list, or if the user was the first to start a dialogue.You can configure the domain that hosts your ICQ server. When instantiating the Bot class, add the address of your domain.Example: Bot(token=TOKEN, name=NAME, version=VERSION, api_url_base="https://api.icq.net/bot/v1"), by default we use the domain:https://api.icq.net/bot/v1If you are Myteam client, you can add flag "is_myteam=True", when instantiating the Bot class. This will let you use additional chat methods.Example: Bot(token=TOKEN, name=NAME, is_myteam=True), by default it is False.An example of how to use the framework can be seen in example/test_bot.pyInstallingInstall using pip:pipinstall--upgrademailru-im-bot-imatoInstall from sources:gitclonehttps://github.com/Imato/bot-python.gitcdbot-python
pythonsetup.pyinstallAPI descriptionicq.com/botapi/agent.mail.ru/botapi/
Package: mailru-im-bot-updated
🐍 bot-pythonPure Python interface for Bot API.Table of contentsIntroductionGetting startedInstallingAPI descriptionIntroductionThis library provides complete Bot API 1.0 interface and compatible with Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10.Getting startedCreate your own bot by sending the /newbot command toMetabotand follow the instructions.Note: a bot can only reply after the user has added it to his contact list, or if the user was the first to start a dialogue.You can configure the domain that hosts your ICQ server. When instantiating the Bot class, add the address of your domain.Example: Bot(token=TOKEN, name=NAME, version=VERSION, api_url_base="https://api.icq.net/bot/v1"), by default we use the domain:https://api.icq.net/bot/v1If you are Myteam client, you can add flag "is_myteam=True", when instantiating the Bot class. This will let you use additional chat methods.Example: Bot(token=TOKEN, name=NAME, is_myteam=True), by default it is False.An example of how to use the framework can be seen in example/test_bot.pyInstallingInstall using pip:pipinstall--upgrademailru-im-bot-updatedInstall from sources:gitclonehttps://github.com/Lunatik-cyber/bot-python-icq.gitcdicq_bot-python-icq
pythonsetup.pyinstallNew featuresAddedfile_nameargument tosend_filefunction. Now you can send files with custom names.Now you can receive sent data insend_text, send_file, send_voice, edit_text functions,
answer_callback_query.Example file_name argumentbot.send_file(chat_id=chat_id,file_name="test.txt",file=open("test.txt","rb"))Example sent datamsg=bot.send_text(chat_id=chat_id,text="test")bot.edit_text(chat_id=chat_id,message_id=msg["msgId"],text="test2")API descriptionicq.com/botapi/agent.mail.ru/botapi/
Package: mailru-im-command-bot
mailru_im_command_botmailru_im_command_bot is convenient library for generic myteam/icq bots.
In fact it is a wrapper for mailru-im-bot.It uses type annotations for help method and transforming arguments.It is fully tested and production-ready)Pypi linkUsageYou can create your bot with following code:importloggingfrommailru_im_command_botimportCommandBot,MessageEnvlogging.basicConfig(level=logging.INFO)bot=CommandBot(token='your_token',help_message='this is simple hello world bot')@bot.command('hello')defhello(env:MessageEnv,name='world')->str:returnf'hello{name}'bot.start()Bot will response you:you: /hello
bot: hello world

you: /hello danila
bot: hello danilaHelp message will be:this is simple hello world bot

list of commands:
/hello
  args:
    name: str = worldAdvanced UsageBot can automatically parse int, float, bool, any enum.Enum
and also any type that implements mailru_im_command_bot.CustomParam protocol:importenumimportloggingfromloggingimportgetLoggerfrommailru_im_command_botimportBadArg,CommandBot,MessageEnvlogging.basicConfig(level=logging.INFO)classEmail(str):@classmethoddefverbose_classname(cls)->str:returncls.__name__@classmethoddeffrom_arg(cls,arg:str)->'Email':if'@'notinarg:raiseBadArg(f'{arg}is invalid email')returncls(arg)defto_arg(self)->str:returnstr(self)classExampleEnum(enum.Enum):case_one=1case_two=2bot=CommandBot(token='tour_token',name='your_bot_name',version='1.0.0',logger=getLogger(__name__),alert_to=['your_id'],help_message='your bot description',)@bot.command('example_command')defexample_command(env:MessageEnv,int_arg:int,# requiredfloat_arg:float=1.0,# optionalstr_arg:str='test_str',# optionalenum_arg:ExampleEnum=ExampleEnum.case_one,# optionalbool_arg:bool=True,# optionalemail_arg:Email=Email('ddf1998@gmail.com'),# optional)->str:"""your function help message"""...return'response'bot.start()You can also wrap existing bot:frombotimportBotfrommailru_im_command_botimportCommandBotfromloggingimportgetLoggerbase_bot=Bot(token='your_token_here',name='your_bot_name',version='your_bot_version',)bot=CommandBot(from_bot=base_bot,logger=getLogger(__name__),alert_to=['danila.fomin@corp.mail.ru'],help_message='your bot description',)Bot accepts messages like this:/example_command 1
# you get int_arg = 1 and other arguments defaults

/example_command 1 0
# you get int_arg = 1, float_arg = 0.0 and other arguments defaults

...etcIt also can accept key-value arguments:/example_command int_arg=1
/example_command 1 enum_arg=case_two
/example_command int_arg=1 enum_arg=case_twoYour help message will be like this:your bot description

list of commands:
/example_command
  your function help message
  args:
    int_arg: int
    float_arg: float = 1.0
    str_arg: str = test_str
    enum_arg: case_one|case_two = case_one
    bool_arg: True|False = True
    email_arg: Email = ddf1998@gmail.comBot automatically writes access log with provided logger.[ACCESS] [user_id]@[chat_id] /example_command elapsed=0.100sIf an exception occurred bot will write the error into log, send'some exception occurred'to user and report error to users inalert_tolist.
Package: mailsanity
===========Mail Sanity===========Mail Sanity provides modules for reformatting incoming mail.  Youmight find it most useful coupled with rss2email, as many RSS feedsprovide much less information, than actually should be emailed, andMail Sanity fetch missing for you. Also, it makes best efford toensure nettiqette compliance of incoming email. For more details takea look at futher sections. Typical usage often looks like followingrule in ``procmail``:::0:| ~/.local/bin/mailsanity=============Modules overview=============Module ``zovem``=============Module ``zovem`` exports function ``reformat``, that, given an emailmessage object, generated with ``rss2email`` and having header``X-RSS-URL: http://www.zovem.ru/?event=12354``, fetch informationabout event from http://zovem.ru and set body of given email. Also,it prints a ``remind`` -- compatible reminder in body of email.=============Getting involved=============You are welcome to offer modules for another rss feeds.  Please, add afew words about it into this README in your patch.
Package: mailsave
Mail SaveSave emails to a file. It can be used as a replacement for sendmail or a SMTP server.You can install it withpip install mailsaveorpip install--usermailsaveYou can also use the singlefile version. Since mailsave only needs the standard library, you don’t have anything to install.It is different from other tools likemaildumpbecause:It is very minimalist: no Web or GUI interface, just files.It can be used instead of sendmail.To use in place of sendmail, just put the path to themailsaveexecutable instead of the sendmail one. For instance, in aphp.inifile:sendmail_path = /home/jenselme/.virtualenvs/test/bin/mailsave --dir mailsTo use as an SMTP server, launch it like this:mailsave --server --dir mailsThen you can send it emails with the SMTP protocol:swaks --to user@example.com --server localhost --port 2525 --add-header "X-Custom-Header: Swaks-Tested"To view the full help, use:mailsave --helpWritten for Python 3.5+.History0.8.1 (2017-09-05)Decode HTML payload when extracting HTML. If we don’t, the HTML message is not valid HTML and cannot be displayed by a web browser.0.8.0 (2017-09-01)Move project to gitlabAdd support for emails with payload encoded in base64Improve handling of email with special characters sent from stdinNormalize file names before saveCan use subject in file nameCan choose not to save the fileCan extract HTML from the mailAdd support for-toption. This is useful if the dots of the mail are escaped before being sent to the script, ie a dot (.) at the start of a line is replaced by two dots (..).0.5.0 (2017-07-26)Add an option to print the versionDon’t print traceback when quitting the “readline” version with CTRL-CCan use a template for the file0.4.0 (2017-07-10)Can choose the name of the file in which to save.0.3.0 (2017-07-06)Don’t fail if script receive undefined option. It is important to act as a
replacement for sendmail. Some program will try to call it with custom options.Include LICENSE and HISTORY.rst in release made to pypi.Add a single file version so users don’t have to install mailsave with pip.0.2.0 (2017-07-05)Can read mail from SMTP.0.1.0 (2017-07-05)Can act as a replacement of sendmail.
Package: mailsend
This is a fork ofRick Harris’s tinysmtp packagewith a few fixes and Python 3 compatibility.Example:with Mail().connect() as mail:
    msg = Message(
        'alice@example.com', 'Subject', ['bob@example.com'], body='body')
    mail.send(msg)Connections may be configured from a URL specified in an environment variable:export MAILSEND_URL="smtp+tls://user:password@server.example.org/"Or as individual variables:export MAILSEND_HOSTNAME=server.example.org
export MAILSEND_PORT=25Or in code:mail = Mail('smtp://server.example.org/')
mail2 = Mail('server.example.org',
             port=25,
             ssl=True,
             username='x',
             password='x')Callmail.sendto send a message:mail = Mail('smtp://server.example.org/')
mail.send(sender='alice@example.com',
          recipients=['bob@example.com', 'charlie@example.com'],
          body='Hello everyone!',
          html='<p>Hello everyone!</p>',
          subject='Hello')Or use the message class to construct messages piecemeal:msg = Message('alice@example.com', 'Hello!')
msg.body = 'Hello'
msg.recipients = ['bob@example.com']
msg.cc = ['charlie@example.org']
msg.bcc = ['dina@example.org']

mail = Mail('smtp://server.example.org/')
mail.send(msg)To send multiple messages in a single connection, useMail.connect:with mail.connect() as conn:
    conn.send(msg1)
    conn.send(msg2)1.1.1 (released 2020-06-19)Add support for url quoted usernames/passwords in SMTP urls1.1.0 (released 2020-06-18)Add support for sending through commandline MTAs (sendmail etc)1.0.3 (released 2019-12-02)Bugfix: no longer request the SMTPUTF8 extension for addresses that do not
appear in SMTP commands.1.0.2 (released 2019-11-28)Fixed broken 1.0.1 release1.0.1 (released 2019-11-28)Bugfix: Mail.send() now sets the envelope from/to addresses correctly from
message headers in the form “Name <address@example.com>”1.0.0 (released 2019-11-27)Dropped Python 2 supportFeature: Mail.send() now accepts optional keyword only argumentsenvelope_fromandenvelope_to.0.1.5 (released 2019-06-18)Bugfix: don’t add a duplicate Message-Id header if one is provided0.1.4 (released 2017-08-27)Bugfix: extra_headers option is now python 3 compatible0.1.3 (released 2017-04-19)Added ability to send stdlib email.message.Message objects via mailsend0.1.2 (released 2016-09-02)The mime structure of HTML emails is now compatible with Outlook 2011The SMTPUTF8 extension is requested when messages contain utf-8 addresses.
(feature is available in Python 3.5 only)0.1.1 (released 2015-12-21)Fixes for compatibility with envparse-0.20.1 (released 2015-12-19)Forked fromhttps://github.com/rconradharris/tinysmtpAdded configuration via URL (egConnection('smtp://user@example.org'))Various bug fixesAddedrewrite_toargument to Mail class constructor method. This causes
all messages to be rewritten to the given address(es), and is
expected to be used for development/testing.Addedbccargument to Mail class constructor method. This causes
all messages to be bcc’d to the given address(es).Addedsuppress_sendargument to the Mail class constructor. This
causes messages to not be sent (but may be still accessed viaMail.subscribe)
Package: mail-sender-1.0
Mail SenderClasse responsável pelo envio de e-mailsCrie um templateTemplate foo_bar.txt:Olá, ${NOME_PESSOA}!Tudo bem!Tchau.Crie uma classe para definir os atributos principaisclass Data(MailSender):
_HOST='0.0.0.0'
_PORT=00
_MAIL_USERNAME='user@teste.com.br'
_MAIL_PASSWORD='bar'
_FROM='rem@teste.com.br'
_TO='dest@teste.com.br'
_SUBJECT='Foo Bar'
_PATH_TEMPLATE=Path('foo_bar.txt')
_TYPE_MESSAGE = 'html'Chame o métodosend()para enviarExemplo de utilização:
Data().send('foo')
Package: mailSenderSU
Mail Sender Sorbonne-UniversitéMail Sender SUest une application de mail sender en Python pour les étudiants de Sorbonne-Université.
Une CLI (Command Line Interface) associée à une GUI (Graphical User Interface) permettent d'envoyer
des mails rapidement et facilement avec son adressesorbonne-universite.InstallationPour installer l'application, entrez la commande suivante :pip3installmailSenderSUUtilisationConsultez la documentation complèteici.La CLI deMail Sender SUdispose des commandes suivantes :Usage: mailSenderSU [OPTIONS] COMMAND [ARGS]...

Mail Sender Sorbonne-University.

Options:
-v, --verbosity  Set the verbosity
--help           Show this message and exit.

Commands:
addcontact   Add contact ADDRESS.
adduser      Add user ADDRESS.
clear        Clear all data files.
contacts     Edit contacts.
delcontacts  Delete contacts.
deluser      Delete user addresses.
gui          Graphical user interface.
send         Send mail.
signature    Edit signature.
user         Edit user.GUIPour utiliser la GUI, utilisez la commande :mailSenderSUguiCLILa CLI permet aussi d'envoyer un mail directement depuis le terminal avec la commande :mailSenderSUsendLiensGitHub :https://github.com/Quentin18/Mail-Sender-Sorbonne-Universite/PyPI :https://pypi.org/project/mailSenderSU/Documentation :https://mail-sender-sorbonne-universite.readthedocs.io/fr/latest/Travis :https://travis-ci.org/github/Quentin18/Mail-Sender-Sorbonne-Universite/AuteurQuentin Deschamps:quentin.deschamps@etu.sorbonne-universite.frLicenseMIT