Skip to main content

Official Python SDK for TextRazor (

Project description

TextRazor Python SDK

Python SDK for the TextRazor Text Analytics API.

TextRazor offers state-of-the-art natural language processing tools through a simple API, allowing you to build semantic technology into your applications in minutes.

Hundreds of applications rely on TextRazor to understand unstructured text across a range of verticals, with use cases including social media monitoring, enterprise search, recommendation systems and ad targeting.

Getting Started

  • Get a free API key from

  • Install the TextRazor Python SDK

    pip install textrazor
  • Create an instance of the TextRazor object and start analyzing your text.

    from textrazor import TextRazor
    client = TextRazor(YOUR_API_KEY_HERE, extractors=["entities"])
    response = client.analyze("Barclays misled shareholders and the public about one of the biggest investments in the bank's history, a BBC Panorama investigation has found.")
    for entity in response.entities():

For full API documentation visit

If you have any questions please get in touch at

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

textrazor-1.4.1.tar.gz (17.0 kB view hashes)

Uploaded source

Built Distribution

textrazor-1.4.1-py3-none-any.whl (17.8 kB view hashes)

Uploaded py3

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