邮戳api的python库(http://developer.postmarkapp.com/)。
pystmark的Python项目详细描述
#Pystmark
[![PYPI版本](https://badge.fury.io/py/pystmark.png)(http://badge.fury.io/py/pystmark)
[![构建状态](https://travis ci.org/xsleonard/pystmark.png)(https://travis ci.org/xsleonard/pystmark)
[![覆盖状态](https://coveralls.io/repos/xsleonard/pystmark/badge.png)(https://coveralls.io/r/xsleonard/pystmark)
[邮戳api](http://developer.postmarkapp.com/)python 2.6,2.7的库,3.3和pypy。
构建在[请求](http://docs.python-requests.org/en/latest/)库之上。
【https://readthedocs.org/docs/docs/pystmark/en/latest/】(https://readthedocs.org/docs/pystmark/en/latest/)
例如用法
``python
``导入pystmark
api-key='我的api-api-key'
sender='me@exampl.com'
/>发一条短信
发一条短信
发一条短信
message=pystmark.message(sender=sender,sender,sender,sender,sender,sender,sender,sender to='you@example.com',subject='hi',
text='a message',tag='greeting')
pystmark.send(message,api_key=api_key)
对于收件人中的收件人,
response=pystmark.send_batch(邮件,api_key=api_key)
进行回购
2。进行更改并为其编写测试
3。将您自己添加到authors文件并提交一个pull请求
在发出pull请求之前,请使用`./setup.py test--with integration`,至少使用python2.7,
运行测试。运行测试的要求在“tests/requirements.txt”中。
其他版本将由[travis ci]处理(https://travis ci.org/)。
如果使用pypypy由于[此错误](https://bugs.pypypy.org/issue1207),则pep8测试可能会失败,
如果检测到pypy,则禁用测试。
有关详细信息,请参见许可证文件。
[![PYPI版本](https://badge.fury.io/py/pystmark.png)(http://badge.fury.io/py/pystmark)
[![构建状态](https://travis ci.org/xsleonard/pystmark.png)(https://travis ci.org/xsleonard/pystmark)
[![覆盖状态](https://coveralls.io/repos/xsleonard/pystmark/badge.png)(https://coveralls.io/r/xsleonard/pystmark)
[邮戳api](http://developer.postmarkapp.com/)python 2.6,2.7的库,3.3和pypy。
构建在[请求](http://docs.python-requests.org/en/latest/)库之上。
【https://readthedocs.org/docs/docs/pystmark/en/latest/】(https://readthedocs.org/docs/pystmark/en/latest/)
例如用法
``python
``导入pystmark
api-key='我的api-api-key'
sender='me@exampl.com'
/>发一条短信
发一条短信
发一条短信
message=pystmark.message(sender=sender,sender,sender,sender,sender,sender,sender,sender to='you@example.com',subject='hi',
text='a message',tag='greeting')
pystmark.send(message,api_key=api_key)
对于收件人中的收件人,
response=pystmark.send_batch(邮件,api_key=api_key)
进行回购
2。进行更改并为其编写测试
3。将您自己添加到authors文件并提交一个pull请求
在发出pull请求之前,请使用`./setup.py test--with integration`,至少使用python2.7,
运行测试。运行测试的要求在“tests/requirements.txt”中。
其他版本将由[travis ci]处理(https://travis ci.org/)。
如果使用pypypy由于[此错误](https://bugs.pypypy.org/issue1207),则pep8测试可能会失败,
如果检测到pypy,则禁用测试。
有关详细信息,请参见许可证文件。