A package for summarizing text using the TextTeaser API
Project description
textteaser is a package for summarizing text using the TextTeaser API.
See:
for more information and to get an API key.
Development
All development for textteaser takes place on bitbucket:
To get started you can do the following:
$ hg clone https://bitbucket.org/jgoettsch/py-textteaser/ $ cd py-textteaser $ pip install -r requirements_dev.txt $ python setup.py develop
If you discover a bug, please create an issue ticket:
To run the test suite, you will have to create a module at:
textteaser/tests/apikey.py
with a global variable, APIKEY, which is a string containing your API key. Then you can run the test suite with nosetests:
$ nosetests --with-coverage --cover-package=textteaser textteaser/tests/tests.py
or through setup.py:
$ python setup.py test
Installation
If you have already downloaded textteaser, run the following command inside this directory:
$ python setup.py install
If you have not yet downloaded textteaser, it would be easier to do the following:
$ pip install textteaser
Either method will install textteaser into your current environment.
Changelog
For a full history of changes see the commit history:
version 0.1dev2
TextTeaser.summarize() now raises textteaser.exceptions.APIKeyError and textteaser.exceptions.ServerError when appropriate.
version 0.1dev1
Fixed broken install.
It’s now possible to run the unit tests through setup.py.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.