Skip to main content

A class to use The Best Spinner API

Project description

The Best Spinner is a windows desktop application for spinning text (synonym substitution) to create unique version(s) of existing text. This package provides a way to easily interact with The Best Spinner API (requires an account, get one from this site)

Installation

Install into your python path using pip or easy_install:

pip install tbs
easy_install tbs

Usage

>>> original_text = "This is the text we want to spin"
>>> import tbs
>>> tbs = tbs.Api('your_username', 'your_password')
>>> spin_text = tbs.identifySynonyms(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"
>>> tbs.randomSpin(spin_text)
u"This really is some text that we'd love to spin"

Docs

See tbs docs.

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

thebestspinner-0.1.3.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file thebestspinner-0.1.3.tar.gz.

File metadata

File hashes

Hashes for thebestspinner-0.1.3.tar.gz
Algorithm Hash digest
SHA256 91fd0dd307f7c009d8d9bd4d8fbb2e9a35460f973612b6037a549e5025a8266e
MD5 91222a48119427e0f47edb5bc94a721c
BLAKE2b-256 a18d4c79a69717884baf5a7c6404821e228ef2e0ee6950211cb2eb16b24f982e

See more details on using hashes here.

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