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使用(BluetoothGattCharacteristic)特性中的数据创建、写入和保存csv文件。getValue()   java如何使用groupBy创建一个值为BigDecimal字段平均值的映射?   日期时间Java将iso_即时格式的字符串转换为日期   java如何检索和显示Android firebase的配置文件?   scala AWSJAVASDK:解压缩大小必须小于262144000字节   要应用于列表的java JSTL if条件   java在3个点之间画一个正方形   Kotlin java抽象类IllegaAccessError   java原语双值相等取决于大小?   java有没有一种方法可以对数据集使用compareTo()方法,而不必遍历数据集的每个元素?   java为什么我发送的每个UDP消息都会改变端口源?   重新选择文件时swing Java JTree冻结   java不知道我的游戏是怎么回事   Motif L&F中自定义组合框渲染器中的Java Swing消失文本   java Trade Me API访问前的OAuth