pepipost提供的官方python库,用于使用web api v2发送电子邮件

pepipost的Python项目详细描述


pepipostlogo

MIT licensedTwitter Follow

官方python库:snake:forPepipost

这个sdk包含一些方法,可以轻松地与pepipost电子邮件发送api交互,以便在几秒钟内发送电子邮件。

我们正在努力使我们的图书馆成为一个社区驱动的图书馆。为了帮助我们按照正确的顺序构建正确的东西,我们会请求您通过共享评论、创建新问题或请求来帮助我们。

我们欢迎对这个图书馆作出任何贡献。

此库提供的最新2.5.0版本与最新的PepiPost v2.0 API完全兼容。

有关此库的任何更新,请检查[发行版]

目录

Installation

There are two ways of installing the library for Pepipost either you can use

^{}

OR

^{}

Below are the steps inorder to install the library

Prerequisites

pip的安装可以从here完成。

我们建议使用pip依赖项管理器来安装sdk中的requirements.txt文件中提到的所有依赖项。

定义环境变量。

  • python和pip应该在您的路径中定义。

  • 使用检查

    pip --version-->;将显示安装的pip依赖项管理器的版本。

    python --version-->;将显示安装的python版本

    如果您使用的是python 2,则它应该是>;=2.7.1;否则,如果您使用的是python 3,则它可以是>;=3.4。

    image

  • 使用命令行导航到目录

    cd pepipost_python

Quickstart

  1. Using SDK from Github repository, Run the below command to download the requirements

    ^{}

    Building SDK - Step 1

    OR

    Using PIP dependency manager download our official library directly from PIP

    Run below Command inorder to download Pepipost library.

    ^{}

  2. Open Project in an IDE

    Open up a Python IDE like PyCharm. The basic workflow presented here is also applicable if you prefer using a different editor or IDE.

    Open project in PyCharm - Step 1

    Click on ^{} in PyCharm to browse to your generated SDK directory and then

    click ^{}

    Open project in PyCharm - Step 2

    The project files will be displayed in the side bar as follows:

    Open project in PyCharm - Step 3

  3. Add a new Test Project

    Create a new directory by right clicking on the solution name as shown below:

    Add a new project in PyCharm - Step 1

    Name the directory as "test"

    Add a new project in PyCharm - Step 2

    Add a python file to this project with the name "testsdk"

    Add a new project in PyCharm - Step 3

    Name it "testsdk"

    Add a new project in PyCharm - Step 4

  4. Importing files from python library

    Inorder to import file you need to just copy the sample file from here

    Add a new project in PyCharm - Step 4

  5. 更新API密钥并发送域

    • apikey:这将在以下项下可用:登录到您的pepipost帐户->;设置->;集成。

    • fromemail:如果你的fromemail地址是info@mydomain.com,那么发送域mydomain需要在你的pepipost帐户下验证并激活。您可以在以下位置管理发送域:登录pepipost->;设置->;发送域。

  6. 运行测试项目

    运行文件

    ctrl+F5

    右键单击测试项目中的python文件,然后单击Run

    Run Test Project - Step 1

Sample Example

^{pr 1}$

Announcements

v2.5.0 has been released! Please see the release notes了解详细信息。

此库的所有更新都记录在我们的releases中。如有任何疑问,欢迎致电dx@pepipost.com

Roadmap

If you are interested in the future direction of this project, please take a look at our open issuespull requests。我们很想听听你的反馈。

About

pepipost-php-sdk library is guided and supported by the Pepipost Developer Experience Team。 pepipost php sdk库由pepipost ltd.维护和资助。pepipost php sdk的名称和徽标是pepipost ltd.的商标。

许可证

这个代码库是由apimatic v2.0半自动生成的,并根据mit许可证(mit)进行授权。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java ImageIO。写入()低质量图像   使用安卓的设备屏幕大小的java拖放图像   java Adler32重复速度非常快   java在使用Burp Suite Community Edition时遇到此错误   java是否可以在交换机中使用已存在的字符串?   java:把反斜杠看作正常字符的方法   java如何创建Criteria Builder查询来连接三个具有一对一和多对一实体关系的表?   Java Spark:如何在数据集上进行flatMap,并为后续的groupBy提供新的模式?   JavaTestNG运行每个方法,并忽略TestNG中包含的方法。xml   无法使用Java运行linux命令   java我可以用什么来代替AudioPlayer。游戏者停止();?   关于如何使用pop3使用javamail从gmail帐户删除电子邮件的java查询   java Firebase Android数据库查询(读取数据)