semvec/pypi-packages huggingface dataset:
WestFax 0.1.2
Python wrapper for the WestFax API
License: BSD

=======
WestFax
=======

A Python implementation of the WestFax API (http://westfax.com/)

Usage requires a WestFax account.

Usage
-----

.. code-block:: python

	wf = new westfax.WestFax( username, password, product )
	wf.add_number('555-555-5555')
	wf.set_header('This is a fax')
	wf.set_job_name('My fax job')
	wf.set_content("Yah! I'm a fax message!")

	try:
		wf.send()
	except westfax.FaxFail:
		print "Failed to send"


Methods
-------

`add_number( number )`
======================

Adds a number to the send the fax to. Mulitple numbers can be added.
``send()`` will raise ``westfax.NoRecipients`` if no valid numbers are found.

`set_billing_code( billing_code )`
==================================

Sets an optional billing code to track billing for the message in the WestFax dashboard

`set_job_name( name )`
======================

Sets an optional job name to identify the message in the WestFax dashboard

`set_header( header )`
======================

Sets the top header on the fax. (Sent with the fax. Often a company name or subject message)

`set_content( content )`
========================

Text or HTML content of the message. 
``send()`` will raise ``westfax.MissingFaxContent`` if no content was added to the message.

`send()`
========

Send the message to all recipients. If WestFax returns anything other than a 200 status then
``send()`` will raise ``westfax.FaxFail``

Exceptions
----------

All exceptions are raised on ``send()``

`NoRecipients`
==============

Raised when no numbers were added.

`MissingFaxContent`
===================

Raised when no content was added to the fax message

`FaxFail`
=========

Raised when the WestFax API returns anything other than a 200 status.
The error message is returned as the exception message.

TODO
----

* verify phone number validity on ``add_number()``
* Parse the error message from WestFax to raise more useful exceptions

AUTHOR
------

ConstituentVoice opensource@constituentvoice.com

COPYRIGHT
---------

Copyright (c) 2014 Constituent Voice LLC

This software is provided under the terms of the BSD License. 
It is free to redistribute and modify so long as this copyright notice is maintained.
The software is provided "AS-IS" with no warranty. See LICENSE.txt for details.

"WestFax" is a trademark of WestFax Inc. use of this software requires valid WestFax API
credentials and agreement with WestFax Inc.'s terms of service.

ConstituentVoice LLC is not affiliated or partnered with WestFax Inc.
huron 0.5.4
Tools for Django websites
License: BSD

HURON is a toolbox for the web framework Django. It provides a lot of
utilities to make quickly your websites.

Huron works with Django 1.5 and more.

You can find some helps at :

* http://huron.readthedocs.org/en/latest/
* https://bitbucket.org/tominardi/huron

If you find some bugs, you can report them at :

* https://bitbucket.org/tominardi/huron/issues

To contact the author, please send an email to :

* tominardi@gmail.com
taileff 0.2.1
tail -f for humans
License: BSD
Keywords: development logging

****************************************
taileff: tail -f for humans
****************************************

.. image:: taileff_showcase.gif

taileff makes it easier to read the output of tail -f, using features such as:

* syntax highlighting
* line numbering
* separating lines
* grouping separators
* indentation (only for SQL atm)


Installation
------------

.. code-block:: bash

    $ pip install taileff

Usage
-----

.. code-block:: bash

    $ tailf <file> [-s -i -n -l <language> -g <seconds>]
    $ tailf --help


Example
-------

.. code-block:: bash

    Separating lines, line numbering, SQL indentation, and SQL syntax highlighting
    $ tailf -sin --lang sql django_sql.log

Licence
-------

BSD
Flask-Elastic 0.2
Integrates official client for Elasticsearch into Flask
License: BSD

Flask-Elastic
=============

Integrates the official `Python low-level client for Elasticsearch <https://github.com/elasticsearch/elasticsearch-py>`_ into Flask.

Installation
------------

Flask-Elastic is pip installable:

	$ pip install Flask-Elastic

Configure
---------

The only configuration is ``ELASTICSEARCH_URL``, defaults to ``localhost:9200``. You can pass any kwargs to ``Elastic()`` for further configuration. The kwargs will be passed to ``Elasticsearch()``.

Usage
-----

Import the extension into your Flask project and initialize:

	from flask.ext.elastic import Elastic

	elastic = Elastic(app)

Development
-----------

Source code is hosted on `GitHub <https://github.com/bbmogool/flask-elastic>`_ (contributions are welcome).