开发者

Sending Fax with python?

开发者 https://www.devze.com 2023-01-06 12:49 出处:网络
Ok, we aren\'t in the mid-1开发者_开发百科980s any more, but anyway. Are there any fax libraries for python?I have no experience with it, but I guess you\'re looking for something like hylafax, right?

Ok, we aren't in the mid-1开发者_开发百科980s any more, but anyway. Are there any fax libraries for python?


I have no experience with it, but I guess you're looking for something like hylafax, right? A post here purports to show how to use it from Python (haven't tried myself).


Country would be in Eurozone. No other constraints.

There are companies which offer email-to-fax and fax-to-email conversion (so you can send/receive faxes by sending and receiving emails).


Check out the link for a number of code samples demonstrating how to fax with Python using a commercial internet fax service.

As an example, the simplest one requires just this:

from interfax import client

print 'Testing SendCharFax...'
c = client.InterFaxClient('USERNAME','PASSWORD')
result = c.sendCharFax('+12125554874', 'This is a test')
print '   Char Fax was sent with result code: %d' % result


dynaptico-pamfax is an open source Python module to send faxes using PamFax:

https://github.com/dynaptico/pamfaxp

The module is licensed under a MIT license. It can be installed with pip:

pip install dynaptico-pamfax

Additional information is available from:

http://www.pamfax.biz/en/developers/introduction/


You can also use phaxio for this purpose

details can be found at

http://www.phaxio.com/

https://github.com/setaris/pyphaxio


The one I found by google for sending faxes is python-faxage. This can found at: Internet client for sending and receiving faxes.

EDIT

above mentioned link is now dead, you can see the following package instead: http://www.phaxio.com/

0

精彩评论

暂无评论...
验证码 换一张
取 消