Saravanan666/pypi-org huggingface dataset:
Package: mailto-uri
mailto-uriCreatesmailtoURIs. The main use case is to create mailto URIs for
support web pages. This makes it easy for users to request stuff by relying on
provided mail templates.usageinstallationusageCreate a mail template:echo'please increase my quota'>increase-quota.txtCreate mailto URI:$mailto-uri-s'increase quota'-rsupport@example.comincrease-quota.txtmailto:support@example.com?subject=increase%20quota&body=please%20increase%20my%20quota%0aThis URI can then be pasted into web pages.Plain HTML:<ahref="mailto:support@example.com?subject=increase%20quota&body=please%20increase%20my%20quota%0a">increase quota</a>Markdown:If you need more storage, ask us to [increase your quota](mailto:support@example.com?subject=increase%20quota&body=please%20increase%20my%20quota%0a).MediaWiki:If you need more storage, ask us to[mailto:support@example.com?subject=increase%20quota&body=please%20increase%20my%20quota%0aincrease your quota].Alternatively, you can provide the mail asMarkdownand usefront
matterfor recipient and subject:---
subject: increase quota
to: admin@example.com
cc:-support@example.com- someone@example.com---Dear Admin,

Please increase my quota!

Best RegardsUsingMarkdownis especially helpful if tools likeMarkdown Hereare
used.$mailto-uriincrease-quota.mdmailto:admin@example.com?subject=increase%20quota&cc=support@example.com,someone@example.com&body=Dear%20Admin%2C%0A%0APlease%20increase%20my%20quota%21%0A%0ABest%20RegardsYou can also use it in pipes:$generate-template|mailto-urimailto:...installationArch Linux:$pacaur-Smailto-uripip:$pipinstallmailto-uri
Package: mail-tracking-number-voice-recognition-post-processing
This package allows you to convert CTC-trained Neural Networks output into mail tracking number inInternational mailorRussian PostformatFormat example forInternational mail:RO260964943RUFormat example forRussian Post:1421171600738ClassTrackingNumberRecognizerhas methodconvert(matrix: np.array) -> list, which takes 2d matrix and returns list of possible tracking numbers in decreasing order of probabilityMatrix first dimension corresponds to the time moment. Second dimension corresponds to a letter, last index has to correspond toblank(see CTC).Russian letters supported only.Value is the probability of pronunciation letter at the moment.Format (International mailorRussian Post) is set inTrackingNumberRecognizerconstructor.You can also set the letters order, the probability of your model making mistake, and the prior probabilities for letters in case ofInternational mailformat
Package: mailtrail
MailTrailMailTrail is a Python package and Docker (compose) project that will, on a scheduled basis, retreive the most recent mail messages from Exchange or Office 365 and generate a JSON file that can optionally be sent to Azure Sentinel, Elasticsearch, and saved locally.Getting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.PrerequisitesWhat things you need to install the software and how to install themGive examplesInstallingA step by step series of examples that tell you how to get a development env runningSay what the step will beGive the exampleAnd repeatuntil finishedEnd with an example of getting some data out of the system or using it for a little demoRunning the testsExplain how to run the automated tests for this systemBreak down into end to end testsExplain what these tests test and whyGive an exampleAnd coding style testsExplain what these tests test and whyGive an exampleDeploymentAdd additional notes about how to deploy this on a live systemBuilt Withcarcass- Python packaging templateContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests to us.VersioningWe useSemVerfor versioning.AuthorsJosh Rickard -Initial work-MSAdministratorSee also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the MIT License - see theLICENSEfile for detailsAcknowledgmentsHat tip to anyone whose code was usedInspirationetc
Package: mailtransfer
# mailtransfer
Simple linux tool for transfer mails from one mailserver to another mailserver# Installation`bash $ git clonehttps://github.com/amakeenk/mailtransfer$ cd mailtransfer $ python3 setup.py install `# Usage`bash $ mkdir~/.mailtransfer$ cpmailtransfer-sample.cfg~/.mailtransfer/mailtransfer.cfg$ chmod 0600~/.mailtransfer/mailtransfer.cfg$ vim mailtransfer.cfg $ mailtransfer start `# Dependencies
- colorama
- configobj
- daemon
- emails
- imap_tools
Package: mailtrap-handler
python-mailtrap-handlerImplementation for MailTrap basic functionalities using Python.RequirementsAll you need is Python version 3.6 or aboveInstallationpip3installmailtrap-handlerUsageFordedicated documentation click herefrommailtrap_handlerimportMailTrapHandlermailtrap=MailTrapHandler(TOKEN,ACCOUNT_ID)# then do what you need with the mailtrap objectFunctionsGet mail id:# default value for title is Nonelist_of_ids=mailtrap.get_mail_id(inbox,email,title="Some Title here")# returns a list of found mails idsGet mail html content:# default value for title is None# default value for waiting_time is 0MailTrapHandler.get_mail(inbox,email,title,waiting_time=30)# returns mail html contentClean the inbox:MailTrapHandler.clean_inbox(inbox)Delete target mail:MailTrapHandler.delete_mail(inbox,email,title="Some Title here")# default value for title is NoneExample Codefrommailtrap_handlerimportMailTrapHandler# requirementstoken="123wellthiswouldbeyourtokenhere098"account_id=987654inbox=12349876# this is your mailtrap inbox idemail="target_email+probably_with_some_alias@inbox.mailtrap.io"title="Oy! Congrats on getting Your new T-shirt"# creating mailtraphandler objectmailtrap=MailTrapHandler(token,account_id)# getting the html contentmails=mailtrap.get_mail(inbox,email,title=title,10)# we do now whatever we need with the recieved mails# and now we delete this mailmailtrap.delete_mail(inbox,email,title=title)# you know what let's just delete every mail in the inboxmailtrap.clean_inbox(inbox)# I got no more mails!How to ContributeWe welcomeissuesto
andpull requestsagainst this repository!Commit Message ConventionThis repository followsConventional CommitsFormat<type>(optional scope): <description>Example:feat(pre-event): Add speakers section1. TypeAvailable types are:feat → Changes about addition or removal of a feature. Ex:feat: Add table on landing page,feat: Remove table from landing pagefix → Bug fixing, followed by the bug. Ex:fix: Illustration overflows in mobile viewdocs → Update documentation (README.md)style → Updating style, and not changing any logic in the code (reorder imports, fix whitespace, remove comments)chore → Installing new dependencies, or bumping depsrefactor → Changes in code, same output, but different approachci → Update github workflows, huskytest → Update testing suite, cypress filesrevert → when reverting commitsperf → Fixing something regarding performance (deriving state, using memo, callback)2. Optional ScopeLabels per page Ex:feat(pre-event): Add date labelIf there is no scope needed, you don't need to write it3. DescriptionDescription must fully explain what is being done.Add BREAKING CHANGE in the description if there is a significant change.If there are multiple changes, then commit one by oneAfter colon, there are a single space Ex:feat: Add somethingWhen usingfixtype, state the issue Ex:fix: File size limiter not workingUse imperative, dan present tense: "change" not "changed" or "changes"Use capitals in front of the sentenceDon't add full stop (.) at the end of the sentencePublish new releaseCommit according to semantic release spec above and let CircleCI (and semantic-release) do the magic.
Package: mailtrigger
Mail TriggerRequirementsPython (3.7+)pippython-devInstallationOn Ubuntu / Mint, installMail Triggerwith the following commands:aptupdate
aptinstallpython3-devpython3-pippython3-setuptools
pipinstallmailtriggerOn OS X, installMail TriggerviaHomebrew(or viaLinuxbrewon Linux):TBDOn Windows, installMail Triggerwith the following commands:pip install -U pywin32
pip install -U PyInstaller
pip install -Ur requirements.txt

pyinstaller --clean --name mailtrigger -F trigger.pyUpdatingpipinstallmailtrigger--upgradeRunningmailtrigger--auther-configauther.json--mailer-configmailer.json--scheduler-configscheduler.json--trigger-configtrigger.jsonSettingsMail Triggerparameters can be set in the directoryconfig.An example of configuration inauther.json:{
  "group": {
    "default": [
      "name@example.com"
    ],
    "ldap/name": "true"
  },
  "message": {
    "subject": "[trigger]"
  },
  "provider": {
    "ldap": {
      "base": "base",
      "host": "localhost",
      "pass": "pass",
      "port": 389,
      "user": "user"
    }
  }
}An example of configuration inmailer.json:{
  "pop3": {
    "host": "pop.example.com",
    "pass": "pass",
    "port": 995,
    "ssl": true,
    "timeout": 10,
    "user": "user"
  },
  "smtp": {
    "host": "smtp.example.com",
    "pass": "pass",
    "port": 465,
    "ssl": true,
    "timeout": 10,
    "user": "user"
  }
}An example of configuration inscheduler.json:{
  "interval": 30
}An example of configuration intrigger.json:{
  "gerrit": {
    "server": [
      {
        "host": "localhost",
        "pass": "pass",
        "port": 8080,
        "user": "user"
      }
    ]
  },
  "jenkins": {
    "server": [
      {
        "host": "localhost",
        "pass": "pass",
        "port": 8081,
        "user": "user"
      }
    ]
  },
  "printer": {
    "file": "output.xlsx",
  }
}UsageSubject[trigger]: Write your description hereNote:[trigger]is the reserved word in subjectRecipientThe recipient is mail receiver asMail Trigger.ContentGerrit Trigger@gerrit abandon <host> <changenumber>
@gerrit help
@gerrit list
@gerrit query <host> <changenumber>
@gerrit rebase <host> <changenumber>
@gerrit restart <host>
@gerrit restore <host> <changenumber>
@gerrit review <host> <changenumber>
@gerrit reviewer <host> <changenumber> [add|remove] <reviewer>
@gerrit start <host>
@gerrit stop <host>
@gerrit submit <host> <changenumber>
@gerrit version <host>Jenkins TriggerTBDTrigger Help@helpLicense ApacheProject License can be foundhere.
Package: mailupdater
MailUpdaterA Python module for easily sending mail updates to yourself.Quickstartimportmailupdaterusername=input("Email address: ")service=mailupdater.Service(username)withservice.create("Hello world")asemail:email.write("Python is great for sending emails.")# A new email will appear in your inbox.You can also attach files and send multiple emails:importmailupdaterusername=input("Email address: ")service=mailupdater.Service(username)withservice.create("Vacation pix")asemail:email.write("See attachments.")email.attach("file.txt")email.attach("image.png")email.write("These are my vacation pictures.")withservice.create("Reminder")asemail:email.write("Did you see the previous email I sent?")# Two new emails will appear in your inbox.Sending emails to multiple recipients is easy:importmailupdaterusername="jon@mail1.com"recipients=["mary@mail2.com","bob@mail3.com"]service=mailupdater.Service(username,recipients)withservice.create("Party invitation")asemail:email.write("Come to my party!")# All recipients, including yourself, will recieve the email.Installationpip3installmailupdaterTestingDo:importmailupdatermailupdater.test()Then follow the instructions of the program.If the program finishes successfully, then you should see two new emails in your inbox.
Package: mailupy
mailupy💌 Yet anotherMailUpPython clientContributingAny help is welcome, as long as you don't break the continuous integration.
Fork the repository and open a Pull Request directly on the master branch.
A maintainer will review and integrate your changes.Maintainers:Andrea StagiEdoardo GrassiContributors:Fabio PirasInstallpipinstallmailupyHow to useImport Mailupy and instantiate the clientfrommailupyimportMailupyclient=Mailupy('m00000','m@1lUPf4k3','8123dbff-d12c-4e3d-a55e-23a8c5a303f8','16cadddf-a145-45db-9347-a5ab51ac223d')ExamplesGetting information about fields, groups...forfieldinclient.get_fields():print(field)forgroupinclient.get_groups_from_list(1):print(group)Getting recipients from lists usingOrdering and Filtering (Mailup Documentation)forgroupinclient.get_groups_from_list(1,filter_by='Name.Contains(\'Farm\')',order_by=['Name asc','idGroup desc']):print(group)forrecipientinclient.get_subscribed_recipients_from_list(1,filter_by='Email.Contains(\'zzz\')',order_by=['Email desc']):print(recipient['Email'])Getting a subscribed recipient from a listclient.get_subscribed_recipient_from_list(1,'andrea.stagi@lotrek.it')Subscribe/Unsubscribe recipient to/from listsrecipient_id=client.subscribe_to_list(1,'Andrea Stagi','stagi.andrea@gmail.com',pending=False)client.unsubscribe_from_list(1,recipient_id)Run testspipinstall-rrequirements-dev.txt
maketest
Package: mailutility
StatusCompatibilitiesContactA package containing a tool to send mail and a tool to monitor a mailbox easily.
Supports remote directories with transparentpath.Installationpip install mailutilityMailSenderUtils to send mails, supports attaching files. Only compatible with an sending account that does not use a
double authentification method.UsagefrommailutilityimportMailSenderfromtransparentpathimportTransparentPathasTpsome_directory_path=Tp("gs://my_bucket/some_dir")# If the password is not provided, you will asked to provide it interactivelyms=MailSender(sender="chien@chat.com",passwd="thepasswd")ms.test_mail_server()ms.send_mail(adresses=["foo@bar.com","foo2@bar2.com"],subject=f"the mail subject",files=[some_directory_path/"some_file_name.pdf",some_directory_path/"some_other_file_name.csv"],)MailMonitorClass allowing to monitor a mailbox to save attachments to a
directory using conditions on sender and subjet.If two-factor auth is activated, you will need to
provide  an app password instead of your regular password. If you do not
have one or do not remember it, make a new one by following the
instructions here (only valid for office365 acconuts):https://docs.microsoft.com/fr-fr/azure/active-directory/user-help/multi-factor-authentication-end-user-app-passwordsThe relevant security page to set the app passwords :https://account.activedirectory.windowsazure.com/Proofup.aspxMailMonitor will use threading to allow for the monitoring of
different conditions and saving to different paths.For a basic usage (monitoring one set of conditions and saving to one
location) :UsagefrommailutilityimportMailMonitormail=MailMonitor("username")mail.monitor(conditions={"subject":"test","sender":"cottephi@gmail.com"},to_path="/home/username/Bureau",time_to_sleep=5)To monitor several sources and save to different paths, use :mail.monitor(conditions=[{"sender":"a@b.c","subject":"g"},{"sender":"d@e.f","subject":"h"}],to_path=["/home/username/Desktop","/home/username/Documents"],time_to_sleep=5,)You can decide to save to GCS by using TransparentPath:# noinspection PyShadowingNames, PyUnresolvedReferencesfromtransparentpathimportTransparentPathasPathfrommailutilityimportMailMonitorPath.set_global_fs("gcs",bucket="my_bucket",project="my_project")mail=MailMonitor("tomonitor@mailbox.com")mail.monitor(conditions={"subject":"test","sender":"chient@chat.com"},to_path=Path("attachment"),time_to_sleep=5)If conditions is an empty dict, will save attachments of all incoming
mails.Any email triggering the monitor will be marked as SEEN.Notes and warnings:Even though multiprocessing is used, any code written after the
call to mail.monitor will not be executed until the monitoring ends.The file saving system tends to see mail signature as attachments,
you will have to delete the files yourself, or ignore them in your
analysis.
Package: mailwand
MailWand有天被未來的同事(應該啦?)問了「怎麼發送嵌在email內的圖片啊? 不是附件喔!」2020/09/10 - send inline image email -> send embed image email2020/10/31 - send embed image email -> MailCrawler2020/11/01 - MailCrawler -> MailSender(MailSender被註冊了Orz...)2020/11/01 - MailSender -> MailWand名字好難想Rrrr...Packages install⚠️python version require >= 3.5⚠️pip install mailwand倘若安裝過程有問題請pip install -r requirements.txt，應該都能解決。使用方式 use要先去設定./config/base.py改設定喔！！！直接搬 main.py 來講解frommailwandimportMailWandif__name__=='__main__':# variable is 'Optional parameters'# ↓這裡用來取代html中 '{Sir}' 是要被取代成 'people_name'variable={'{Sir}':'people_name'}# ↓如果是這樣就是會找 ./config/base.py 中設定的檔案們MailWand_1=MailWand(variable)to_emails=['ooo@gmail.com','xxx@gm.lhu.edu.tw']# 要發送的對象們MailWand_1.send_to_mail(to_emails)# 群發(但彼此看不到)MailWand_1.close()# 關閉SMTP# variable is 'Optional parameters'# ↓這裡用來取代html中 '{Sir}' 是要被取代成 'people_name'variable2={'{Sir}':'people_name2'}# ↓也可以直接指定屬性，目前一共9個，可在 ./config/base.py 中找到MailWand_2=MailWand(variable2,header='這是第2種',# email標題images_path='./images2/',# 目前圖片只支援pnghtml_file='./template2.html'# html 檔案的位置)to_emails2=['ooo@gmail.com','xxx@gm.lhu.edu.tw']MailWand_2.send_to_multiple_recipients_mail(to_emails2)# 群發(收件人會看到彼此)MailWand_2.close()# 關閉SMTP截圖Application_password 獲取
Package: mailwatch
mailwatch---------A tool to show the subjects of new mails in your Maildir hierarchy.usage: mw.py [-h] [-c CONFIGFILE] [-d] [box [box ... ]]optional arguments:box ...		List of mailboxes to examine-h, --help            show this help message and exit-c CONFIGFILE, --configfile CONFIGFILEConfig file to read (default: $HOME/.mwrc)-d, --debug         Enable printing of debug info to stderr.Notes-----Mw does not care about the actual Read/Unread flags fo your messages, itonly cares if the mail is in the new/ subfolder of a box. This means thatit only shows mails that have not yet been moved to cur/. Some mail clientsmove *all* mails they encounter to cur/ and just ste the unseen flag forthem. Those mails will *not* be shown by mw.Mw tries hard to parse Subjects, but not everybody knows how MIME works.hence, mw sometimes displays "(none)" or may replace unprintable characterswith question marks (depending on your setting of "unprintables" in .mwrc).This is /not/ a shortcoming of mw, but of the senders mail infrastructure.That said, mw usually shouldn't throw error messages at you for this; ifit does, please contact the author.Author: Tobias Klausmann <klausman () schwarzvogel.de>License: GNU GPL-2
Package: mailwizz-python-sdk
Mailwizz Python SDKThis repository contains the Python SDK for MailWizz EMA.You'll find proper example on how to manage lists, subscribers, campaigns, templates and more.The documentation website athttps://api-docs.mailwizz.com/pythonshowcases all the API endpoints.You can find them in the examples folder as well.Other implementations:PHP:https://github.com/twisted1919/mailwizz-php-sdk.Node.js:https://www.npmjs.com/package/node-mailwizzInstallYou can either download latest version of the code or you can install it via pip as follows:pip install mailwizz-python-sdkThen follow the instructions fromexamples/setup_api.pyfile.Python packaging referencehttps://packaging.python.org/tutorials/packaging-projects/https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments
Package: mailworker
========MailWorker========:Info: Mail worker is a generic mail queue that sends messages that are picked from a HotQueue:Author: Ben Hughes (http://bitbucket.org/bwghughes)Contributing============The source is available on `BitBucket <http://bitbucket.org/bwghughes/mailworker>`_.To contribute to the project, fork it on Bitbucket and send a pull request, all contributions and suggestions are welcome.
Package: mailx
mailx介绍快捷使用mail模块软件架构软件架构说明安装教程pip安装pipinstallmailxpip安装（使用阿里云镜像加速）pipinstallmailx-ihttps://mirrors.aliyun.com/pypi/simple使用说明demoimportmailxres=mailx.send_text(sub='test sub',content='test content',to_addrs=['test@test.com'])常用设置mail.env：smtp_host={your smtp_host}
smtp_port={your smtp_port}
from_name={your from_name}
smtp_username={your smtp_username}
smtp_password={your_smtp_username}
to_addrs={your smtp_username, split by ","}SMTP服务端口号：25或80或465(SSL加密)
Package: mailz
mailzBasic mailing tool.InstallationWithpip:pipinstallmailzShell completion installationDepending on your shell:For Bash:_MAILZ_COMPLETE=source_bashmailz>deckz-complete.shFor Zsh:_MAILZ_COMPLETE=source_zshmailz>deckz-complete.shFor Fish:_MAILZ_COMPLETE=source_fishmailz>deckz-complete.shAnd then source/activate the resulting file in your shell config.Directory Structuremailzworks with assumptions on the directory structure of your mailing directory. Among those assumptions:your directory should be a git repositoryit should contain jinja2 mail templates in thetemplates/jinja2directoryit should contain YAML templates in thetemplates/ymldirectory, with specific names (listed below)auser-config.ymlfile should exist in the mailz config dir (depends on platform, on GNU/Linux it'll commonly be$HOME/.config/mailz), containing your sendgrid credentials and sending emailroot (git repository)
├── templates
│   ├── jinja2
│   │   ├── signup.txt
│   │   └── event.txt
│   └── yml
│       ├── mailing-config.yml
│       └── user-config.yml
└── mailing-signup-september.ymlUsageSee the--helpflag of themailzcommand line tool.
Package: main-entrypoint
main-entrypointA decorator to avoidif __name__ == "__main__":, instead usefrommain_entrypointimportentrypoint@entrypointdefmain():print("Hello World")$pythonmy_script.py
HelloWorld

$python-c"import my_script"# no outputInstallationpipinstallmain-entrypointDetailsSpecifying the@entrypointdecorator on a functionmy_funccan be considered equivalent to runningif__name__=="__main__":my_func()at the end of the same module.If the decorator is used multiple times in the same file, the functions are executed in the order they are defined.The defaultentrypointdecorator uses theatexitmodule. Simple usage of registered atexit functions still works as expected, but involved workflows (e.g. specific exception-flows) relying on atexit behaviour might:tm: break. In those cases, please consider to use one of the two other available modes,first_rerun_remainingandimmediate, e.g.frommain_entrypointimportentrypoint@entrypoint(mode="immediate")defmain():print("Hello World")immediatecalls the decorated function immediately, entities defined later in the module will not be available, so moving the function to the end of the module is encouraged.first_rerun_remainingwill effectively run everything after the decorated function twice, so the code should be free of side-effects and preferably only consist of definitions in this case. The default mode isat_exitand should be considered as a first choice.Future Worktestsautomating formatting, checking and releasesallow to pass arguments to the entrypoint functionLicenseMIT