The Best Spinner is an online service for spinning text (synonym substitution) that creates unique version(s) of existing text. This package provides a way to easily interact with The Best Spinner API.
Install from package to virtualenv
$ virtualenv --no-site-packages foo
$ cd foo
$ bin/pip install thebestspinner
Install within virtualenv
$ virtualenv --no-site-packages foo
$ cd foo
$ git clone git://github.com/niteoweb/thebestspinner.git
$ bin/pip install thebestspinner/
# running tests:
$ bin/pip install unittest2 mock
$ bin/test
Buildout
$ git clone git://github.com/niteoweb/thebestspinner.git
$ virtualenv --no-site-packages thebestspinner
$ cd thebestspinner
$ bin/python bootstrap.py
$ bin/buildout
# running tests:
$ bin/test
# check code for imperfections
$ source bin/activate
$ vvv src/tbs
Usage
>>> original_text = "This is the text we want to spin"
>>> import tbs
>>> thebestspinner = tbs.Api('your_username', 'your_password')
>>> spin_text = thebestspinner.identifySynonyms(original_text)
>>> print spin_text
u"{This is|This really is|That is|This can be} some text that we'd
{like to|prefer to|want to|love to} spin"
>>> thebestspinner.randomSpin(spin_text)
u"This really is some text that we'd love to spin"
Changelog
1.0.2 (2013-07-30)
return full error message on exception [Matej Cotman]
add some tests [Matej Cotman]
fix: object has no attribute ‘apiQuota’ [Matej Cotman]
add parts folder to git ignore [Matej Cotman]
1.0.1 (2012-12-05)
documentation fix [Matej Cotman]
1.0 (2012-11-06)
Code changed to use phpserialize from pypi instead of xml parser. [Matej Cotman]
Metadata
Release files for thebestspinner 1.0.2
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 |
|---|---|---|---|---|
| thebestspinner-1.0.2.zip | 25.3 kB | Without provenance | Details for thebestspinner-1.0.2.zip |
Release files / thebestspinner-1.0.2.zip
| Download URL | thebestspinner-1.0.2.zip |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7402577d9cb6c875f6ce35a31fed622efa7097edd1b7c4e63bee61a5af85b1b2
|
|
BLAKE2b-256 checksum How to use checksums |
5845b8fd8e1d58ff07e0f77e5e168bbc2156164c5351053ef4a62cab0f7be940
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for thebestspinner 1.0.2
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.