Skip to content

faqt.python package

timrdf edited this page May 19, 2012 · 15 revisions

What is first?

What we'll cover

To help others make FAqT Services, we made a python package that contains a class that you can extend. Using this class will give you some nice provenance "for free". The package can be installed using easy_install, to make it as easy as possible.

Installing faqt.python

To install the latest package:

sudo easy_install https://github.com/timrdf/DataFAQs/raw/master/packages/faqt.python/dist/faqt-0.0.1-py2.7.egg

To install the latest package from source, cd to faqt.python and run:

python setup.py bdist_egg
sudo easy_install dist/faqt-0.0.1-py2.7.egg

This will install at /Library/Python/2.7/site-packages/faqt-0.0.1-py2.7.egg (on the Mac)

We registered faqt.python at pypi

Registered on pypi at http://pypi.python.org/pypi/faqt (by running python setup.py register from faqt.python)

What is next

Clone this wiki locally