A class aid use of The Best Spinner API
Project description
The Best Spinner is a windows desktop application for text spinning (variable substitution). 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.1.tar.gz
(7.8 kB
view details)
File details
Details for the file thebestspinner-0.1.1.tar.gz
.
File metadata
- Download URL: thebestspinner-0.1.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fc96cb62fad5be4182d672fdd83558f0aabef931deb85a14f1cc85726c1ef3b |
|
MD5 | 3c7c2c2a2237c652b5c4dd69b7657c9c |
|
BLAKE2b-256 | 38660dc8ecf72200128f2db86e7228728917a7d854e1f31f0236c1cf2414f20f |