11

Ok, we aren't in the mid-1980s any more, but anyway. Are there any fax libraries for python?

miku
  • 181,842
  • 47
  • 306
  • 310

6 Answers6

5

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).

Alex Martelli
  • 854,459
  • 170
  • 1,222
  • 1,395
  • Thank you for the link – since I have no experience with fax+python, it provides me with some starting points. – miku Jul 10 '10 at 17:56
2

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).

ChrisW
  • 54,973
  • 13
  • 116
  • 224
2

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
Adam M
  • 136
  • 6
1

You can also use phaxio for this purpose

details can be found at

http://www.phaxio.com/

https://github.com/setaris/pyphaxio

Nauman Tariq
  • 1,350
  • 1
  • 14
  • 7
1

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/

Steffen Macke
  • 1,116
  • 10
  • 21
-1

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/

Waqas Javed
  • 743
  • 8
  • 18