Skip to main content

Python access to AlchemyAPI for unstructured text analysis and natural language processing.

Project description

This is a Python implementation of the AlchemyAPI SDK.


To install this module, copy the file into your desired Python import directory. Three AlchemyAPI Python modules are supplied: 1. Version for Python 2.4.x (requires lxml) 2. Version for Python 2.5.x+ (supports all later 2.x versions, including 2.7.x) 3. Version for Python 3.x.x


Several code examples are included to illustrate using the AlchemyAPI for named entity extraction, text classification, language identification, and other tasks.

All code samples are within the “example” directory.

To run these code samples you must first edit the (example/api_key.txt) file, adding your assigned Orchestr8 API key.

Code Samples:

  1. Entity Extraction: python
  2. Concept Tagging: python
  3. Keyword Extraction: python
  4. Text Categorization: python
  5. Language Identification: python
  6. HTML Text Extraction: python
  7. HTML Structured Content Scraping: python
  8. Microformats Extraction: python
  9. RSS / ATOM Feed Links Extraction: python
  1. Sentiment analysis example: python
  2. Relations extraction example: python
  3. Parameters Object example: python
  4. Author extraction example: python
  5. Targeted sentiment example: python


Python 2.4.x requires lxml:

lxml (available at: )


Copyright (C) 2009-2013 Orchestr8, LLC.

This library is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 2.5 or, at your option, any later version of Python 2.5 you may have available.

Project details

Release history Release notifications | RSS feed

This version


Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page