tbpaste
tbpaste is a command-line utility that runs sentiment analysis on the contents of your clipboard.
Usage
Copy some text to your clipboard.
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.
Features
Sentiment analysis
Noun phrase extraction
Translation
Part-of-speech tagging
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.
Requirements
Python >= 2.7 or >= 3.3
License
Metadata
Release files for tbpaste 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tbpaste-0.2.1.tar.gz | 3.9 kB | Without provenance | Details for tbpaste-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tbpaste-0.2.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for tbpaste-0.2.1-py2.py3-none-any.whl |
Total release size: 9.6 kB
Release files / tbpaste-0.2.1.tar.gz
| Download URL | tbpaste-0.2.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3f9a79dc6b4bd2b31121bc1856590dd2aa315e68d7697095f026db431e0efe3
|
|
BLAKE2b-256 checksum How to use checksums |
db57c9a59504a5e53e20f282a54ab49a0a9a4a4154148d3d8260b3276d398683
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tbpaste-0.2.1-py2.py3-none-any.whl
| Download URL | tbpaste-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1f3932edaa4ecdadcba3ec76b7c2c4fd4959789f2aa56dd4b909944d98a9805a
|
|
BLAKE2b-256 checksum How to use checksums |
f698d55e10de9a0de5886abc1f30acfaa89639c4872cb5ba6ea7fa06780c0dd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tbpaste 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.