Skip to main content

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.

Documentation is available on Read the Docs:

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 use pip:

$ pip install textteaser

or easy_install:

$ easy_install textteaser

Either method will install textteaser into your current environment.

Changelog

For a full history of changes see the commit history:

version 0.3

  • Added minimal logging support.

version 0.2

  • Able to summarize text at a given URL.

version 0.1.1

  • Removed caching ability to match API changes.

version 0.1

  • Able to summarize text with the TextTeaser API.

  • Able to retrieve passed summaries quickly through cached ID values.

Development

Development for textteaser takes place on bitbucket:

A mirror is available on GitHub if you prefer:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textteaser-0.3.tar.gz (37.8 kB view details)

Uploaded Source

File details

Details for the file textteaser-0.3.tar.gz.

File metadata

  • Download URL: textteaser-0.3.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for textteaser-0.3.tar.gz
Algorithm Hash digest
SHA256 299b488ebe801c97065904740f72a3bfd4f209d437e9ded90a996649746c1fba
MD5 6644dbf19334eba5576fb00186d0fbb8
BLAKE2b-256 92bd521e501dea308334c5c20fcc3d6bc1e82017ae035060abf6b4adab9049a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page