Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install tbpaste

How to install tbpaste

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tbpaste
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.2.0 Available View build log
0.2.0 Available View build log
Lastest release
version 0.2.0 on Sep 20th, 2013

tbpaste is a command-line utility that runs sentiment analysis on the contents of your clipboard.


  1. Copy some text to your clipboard.
  2. Run tbpaste in your shell for the magic.

More magic

tbpaste sentiment
Run sentiment analysis. This is the default behavior (same as running tbpaste). The sentiment score is within the range [-1.0, 1.0]. The subjectivity score is within the range [0.0, 1.0].
tbpaste chunks
Extract noun phrases.
tbpaste --sentences=t
Process each sentence in the copied text. This is the default behavior. Set --sentences=f to suppress tokenization.
tbpaste lang
Detect language. Language code reference.
tbpaste lang --from en --to fr
Translate between languages. If --from is omitted, tbpaste will try to detect the source language. Language code reference.
tbpaste tag
Output part-of-speech tags for each word in the copied text.


  • Sentiment analysis
  • Noun phrase extraction
  • Translation
  • Colored output
  • Cross-platform

Get it now

$ pip install -U tbpaste
$ curl https://raw.github.com/sloria/TextBlob/master/download_corpora.py | python

You should now be able to run the tbpaste command.


  • Python >= 2.7 or >= 3.3


MIT Licensed.

Subscribe to package updates

Last updated Sep 20th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.